-
Notifications
You must be signed in to change notification settings - Fork 0
/
myconfig.h
74 lines (64 loc) · 2.33 KB
/
myconfig.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#ifndef MYCONFIG_H
#define MYCONFIG_H
#include <QDebug>
#include <QMessageBox>
#include "lotools.h"
#define CFG_WND_MAXED "Window/Maxed"
#define CFG_WND_RECT "Window/Rect"
#define CFG_WND_LAN "Window/Language"
#define CFG_TX_ATTACH_CR "TX/Attach_CR"
#define CFG_TX_ATTACH_LF "TX/Attach_LF"
#define CFG_TX_ATTACH_ZR "TX/Attach_ZR"
#define CFG_TX_MODE "TX/Mode"
#define CFG_TX_SEND2ALL "TX/Send_to_All_Page"
#define CFG_TX_ENTER "TX/Enter"
#define CFG_TX_AUTCLEAR "TX/Aut_Clear"
#define CFG_TX_AUTSEND_VALUE "TX/Aut_Send_Value"
#define CFG_TX_AUTSEND_MODE "TX/Aut_Send_Mode"
#define CFG_TX_TXT_SEND "TX/Text_Send"
#define CFG_RX_SOCKET_PAGE "RX/Socket_Page"
#define CFG_UDP_LOCAL_IP "UDP/Local_IP"
#define CFG_UDP_LOCAL_PO "UDP/Local_Port"
#define CFG_UDP_TARGET_IP "UDP/Target_IP"
#define CFG_UDP_TARGET_PO "UDP/Target_Port"
#define CFG_UDP_AUT_CLEAR "UDP/Aut_Clear"
#define CFG_UDP_AUT_CLRVAL "UDP/Aut_Clear_Value"
#define CFG_UDP_HEX "UDP/Hex"
#define CFG_UDP_SAVE_LOG "UDP/Save_Log"
#define CFG_UDP_LOG_FILE "Log_UDP.txt"
#define CFG_TCP_LOCAL_IP "TCP/Local_IP"
#define CFG_TCP_LOCAL_PO "TCP/Local_Port"
#define CFG_TCP_TARGET_IP "TCP/Target_IP"
#define CFG_TCP_TARGET_PO "TCP/Target_Port"
#define CFG_TCP_AUT_CLEAR "TCP/Aut_Clear"
#define CFG_TCP_AUT_CLRVAL "TCP/Aut_Clear_Value"
#define CFG_TCP_HEX "TCP/Hex"
#define CFG_TCP_SAVE_LOG "TCP/Save_Log"
#define CFG_TCP_LOG_FILE "Log_TCPClient.txt"
#define CFG_TCPSRV_LOCAL_IP "TCPSRV/Local_IP"
#define CFG_TCPSRV_LOCAL_PO "TCPSRV/Local_Port"
#define CFG_TCPSRV_TARGET_IP "TCPSRV/Target_IP"
#define CFG_TCPSRV_TARGET_PO "TCPSRV/Target_Port"
#define CFG_TCPSRV_AUT_CLEAR "TCPSRV/Aut_Clear"
#define CFG_TCPSRV_AUT_CLRVAL "TCPSRV/Aut_Clear_Value"
#define CFG_TCPSRV_HEX "TCPSRV/Hex"
#define CFG_TCPSRV_SAVE_LOG "TCPSRV/Save_Log"
#define CFG_TCPSRV_RX_ALL "TCPSRV/Rx_All"
#define CFG_TCPSRV_TX_ALL "TCPSRV/Tx_All"
#define CFG_TCPSRV_MSGLAY "TCPSRV/MsgLayout"
#define CFG_TCPSRV_LOG_FILE "Log_TCPServer.txt"
typedef enum {
zhCN = 0,
enUS
} ENUM_CFG_WND_LAN;
typedef enum {
Text = 0,
Hex,
File
} ENUM_CFG_TX_MODE;
typedef enum {
MS = 0,
S,
Min
} ENUM_CFG_TX_AUTSEND_MODE;
#endif // MYCONFIG_H