⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mod_rssim.rc

📁 mod_RSsim
💻 RC
📖 第 1 页 / 共 3 页
字号:
// Toolbar
//

IDR_TOOLBAR1 TOOLBAR DISCARDABLE  16, 15
BEGIN
    BUTTON      IDC_SAVE
    BUTTON      IDC_LOAD
    BUTTON      IDC_ZEROES
    BUTTON      IDC_SETTINGS
    BUTTON      IDC_SIMULATE
    SEPARATOR
    BUTTON      IDS_ABOUTBOX
    BUTTON      IDC_OPEN
    BUTTON      IDB_ALPHABLEND
    BUTTON      IDB_ALPHABLEND60
    BUTTON      IDB_ALPHABLEND70
    BUTTON      IDC_NOISE
    BUTTON      IDC_NOISY
    BUTTON      IDC_EMULATION
    BUTTON      IDC_CLOSE
END


/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//

IDR_TOOLBAR1            BITMAP  DISCARDABLE     "res\\toolbar1.bmp"
IDB_SPLASH              BITMAP  DISCARDABLE     "res\\bitmap1.bmp"
IDB_CREDITBMP1          BITMAP  DISCARDABLE     "res\\creditbm.bmp"
IDB_CREDITBMP2          BITMAP  DISCARDABLE     "res\\bmp00001.bmp"
IDB_CREDITBMP3          BITMAP  DISCARDABLE     "res\\bmp00002.bmp"
IDB_CREDITBMP4          BITMAP  DISCARDABLE     "res\\bmp00003.bmp"
IDB_DRAGSE              BITMAP  DISCARDABLE     "res\\drag.bmp"
IDB_CREDITBMP5          BITMAP  DISCARDABLE     "res\\bmp00004.bmp"
IDB_MULTISLAVEMODE      BITMAP  DISCARDABLE     "res\\bmp00005.bmp"
IDB_SINGLESLAVEMODE     BITMAP  DISCARDABLE     "res\\multisla.bmp"

/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//

IDD_TI_SIM_DIALOG ACCELERATORS DISCARDABLE 
BEGIN
    "A",            IDH_SAVE,               VIRTKEY, CONTROL, NOINVERT
    "B",            IDH_ABOUT,              VIRTKEY, CONTROL, NOINVERT
    "C",            IDH_TOGGLEDISP,         VIRTKEY, CONTROL, NOINVERT
    "E",            IDH_ERASE,              VIRTKEY, CONTROL, NOINVERT
    "J",            IDH_INJECTERROR,        VIRTKEY, CONTROL, NOINVERT
    "L",            IDH_LOAD,               VIRTKEY, CONTROL, NOINVERT
    "M",            IDH_EMULATION,          VIRTKEY, CONTROL, NOINVERT
    "N",            IDH_NOISE,              VIRTKEY, CONTROL, NOINVERT
    "S",            IDH_SETTINGS,           VIRTKEY, CONTROL, NOINVERT
    "T",            IDH_TRANSPARENCY,       VIRTKEY, CONTROL, NOINVERT
    VK_F1,          IDH_HELPKEY,            VIRTKEY, NOINVERT
END


/////////////////////////////////////////////////////////////////////////////
//
// HELPFILES
//

IDR_HELPHTM             HELPFILES DISCARDABLE   "help\\index.htm"
IDR_HELPSHOT1           HELPFILES DISCARDABLE   "help\\images\\shot1.gif"
IDR_HELPSHOT2           HELPFILES DISCARDABLE   "help\\images\\shot2.gif"
IDR_HELPANIM            HELPFILES DISCARDABLE   "help\\images\\anim.gif"
IDR_HELPJUICE           HELPFILES DISCARDABLE   "help\\images\\juice.gif"
IDR_HELPPORTA           HELPFILES DISCARDABLE   "help\\images\\portA.gif"
IDR_JOYSHOT             HELPFILES DISCARDABLE   "help\\images\\joyshot.gif"
IDR_ADVMBUS             HELPFILES DISCARDABLE   "help\\images\\advmbus.gif"
IDR_TOOLBARSHOT         HELPFILES DISCARDABLE   "help\\images\\toolbar.gif"

/////////////////////////////////////////////////////////////////////////////
//
// Dialog Info
//

IDD_TI_SIM_DIALOG DLGINIT
BEGIN
    IDC_PROTOCOL, 0x403, 14, 0
0x4f4d, 0x4244, 0x5355, 0x5220, 0x2d53, 0x3332, 0x0032, 
    IDC_PROTOCOL, 0x403, 14, 0
