VOLTTRON / dnp3-python

Apache License 2.0
10 stars 8 forks source link

Add option to allow dnp3demo outstation setup dummy values for demo purpose #18

Open kefeimo opened 1 year ago

kefeimo commented 1 year ago

Description:

Current a fresh outstation when init with the following default values:

======== Your Input Here: ==(outstation)====== dd You chose < dd > - display database {'Analog': {0: None, 1: None, 2: None, 3: None, 4: None, 5: None, 6: None, 7: None, 8: None, 9: None}, 'AnalogOutputStatus': {0: None, 1: None, 2: None, 3: None, 4: None, 5: None, 6: None, 7: None, 8: None, 9: None}, 'Binary': {0: None, 1: None, 2: None, 3: None, 4: None, 5: None, 6: None, 7: None, 8: None, 9: None}, 'BinaryOutputStatus': {0: None, 1: None, 2: None, 3: None, 4: None, 5: None, 6: None, 7: None, 8: None, 9: None}}

It would be great to allow a dnp3demo outstation to start with random dummy values for demo purpose. e.g., dnp3demo outstation --with-dummy-values

kefeimo commented 1 year ago

addressed with https://github.com/VOLTTRON/dnp3-python/pull/39