When I would define/instantiate an alarm state machine (e.g. NonExclusiveLimitAlarmType) via UaModeller and couple this to a specific input variable, does the generated code/server side SDK library implement the state machine handling (incl corresponding limit checking, etc.) and only thing I have to do in the server is making the connection to real data variable from my HW device?
I guess this should be feasible since alarm state machine behavior/semantics is described in the base model spec, or not?
Grt, Patrick
Server side SDK implements alarm state machine handling?
Moderator: uasdknet
-
- Sr. Member
- Posts: 13
- Joined: 02 Oct 2014, 09:08
- Support Team
- Hero Member
- Posts: 3072
- Joined: 18 Mar 2011, 15:09
Re: Server side SDK implements alarm state machine handling?
Hello,
The ExclusiveLimitAlarmModel class (and super classes) already contain some clue code for alarm handling. But you still need to add some own code, e.g. you have to implement some methods at the nodemanager. Please have look at the Boiler example in the DemoServer (DemoNodeManager.Boiler.cs). Here you can find an example using an ExclusiveLevelAlarm.
Best regards
Support Team
The ExclusiveLimitAlarmModel class (and super classes) already contain some clue code for alarm handling. But you still need to add some own code, e.g. you have to implement some methods at the nodemanager. Please have look at the Boiler example in the DemoServer (DemoNodeManager.Boiler.cs). Here you can find an example using an ExclusiveLevelAlarm.
Best regards
Support Team