0x4f4d, 0x4244, 0x5355, 0x5420, 0x5043, 0x492f, 0x0050, 
    IDC_PROTOCOL, 0x403, 18, 0
0x6c41, 0x656c, 0x206e, 0x7242, 0x6461, 0x656c, 0x2079, 0x4644, 0x0031, 

    IDC_PROTOCOL, 0x403, 12, 0
0x4f4a, 0x2059, 0x4353, 0x2043, 0x4644, 0x0031, 
    0
END

IDD_SERVERSETTINGS_232 DLGINIT
BEGIN
    IDC_CHECKTYPE, 0x403, 20, 0
0x7375, 0x6e69, 0x2067, 0x5243, 0x2043, 0x3228, 0x622d, 0x7479, 0x7365, 
0x0029, 
    IDC_CHECKTYPE, 0x403, 19, 0
0x7375, 0x6e69, 0x2067, 0x4342, 0x2043, 0x3128, 0x622d, 0x7479, 0x2965, 
"\000" 
    0
END


/////////////////////////////////////////////////////////////////////////////
//
// Cursor
//

IDC_MYHANDCURSOR        CURSOR  DISCARDABLE     "myhandcu.cur"

/////////////////////////////////////////////////////////////////////////////
//
// String Table
//

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_ABOUTBOX            "&About MOD_sim..."
    IDP_SOCKETS_INIT_FAILED "Windows sockets initialization failed."
    IDS_TITLE               "%s %s PLC - Simulator (%s)"
    IDS_ALPHA_60            "Alpha blend 60%"
    IDS_ALPHA_70            "Alpha blend 70%"
    IDS_ALPHA               "Solid window"
    IDS_SYNC_WRITTING       "Interlock error while saving register values to disk."
    IDS_SYNC_READING        "Interlock error while reading register values from disk."
    IDS_MNU_ONTOP           "Always on &Top"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDM_ONTOP               "Always on &Top"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDC_VIEWHEX             "Addresses in HEX format"
    IDC_VIEWDEC             "Addresses in decimal format"
    IDC_VALUE               "Value to increment by (negative values decrement)"
    IDC_NOANIMATE           "No values will (animate) change automatically."
    IDC_ANIMATEBYTES        "Increment the HI and LO bytes of each Register."
    IDC_ANIMATEWORDS        "Increment the Register value (digitals items toggle)"
    IDC_TRAINING            "Enable the Traning mode value simulation."
    IDC_ZEROES              "Zero all values"
    IDC_LOAD                "Load all register values"
    IDC_SAVE                "Save all register values"
    IDC_MENU                "Click for menu"
    IDC_STATION00           "Broadcast station"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDC_DATALIST            "double-click to edit/toggle a value"
    IDC_COMBOAREA           "Select I-O/Registers to be viewed."
    IDC_SETTINGS            "Set up the communication Serial or TCP/IP port."
    IDC_SIMULATE            "Simulation : Set up how values change, and the station lamps."
    IDC_RESPONSEDELAY       "Delay before the program responds to any MODBUS request."
    IDC_SERVERSTATS         "Simulation status."
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDC_STN_ENABLED         "Background color of an enabled station."
    IDC_STN_DISABLED        "Background color of a disabled station."
    IDC_STN_ACTIVE          "Outline color of a recently communicated station."
    IDC_STN_INACTIVE        "Outline color of an idle station."
    IDC_STN_TEXT            "Text color for an enabled station."
    IDC_DEMOCHECK           "Sample tick-mark showing colors selected."
    IDC_CLONE               "Data bytes are reversed for float type."
    IDC_DATAFORMAT          "Select format for the register contents."
    IDC_PROTOCOL            "Select protocol to use."
    IDC_ENABLE              "Enable faults to be simulated by this program."
    IDC_INSERTS             "Insert dummy characters into the responses."
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDOK                    "Accept settings and close this dialog"
    IDCANCEL                "Exit"
    IDS_PORTTOGGLE          "Port open/close"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDC_STATION01           "Station 1"
    IDC_STATION02           "Station 2"
    IDC_STATION03           "Station 3"
    IDC_STATION04           "Station 4"
    IDC_STATION05           "Station 5"
    IDC_STATION06           "Station 6"
    IDC_STATION07           "Station 7"
    IDC_STATION08           "Station 8"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDB_ALPHABLEND          "Flip 'Alpha Blend'"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDC_NOISE               "Noise settings..."
    IDS_ADROITWEBURL        "http://www.adroit.co.za/"
    IDC_EMULATION           "PLC : Emulation settings"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDC_WWWLINK             "Click here to visit Adroit Technologies web-site"
    IDC_EMAILLINK           "Click here to compose a mail to the author."
    IDC_MODICONLINK         "Click here to visit the modicon website."
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDC_PORT                "Communications port."
    IDC_BAUDRATE            "Baud rate"
    IDC_PARITY              "Parity (odd/even/none)"
    IDC_STOP_BITS           "number of stop bits"
    IDC_DATA_BITS           "Number of data bits"
    IDC_RTS_COMBO           "RTS line control (default=enabled)"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDC_DELETES             "Remove/strip characters from the response."
    IDC_CORRUPTS            "Corrupt a character in the response."
    IDC_MISFRAMES           "The sim. will modify the baud-rate on-the-fly to generate an error."
    IDC_IGNORES             "Randomly ignore (don't respond) to a request."
    IDC_DELAYS              "Enables random delays."
    IDC_FREQ                "Slide to far left= no errors"
    IDC_BEEP                "Make a beep sound every time an error is generated."
    IDC_REFRESHES           "After how many refreshed (500ms) to animate."
    IDC_STN_DISTEXT         "Text color of a disabled station."
    IDC_LAMPRX              "Recieved data lamp"
    IDC_LAMPTX              "Transmitted data lamp"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDC_ANIMATION_ON        "Time that a light will still stay on for after the station communicates."
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_EMULATION           "Adv. Emulation..."
    IDS_NOTSUPPORTEDETH     "This function is not supported in the Modbus Ethernet PLC simulation mode!"
    IDS_ABDF1SETUPTITLE     "RS-232 Allen-bradley DF1 PLC Sim-server Settings"
    IDS_JOYSETUPTITLE       "RS-232 AB-DF1 (Joy SCC) Sim-server Settings"
    IDS_CLOSE               "Close port"
    IDS_OPEN                "Open port"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDC_PLANTSIM            "Training - plant simulation (green=run)"
    IDC_LAMPCTS             "CTS modem control line <in>"
    IDC_LAMPDSR             "DSR modem control line <in>"
    IDC_LAMPRING            "Ring Indicator modem line <in>"
    IDC_COMMSLIST           "Communications display debugger."
    IDB_TOGGLEDISP          "Toggle display between comms/values mode."
    IDC_PAUSECOMMS          "Click to pause/unpause the communications debugger screen."
    IDC_TRACKCOMMS          "Click to stop/resume the comms screen scrolling."
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDC_VSCROLLSTATIONS     "Scroll thru available modbus stations broadcast and 1-255."
    IDC_CLEARCOMMS          "Clear the comms debugger screen"
    IDC_CHECK1              "Water tank valve position (control)"
    IDC_CHECK2              "Concentrate tank valve position (control)"
    IDC_CHECK3              "Main tank draining valve position (control)"
    IDC_CHECK4              "Heater switch (control)"
    IDC_CHECK5              "Reset parameters (control)"
    IDC_CHECK6              "N/A"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDC_STATUSLINE          "Training simulation mode and status is displayed here."
    IDC_TRAININGSIM         "Training simulation view"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDC_CHECK7              "Auto/man mode (control)"
    IDC_CHECK8              "Mixer start signal (control)"
    IDC_CHECK9              "Water tank valve position (feedback)"
    IDC_CHECK10             "Concentrate tank valve position (feedback)"
    IDC_CHECK11             "Main tank drain valve position (feedback)"
    IDC_CHECK12             "Heater (feedback)"
    IDC_CHECK13             "N/A"
    IDC_CHECK14             "Main tank low level sensor (alarm)"
    IDC_CHECK15             "Auto/man mode (feedback)"
    IDC_CHECK16             "Mixer running (feedback)"
    IDC_CBREGISTERNAMES     "Select a pre-defined register from this list"
    IDC_REGVALUE            "The current register value appears here"
    IDC_SET                 "Click to transfer the typed value into the register"
    IDC_REGVALUESET         "Type in a new register value here"
    IDC_SCRIPTNAME          "Training simulation script filename (blank to not run script)"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDC_SHOWCOMMSTIME       "Show times for comms events:"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDC_NEEDSSTATION        "Simulator must check the station ID, ID is ignored if this option is off."
    IDC_NUMSEPERATE         "'Num' - number of registers per station if I/O address > Num, a PLC exception code is returned."
    IDC_BMPMODE             "I/O req. for seperate stations use (station ID x Num) for actual address."
    IDS_SEPERATED           "I/O req. for seperate stations use (station ID x Num) for actual address."
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)
#ifdef _WIN32
LANGUAGE 9, 1
#pragma code_page(1252)
#endif //_WIN32
#include "res\MOD_RSsim.rc2"  // non-Microsoft Visual C++ edited resources
#include "afxres.rc"         // Standard components
#endif

/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -