Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import app
- app.ServerName = None
- STATE_NONE = '...'
- STATE_DICT = {
- 0 : '....',
- 1 : 'NORM',
- 2 : 'BUSY',
- 3 : 'FULL' }
- SERVER1_CHANNEL_DICT = {
- 1:{'key':11,'name':'CH1 ','ip':'11.111.11.111','tcp_port':23070,'udp_port':23070,'state':STATE_NONE,},
- 2:{'key':12,'name':'CH2 ','ip':'11.111.11.111','tcp_port':24070,'udp_port':24070,'state':STATE_NONE,},
- }
- REGION_NAME_DICT = {
- 0 : 'TAIWAN',
- }
- REGION_AUTH_SERVER_DICT = {
- 0 : {
- 1 : { 'ip':'11.111.11.111', 'port':21002, },
- }
- }
- REGION_DICT = {
- 0 : {
- 1 : { 'name' : 'Test', 'channel' : SERVER1_CHANNEL_DICT, },
- },
- }
- MARKADDR_DICT = {
- 10 : { 'ip' : '11.111.11.111', 'tcp_port' : 23070, 'mark' : '10.tga', 'symbol_path' : '10', },
- }
- TESTADDR = { 'ip' : '11.111.11.111', 'tcp_port' : 50000, 'udp_port' : 50000, }
- #DONE
Advertisement
Add Comment
Please, Sign In to add comment