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

some ideas #24

Open
Burning1020 opened this issue Dec 9, 2019 · 0 comments
Open

some ideas #24

Burning1020 opened this issue Dec 9, 2019 · 0 comments

Comments

@Burning1020
Copy link
Member

hi, i am the author of device-opcua-go and i'd like to share some of my views.

I noticed you guys have put NodeId and Monitor info into deviceResources' artibution in DeviceProfile(DP), so here they are:

  1. A DP can be thought of as a template of a type or classification of Device. Different devices may have different NodeId, thus DP shouldn't contains any of spec nodeid, shoule it? I suggest you can put these info into [DeviceList.Protocols.OPC-UA] of configuration.toml file.
  2. " monitored: "True" " means you can monit this item but if user wants to stop or restart monitor, they need to delete, modifiy and re-update DP, which is very complex so i think it shouldn't be written into DP nor be same with all device.
  3. Add subscribe function as a command to DP. As a result, user can use it at their needs just like other commands.

I've been doing these works in device-opcua-go recently. I'll attach my code when it is done!

Hope my ideas can be taken into your considerations!

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

No branches or pull requests

1 participant