-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
33 lines (25 loc) · 999 Bytes
/
config.yaml
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
# --------- Mandatory Configurations --------- #
SERIAL_PORT: 'COM3'
# log file name date format
DATE_FORMAT: 'YYYY_MMM_DD'
# log messages timestamp format
DATETIME_FORMAT: 'YYYY-MMM-DD HH:mm:ss'
# CHECK_INTERVAL must be a fraction of COLLECTION_TIME
CHECK_INTERVAL: 60 # seconds
# default collection time
COLLECTION_TIME_DEFAULT: 180 # minutes
# number of full cycles to execute
NUMBER_OF_CYCLES: 3
# first cycle will start from this position
STARTING_POSITION: 1
# ---------- Optional Configurations --------- #
# NB: any optional config must be indented by 2 spaces.
optional:
# Collection time for all cycles
CYCLE_ALL:
# collection time for a specific position can be set using the format COLLECTION_TIME_POS_N
COLLECTION_TIME_POS_1: 120 # minutes
# Collection time for specific cycles can be set using the format CYCLE_N
CYCLE_1:
# collection time for a specific position can be set using the format COLLECTION_TIME_POS_N
COLLECTION_TIME_POS_1: 60 # minutes