Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kefeimo opened this issue Mar 6, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@kefeimo
Copy link
Contributor

kefeimo commented Mar 6, 2023

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 kefeimo added the enhancement New feature or request label Mar 6, 2023
@kefeimo kefeimo self-assigned this Mar 6, 2023
kefeimo added a commit that referenced this issue May 3, 2023
* droppped new in the file name and class name

* updated submodule pybind11

* added db_sizes and event_buffer_config in MyOutStation __init__

* manually set version to 0.3.0b1

* mached with upstream deps/pybind11 commit version

* mached with upstream deps/pybind11 commit version

* improved run_outstation

* improved run_outstation

* improved cli tool dnp3demo

* added --init-random options to dnp3demo outstation

* added <q>-quit program option to dnp3demo

* hot-fixed cli instruction

---------

Co-authored-by: Kefei Mo <[email protected]>
@kefeimo
Copy link
Contributor Author

kefeimo commented May 3, 2023

addressed with #39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant