libiec61850.NET  1.5.1
IEC 61850 .NET API for libiec61850 protocol library
IEC61850.Server.DataAttribute Class Reference
Inheritance diagram for IEC61850.Server.DataAttribute:
Collaboration diagram for IEC61850.Server.DataAttribute:

Public Member Functions

 DataAttribute (string name, ModelNode parent, DataAttributeType type, FunctionalConstraint fc, TriggerOptions trgOps, int arrayElements, UInt32 sAddr)
 Create a new data attribute and add it to a parent model node More...
 
 DataAttribute (string name, ModelNode parent, DataAttributeType type, FunctionalConstraint fc, TriggerOptions trgOps, int arrayElements)
 Create a new data attribute and add it to a parent model node More...
 
void SetValue (MmsValue value)
 Set the value of the data attribute (can be used to set default values before server is created) More...
 
- Public Member Functions inherited from IEC61850.Server.ModelNode
IedModel GetIedModel ()
 Gets the IedModel for this ModelNode instance More...
 
string GetName ()
 Gets the name of the model node More...
 
ModelNode GetParent ()
 Gets the parent node of this model node More...
 
ModelNode GetChild (string name)
 Get the child node of this model node with the given name More...
 
LinkedList< ModelNodeGetChildren ()
 Gets the direct child nodes of this ModelNode instance More...
 
string GetObjectReference (bool withoutIedName=false)
 Gets the object reference of the model node More...
 

Properties

DataAttributeType Type [get]
 Get IEC 61850 data attribute type of the data attribute More...
 
TriggerOptions TrgOps [get]
 The trigger options (dchg, qchg, dupd) of the data attribute More...
 
FunctionalConstraint FC [get]
 The functional constraint (FC) of the data attribute More...
 

Additional Inherited Members

- Public Attributes inherited from IEC61850.Server.ModelNode
IntPtr self
 

Constructor & Destructor Documentation

◆ DataAttribute() [1/2]

IEC61850.Server.DataAttribute.DataAttribute ( string  name,
ModelNode  parent,
DataAttributeType  type,
FunctionalConstraint  fc,
TriggerOptions  trgOps,
int  arrayElements,
UInt32  sAddr 
)

Create a new data attribute and add it to a parent model node

The parent model node has to be of type DataObject or DataAttribute

Parameters
namethe name of the data attribute (e.g. "stVal")
parentthe parent model node (of type DataObject or DataAttribute)
typethe type of the data attribute (CONSTRUCTED if the type contains sub data attributes)
fcthe functional constraint (FC) of the data attribute
trgOpsthe trigger options (dupd, dchg, qchg) that cause an event notification
arrayElementsthe number of array elements if the data attribute is an array or 0
sAddran optional short address (deprecated)

◆ DataAttribute() [2/2]

IEC61850.Server.DataAttribute.DataAttribute ( string  name,
ModelNode  parent,
DataAttributeType  type,
FunctionalConstraint  fc,
TriggerOptions  trgOps,
int  arrayElements 
)

Create a new data attribute and add it to a parent model node

The parent model node has to be of type DataObject or DataAttribute

Parameters
namethe name of the data attribute (e.g. "stVal")
parentthe parent model node (of type DataObject or DataAttribute)
typethe type of the data attribute (CONSTRUCTED if the type contains sub data attributes)
fcthe functional constraint (FC) of the data attribute
trgOpsthe trigger options (dupd, dchg, qchg) that cause an event notification
arrayElementsthe number of array elements if the data attribute is an array or 0

Member Function Documentation

◆ SetValue()

void IEC61850.Server.DataAttribute.SetValue ( MmsValue  value)

Set the value of the data attribute (can be used to set default values before server is created)

Parameters
valueNew value for the data attribute

Property Documentation

◆ FC

FunctionalConstraint IEC61850.Server.DataAttribute.FC
get

The functional constraint (FC) of the data attribute

◆ TrgOps

TriggerOptions IEC61850.Server.DataAttribute.TrgOps
get

The trigger options (dchg, qchg, dupd) of the data attribute

◆ Type

DataAttributeType IEC61850.Server.DataAttribute.Type
get

Get IEC 61850 data attribute type of the data attribute


The documentation for this class was generated from the following file: