Server side SDK implements alarm state machine handling?

Questions regarding the use of the .NET SDK 2.0 for Server or Client development or integration into customer products ...

Moderator: uasdknet

Post Reply
pfp.meijers
Sr. Member
Sr. Member
Posts: 13
Joined: 02 Oct 2014, 09:08

Server side SDK implements alarm state machine handling?

Post by pfp.meijers »

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

User avatar
Support Team
Hero Member
Hero Member
Posts: 3072
Joined: 18 Mar 2011, 15:09

Re: Server side SDK implements alarm state machine handling?

Post by Support Team »

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

Post Reply