// 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

#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\\MRTU_Master.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\\MRTU_Master.ico"


#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE 9, 1
#pragma code_page(1252)

/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_LM_MBMASTER_DIALOG DIALOG  0, 0, 400, 311
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_APPWINDOW | 0x80000000L
CAPTION "Modbus TCP/RTU Master"
FONT 8, "MS Sans Serif"
BEGIN
    CONTROL         "Modbus/RTU",IDC_MBRTURADIO,"Button",BS_AUTORADIOBUTTON,166,8,71,21
    CONTROL         "Modbus/TCP",IDC_MBTCPRADIO,"Button",BS_AUTORADIOBUTTON,15,8,71,21
    LTEXT           "IP address",IDC_STATIC,15,31,37,14
    LTEXT           "Port number",IDC_STATIC,14,55,53,14
    LTEXT           "Address from",IDC_STATIC,15,116,43,14
    EDITTEXT        IDC_IP,67,30,72,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_TCPTime,65,79,72,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_PORT,67,55,72,14,ES_AUTOHSCROLL
    LTEXT           "COM Port",IDC_STATIC,170,26,37,9
    LTEXT           "Baudrate",IDC_STATIC,223,27,37,9
    LTEXT           "Parity",IDC_STATIC,170,51,37,9
    LTEXT           "DataBits",IDC_STATIC,220,52,37,8
    LTEXT           "StopBits",IDC_STATIC,264,52,37,8
    LTEXT           "ms",IDC_STATIC,253,81,18,14
    LTEXT           "ms",IDC_STATIC,140,80,16,14
    EDITTEXT        IDC_COM,167,36,50,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_Baud,223,36,50,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_Parity,168,61,47,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_DataBit,221,60,37,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_StopBit,264,61,44,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_RTUTime,206,80,44,14,ES_AUTOHSCROLL
    GROUPBOX        "Create/Close Socket/COM Port(default ID:1)",IDC_STATIC,7,1,306,100
    PUSHBUTTON      "Create",IDC_BUTTON1,325,13,58,20
    PUSHBUTTON      "Close",IDC_BUTTON2,325,41,59,20
    PUSHBUTTON      "loop_ri0",IDC_BUTTON3,324,78,60,20
    LTEXT           "to",IDC_STATIC,103,115,11,14
    LTEXT           "Response",IDC_STATIC,157,114,37,14
    EDITTEXT        IDC_RCOILFROM,60,113,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_RCOILTO,115,113,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_RCOILR,195,112,114,14,ES_AUTOHSCROLL
    PUSHBUTTON      "Read Coils",IDC_BUTTON4,323,109,60,20
    GROUPBOX        "Read Coils",IDC_STATIC,7,104,306,29
    LTEXT           "Address from",IDC_STATIC,15,183,42,14
    LTEXT           "to",IDC_STATIC,101,183,10,14
    LTEXT           "Response",IDC_STATIC,157,180,37,14
    EDITTEXT        IDC_RREGSFROM,60,181,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_RREGSTO,114,180,41,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_RREGSR,195,180,113,14,ES_AUTOHSCROLL
    PUSHBUTTON      "Read Regs",IDC_RREGSB,322,174,60,20
    GROUPBOX        "Read Regs",IDC_STATIC,7,169,305,30
    LTEXT           "Address",IDC_STATIC,15,249,38,14
    LTEXT           "Status",IDC_STATIC,143,250,25,14
    EDITTEXT        IDC_WCOIL,69,247,50,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_WCOILS,171,247,50,14,ES_AUTOHSCROLL
    PUSHBUTTON      "Write Coil",IDC_WCOILB,328,241,54,20
    GROUPBOX        "Write Coil",IDC_STATIC,7,236,304,28
    LTEXT           "Address",IDC_STATIC,15,279,39,14
    LTEXT           "Value",IDC_STATIC,143,279,25,14
    EDITTEXT        IDC_WREG,69,276,50,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_WREGV,173,276,50,14,ES_AUTOHSCROLL
    PUSHBUTTON      "Write Reg",IDC_WREGB,330,273,54,20
    GROUPBOX        "Write Reg ",IDC_STATIC,7,265,303,30
    EDITTEXT        IDC_EDIT1,265,81,41,14,ES_AUTOHSCROLL
    LTEXT           "Address from",IDC_STATIC,15,150,43,14
    LTEXT           "to",IDC_STATIC,102,147,12,14
    LTEXT           "Response",IDC_STATIC,159,147,35,14
    EDITTEXT        IDC_RINPBITFROM,60,146,39,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_RINPBITTO,115,147,41,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_RINPBITR,195,146,113,14,ES_AUTOHSCROLL
    GROUPBOX        "Read Input Bits",IDC_STATIC,7,136,306,31
    PUSHBUTTON      "Read Input Bits",IDC_BUTTON5,323,142,60,23
    LTEXT           "Address from",IDC_STATIC,14,215,42,14
    LTEXT           "to",IDC_STATIC,101,214,10,14
    LTEXT           "Response",IDC_STATIC,155,213,37,14
    EDITTEXT        IDC_RINPREGSFROM,61,213,39,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_RINPREGSTO,111,212,43,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_RINPREGSR,192,214,118,14,ES_AUTOHSCROLL
    PUSHBUTTON      "Read Input Regs",IDC_RREGSB2,325,211,57,20
    GROUPBOX        "Read Input Regs",IDC_STATIC,7,203,304,30
    LTEXT           "Timeout",IDC_STATIC,16,78,30,14
    LTEXT           "Timeout",IDC_STATIC,181,90,30,14
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", "lm_MBMaster.exe"
            VALUE "LegalCopyright", "TODO: (c) <Company name>.  All rights reserved."
            VALUE "OriginalFilename", "lm_MBMaster.exe"
            VALUE "ProductName", "TODO: <Product name>"
			VALUE "ProductVersion",  "1.0.0.1"
		END
	END
	BLOCK "VarFileInfo"
	BEGIN
        VALUE "Translation", 0x409, 1252
    END
END

/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
    IDD_LM_MBMASTER_DIALOG, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 384
        TOPMARGIN, 7
        BOTTOMMARGIN, 304
    END
END
#endif    // APSTUDIO_INVOKED

#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\\MRTU_Master.rc2"  // non-Microsoft Visual C++ edited resources
#include "afxres.rc"  	// Standard components
#endif
/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED

