You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
285 lines
7.8 KiB
285 lines
7.8 KiB
// Microsoft Visual C++ generated resource script.
|
|
//
|
|
#include "resource.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
//
|
|
#ifndef APSTUDIO_INVOKED
|
|
#include "targetver.h"
|
|
#endif
|
|
#include "afxres.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#undef APSTUDIO_READONLY_SYMBOLS
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// Chinese (Taiwan) resources
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT)
|
|
#ifdef _WIN32
|
|
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
|
|
#pragma code_page(950)
|
|
#endif //_WIN32
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// TEXTINCLUDE
|
|
//
|
|
|
|
1 TEXTINCLUDE
|
|
BEGIN
|
|
"resource.h\0"
|
|
END
|
|
|
|
2 TEXTINCLUDE
|
|
BEGIN
|
|
"#ifndef APSTUDIO_INVOKED\r\n"
|
|
"#include ""targetver.h""\r\n"
|
|
"#endif\r\n"
|
|
"#include ""afxres.h""\r\n"
|
|
"\0"
|
|
END
|
|
|
|
3 TEXTINCLUDE
|
|
BEGIN
|
|
"#define _AFX_NO_SPLITTER_RESOURCES\r\n"
|
|
"#define _AFX_NO_OLE_RESOURCES\r\n"
|
|
"#define _AFX_NO_TRACKER_RESOURCES\r\n"
|
|
"#define _AFX_NO_PROPERTY_RESOURCES\r\n"
|
|
"\r\n"
|
|
"#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
|
|
"LANGUAGE 9, 1\r\n"
|
|
"#pragma code_page(1252)\r\n"
|
|
"#include ""res\\My7348int2.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
|
|
"#include ""afxres.rc"" // Standard components\r\n"
|
|
"#endif\r\n"
|
|
"\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Icon
|
|
//
|
|
|
|
// Icon with lowest ID value placed first to ensure application icon
|
|
// remains consistent on all systems.
|
|
IDR_MAINFRAME ICON "res\\7348int2.ico"
|
|
#endif // Chinese (Taiwan) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// English (U.S.) resources
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
|
#ifdef _WIN32
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|
#pragma code_page(1252)
|
|
#endif //_WIN32
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_DIALOG_SETUP DIALOGEX 0, 0, 188, 112
|
|
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION
|
|
CAPTION "Setup Dialog"
|
|
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
|
BEGIN
|
|
DEFPUSHBUTTON "OK",IDOK,48,84,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,105,84,50,14
|
|
LTEXT "Card Number : ",IDC_STATIC,19,19,53,14
|
|
LTEXT "Total Count : ",IDC_STATIC,19,39,53,14
|
|
LTEXT "Sampling Rate : ",IDC_STATIC,19,57,53,14
|
|
COMBOBOX IDC_COMBO_CARDNO,79,17,86,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
|
|
EDITTEXT IDC_EDIT_COUNT,79,36,85,14,ES_AUTOHSCROLL | ES_NUMBER
|
|
EDITTEXT IDC_EDIT_RATE,79,55,85,14,ES_AUTOHSCROLL | ES_NUMBER
|
|
END
|
|
|
|
IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62
|
|
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "About 7348int2"
|
|
FONT 8, "MS Shell Dlg", 0, 0, 0x1
|
|
BEGIN
|
|
ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20
|
|
LTEXT "7348int2, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX
|
|
LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8
|
|
DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP
|
|
END
|
|
|
|
IDD_MY7348INT2_DIALOG DIALOGEX 0, 0, 273, 193
|
|
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION
|
|
EXSTYLE WS_EX_APPWINDOW
|
|
CAPTION "7348 Dual Interrupt Sample"
|
|
FONT 8, "MS Shell Dlg", 0, 0, 0x1
|
|
BEGIN
|
|
PUSHBUTTON "Exit",IDCANCEL,163,7,50,14
|
|
PUSHBUTTON "Setup",IDC_BT_SETUP,7,7,53,14
|
|
PUSHBUTTON "Interrupt Trigger",IDC_BT_TRIGGER,61,7,102,14,WS_DISABLED
|
|
LTEXT "This sample demonstrates how to use dual-interrupt lines.",IDC_STATIC,7,23,190,13
|
|
LTEXT "The IRQ source of INT1 is P1C0.",IDC_STATIC,7,31,190,13
|
|
LTEXT "The IRQ source of INT2 is internal Timer-output.",IDC_STATIC,7,39,190,13
|
|
LTEXT "Using cable to connect CN1 and CN2\nClick 'Setup' button first ...",IDC_STATIC_04,7,50,125,22
|
|
LTEXT "Data from Input port: \n** only shows at most 50 data **",IDC_STATIC_07,7,97,113,19,NOT WS_VISIBLE
|
|
LTEXT "INT1 Count =",IDC_STATIC_05,7,72,85,13
|
|
LTEXT "INT2 Count =",IDC_STATIC_06,7,83,85,13
|
|
LTEXT "",IDC_STATIC_LINE1,7,116,247,11
|
|
LTEXT "",IDC_STATIC_LINE2,7,130,247,11
|
|
LTEXT "",IDC_STATIC_LINE3,7,143,247,11
|
|
LTEXT "",IDC_STATIC_LINE4,7,156,247,11
|
|
LTEXT "",IDC_STATIC_LINE5,7,170,247,11
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DESIGNINFO
|
|
//
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
GUIDELINES DESIGNINFO
|
|
BEGIN
|
|
IDD_DIALOG_SETUP, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 181
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 105
|
|
END
|
|
|
|
IDD_ABOUTBOX, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 163
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 55
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog Info
|
|
//
|
|
|
|
IDD_DIALOG_SETUP DLGINIT
|
|
BEGIN
|
|
IDC_COMBO_CARDNO, 0x403, 2, 0
|
|
0x0030,
|
|
IDC_COMBO_CARDNO, 0x403, 2, 0
|
|
0x0031,
|
|
IDC_COMBO_CARDNO, 0x403, 2, 0
|
|
0x0032,
|
|
IDC_COMBO_CARDNO, 0x403, 2, 0
|
|
0x0033,
|
|
IDC_COMBO_CARDNO, 0x403, 2, 0
|
|
0x0034,
|
|
IDC_COMBO_CARDNO, 0x403, 2, 0
|
|
0x0035,
|
|
IDC_COMBO_CARDNO, 0x403, 2, 0
|
|
0x0036,
|
|
IDC_COMBO_CARDNO, 0x403, 2, 0
|
|
0x0037,
|
|
IDC_COMBO_CARDNO, 0x403, 2, 0
|
|
0x0038,
|
|
IDC_COMBO_CARDNO, 0x403, 2, 0
|
|
0x0039,
|
|
IDC_COMBO_CARDNO, 0x403, 3, 0
|
|
0x3031, "\000"
|
|
IDC_COMBO_CARDNO, 0x403, 3, 0
|
|
0x3131, "\000"
|
|
IDC_COMBO_CARDNO, 0x403, 3, 0
|
|
0x3231, "\000"
|
|
IDC_COMBO_CARDNO, 0x403, 3, 0
|
|
0x3331, "\000"
|
|
IDC_COMBO_CARDNO, 0x403, 3, 0
|
|
0x3431, "\000"
|
|
IDC_COMBO_CARDNO, 0x403, 3, 0
|
|
0x3531, "\000"
|
|
0
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Version
|
|
//
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
FILEVERSION 1,0,0,1
|
|
PRODUCTVERSION 1,0,0,1
|
|
FILEFLAGSMASK 0x3fL
|
|
#ifdef _DEBUG
|
|
FILEFLAGS 0x1L
|
|
#else
|
|
FILEFLAGS 0x0L
|
|
#endif
|
|
FILEOS 0x4L
|
|
FILETYPE 0x1L
|
|
FILESUBTYPE 0x0L
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "040904e4"
|
|
BEGIN
|
|
VALUE "CompanyName", "TODO: <Company name>"
|
|
VALUE "FileDescription", "TODO: <File description>"
|
|
VALUE "FileVersion", "1.0.0.1"
|
|
VALUE "InternalName", "7348int2.exe"
|
|
VALUE "LegalCopyright", "TODO: (c) <Company name>. All rights reserved."
|
|
VALUE "OriginalFilename", "7348int2.exe"
|
|
VALUE "ProductName", "TODO: <Product name>"
|
|
VALUE "ProductVersion", "1.0.0.1"
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x409, 1252
|
|
END
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
IDS_ABOUTBOX "&About 7348int2..."
|
|
END
|
|
|
|
#endif // English (U.S.) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
#define _AFX_NO_SPLITTER_RESOURCES
|
|
#define _AFX_NO_OLE_RESOURCES
|
|
#define _AFX_NO_TRACKER_RESOURCES
|
|
#define _AFX_NO_PROPERTY_RESOURCES
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
|
LANGUAGE 9, 1
|
|
#pragma code_page(1252)
|
|
#include "res\My7348int2.rc2" // non-Microsoft Visual C++ edited resources
|
|
#include "afxres.rc" // Standard components
|
|
#endif
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|
|
|