wuulong$ python3 sim.py
FastCLI> help
Documented commands (type help <topic>):
========================================
about help quit save_esri save_esri_xml set show simrun test
FastCLI> help about
About this software
FastCLI> about
G.Fast Monitor version: v0.1
FastCLI> help save_esri
Save map to RSRI ASCII format
save_esri [ name ]
; name: export file name prefix
ex: save_esri map
ESRI export naming rule:
name_timestamp.asc (ex: abc_20160708210000.asc)
FastCLI> help save_esri_xml
Save map to RSRI ASCII xml format
save_esri_xml [ name ]
ex: save_esri_xml sim
name.xml
FastCLI> help set
set scli variable, can be new or update.
set var_name var_value
ex: set mac_addr 001122334455
FastCLI> help show
show simcli variables, if miss variable name, show all
show variable_name
system variables list:
;log level definition, DEBUG=10,INFO=20,WARNING=30,ERROR=40,CRITICAL=50
log_level_console=20 #the console message log level
log_level_file=40 #file message log level
;device console real time display
dev_console_display=1 #(0) don't display (1) display
ex: show mac_addr
FastCLI> help simrun
Start simulation
FastCLI> help test
current debug command
FastCLI>
root : INFO G.Fast Monitor version: v0.0.1
FastCLI> simrun
root : INFO Simulation start!
Simulation Descriptor:
1* deposition -10 every time unit.
5* population +1 every time unit.
2* car +1000 when minute mode 3 ==0.
root : INFO Map Descriptor:
Current positions count = 100
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
2016-10-21 16:00:00
2016-10-21 16:01:00
2016-10-21 16:02:00
2016-10-21 16:03:00
2016-10-21 16:04:00
2016-10-21 16:05:00
2016-10-21 16:06:00
2016-10-21 16:07:00
2016-10-21 16:08:00
2016-10-21 16:09:00
2016-10-21 16:10:00
2016-10-21 16:11:00
2016-10-21 16:12:00
2016-10-21 16:13:00
-0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000
-0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 0.093000
-0.007000 -0.007000 0.093000 -0.007000 -0.007000 -0.007000 0.093000 -0.007000 -0.007000 -0.007000
-0.007000 -0.007000 0.093000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000
-0.007000 -0.007000 -0.007000 0.093000 0.093000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000
0.093000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000
-0.007000 -0.007000 -0.007000 -0.007000 -0.007000 0.093000 -0.007000 -0.007000 -0.007000 -0.007000
0.093000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 0.093000 -0.007000
pm_total history: [1500.0, 1000.0, 500.0, 2000.0, 1500.0, 1000.0, 2500.0, 2000.0, 1500.0, 3000.0, 2500.0, 2000.0, 3500.0, 3000.0]
FastCLI> save_esri_xml test
需求
規格
設計
Files/Directories Definition
帶起步驟設計
Versions
Installation
Study
Current Progress
wuulong$ python3 sim.py
FastCLI> help
Documented commands (type help <topic>):
========================================
about help quit save_esri save_esri_xml set show simrun test
FastCLI> help about
About this software
FastCLI> about
G.Fast Monitor version: v0.1
FastCLI> help save_esri
Save map to RSRI ASCII format
save_esri [ name ]
; name: export file name prefix
ex: save_esri map
ESRI export naming rule:
name_timestamp.asc (ex: abc_20160708210000.asc)
FastCLI> help save_esri_xml
Save map to RSRI ASCII xml format
save_esri_xml [ name ]
; name: export file name prefix
ex: save_esri_xml sim
ESRI export naming rule:
name.xml
FastCLI> help set
set scli variable, can be new or update.
set var_name var_value
ex: set mac_addr 001122334455
FastCLI> help show
show simcli variables, if miss variable name, show all
show variable_name
system variables list:
;log level definition, DEBUG=10,INFO=20,WARNING=30,ERROR=40,CRITICAL=50
log_level_console=20 #the console message log level
log_level_file=40 #file message log level
;device console real time display
dev_console_display=1 #(0) don't display (1) display
ex: show mac_addr
FastCLI> help simrun
Start simulation
FastCLI> help test
current debug command
FastCLI>
root : INFO G.Fast Monitor version: v0.0.1
FastCLI> simrun
root : INFO Simulation start!
Simulation Descriptor:
1* deposition -10 every time unit.
5* population +1 every time unit.
2* car +1000 when minute mode 3 ==0.
root : INFO Map Descriptor:
Current positions count = 100
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
2016-10-21 16:00:00
2016-10-21 16:01:00
2016-10-21 16:02:00
2016-10-21 16:03:00
2016-10-21 16:04:00
2016-10-21 16:05:00
2016-10-21 16:06:00
2016-10-21 16:07:00
2016-10-21 16:08:00
2016-10-21 16:09:00
2016-10-21 16:10:00
2016-10-21 16:11:00
2016-10-21 16:12:00
2016-10-21 16:13:00
root : INFO Map Descriptor:
Current positions count = 100
-0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000
-0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 0.093000
-0.007000 -0.007000 0.093000 -0.007000 -0.007000 -0.007000 0.093000 -0.007000 -0.007000 -0.007000
-0.007000 -0.007000 0.093000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000
-0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000
-0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000
-0.007000 -0.007000 -0.007000 0.093000 0.093000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000
0.093000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000
-0.007000 -0.007000 -0.007000 -0.007000 -0.007000 0.093000 -0.007000 -0.007000 -0.007000 -0.007000
0.093000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 -0.007000 0.093000 -0.007000
pm_total history: [1500.0, 1000.0, 500.0, 2000.0, 1500.0, 1000.0, 2500.0, 2000.0, 1500.0, 3000.0, 2500.0, 2000.0, 3500.0, 3000.0]
FastCLI> help
Documented commands (type help <topic>):
========================================
about help quit save_esri save_esri_xml set show simrun test
FastCLI> save_esri_xml test
Problems