Interface IValueTag
Provides basic contract for plc tag.
Inherited Members
Namespace: Vortex.Connector
Assembly: Vortex.Connector.dll
Syntax
public interface IValueTag : ITwinPrimitive, IVortexElement
Properties
EditValueChange
Delegate invoked when the 'Edit' value changes.
Declaration
OnlinerBaseType.ValueChangeDelegate EditValueChange { get; set; }
Property Value
Type | Description |
---|---|
OnlinerBaseType.ValueChangeDelegate |
ShadowValueChange
Delegate invoked when the 'Shadow' value changes.
Declaration
OnlinerBaseType.ValueChangeDelegate ShadowValueChange { get; set; }
Property Value
Type | Description |
---|---|
OnlinerBaseType.ValueChangeDelegate |
Translator
Gets string translator for this primitive type.
Declaration
ITranslator Translator { get; }
Property Value
Type | Description |
---|---|
Vortex.Localizations.Abstractions.ITranslator |
Methods
MakeReadOnly()
Makes this tag readonly for the current application.
Declaration
void MakeReadOnly()
Subscribe(ValueChangedEventHandlerDelegate)
Subscribes this tag for cyclical reading and invokes ValueChangedEventHandlerDelegate when the value changes.
note
Tag will be set for cyclical reading.
Declaration
void Subscribe(ValueChangedEventHandlerDelegate handler)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventHandlerDelegate | handler | Handles the value change event. |
UnSubscribe(ValueChangedEventHandlerDelegate)
Un-subscribes this tag from handling the value change.
note
The cyclical reading of this tag will not be cancelled.
Declaration
void UnSubscribe(ValueChangedEventHandlerDelegate handler)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventHandlerDelegate | handler |