Méthode | Description | |
---|---|---|
CreateTag ( string tagName, UnderlyingSystemDataType dataType, UnderlyingSystemTagType tagType, string engineeringUnits, bool writeable ) : void |
Creates the tag.
|
|
DoSimulation ( long counter, int index, Opc generator ) : void |
Simulates a block by updating the state of the tags belonging to the condition.
|
|
GetTags ( ) : IList |
Returns a snapshot of the tags belonging to the block.
|
|
StartMonitoring ( TagsChangedEventHandler callback ) : void |
Starts the monitoring.
|
|
StopMonitoring ( ) : void |
Stops monitoring.
|
|
UnderlyingSystemBlock ( ) : System |
Initializes a new instance of the UnderlyingSystemBlock class.
|
|
WriteTagValue ( string tagName, object value ) : uint |
Writes the tag value.
|
Méthode | Description | |
---|---|---|
FindTag ( string tagName ) : |
Finds the tag identified by the name.
|
|
UpdateTagMetadata ( |
Updates the metadata for a tag.
|
|
UpdateTagValue ( |
Updates the value of an tag.
|
public CreateTag ( string tagName, UnderlyingSystemDataType dataType, UnderlyingSystemTagType tagType, string engineeringUnits, bool writeable ) : void | ||
tagName | string | Name of the tag. |
dataType | UnderlyingSystemDataType | Type of the data. |
tagType | UnderlyingSystemTagType | Type of the tag. |
engineeringUnits | string | The engineering units. |
writeable | bool | if set to |
Résultat | void |
public DoSimulation ( long counter, int index, Opc generator ) : void | ||
counter | long | The number of simulation cycles that have elapsed. |
index | int | The index of the block within the system. |
generator | Opc | An object which generates random data. |
Résultat | void |
public StartMonitoring ( TagsChangedEventHandler callback ) : void | ||
callback | TagsChangedEventHandler | The callback to use when reporting changes. |
Résultat | void |
public WriteTagValue ( string tagName, object value ) : uint | ||
tagName | string | Name of the tag. |
value | object | The value. |
Résultat | uint |