Class OnlinerBaseType
Base non-generic class for onliner types
Namespace: Vortex.Connector.ValueTypes
Assembly: Vortex.Connector.dll
Syntax
public abstract class OnlinerBaseType
Properties
AttributeFormatString
Gets or sets string format for the display of the value.
Declaration
public string AttributeFormatString { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
If you would like to transform the value using String.Format use FormatString attribute in your PLC code. Notice the usage of [[ and ]]. During runtime "[[" will be replaced with "{" and "[[" will be replaced with "}" so you can use String.Format class as you wish. The string transformation will occur only on Vortex.Presentation.Controls.Wpf.OnlineControl.OnlineControlTextBox.
Examples
{attribute addProperty Name "REAL"}
{attribute addProperty FormatString "[[0:F2]]"}
REAL_val : REAL;
EditValueChange
Delegate invoked when the 'Edit' value changes.
Declaration
public virtual OnlinerBaseType.ValueChangeDelegate EditValueChange { get; set; }
Property Value
Type | Description |
---|---|
OnlinerBaseType.ValueChangeDelegate |
ReadWriteAccess
Gets the read write access mode for this tag.
Declaration
public ReadWriteAccess ReadWriteAccess { get; }
Property Value
Type | Description |
---|---|
ReadWriteAccess |
ShadowValueChange
Delegate invoked when the 'Shadow' value changes.
Declaration
public virtual OnlinerBaseType.ValueChangeDelegate ShadowValueChange { get; set; }
Property Value
Type | Description |
---|---|
OnlinerBaseType.ValueChangeDelegate |
Methods
MakeReadOnly()
Makes this tag readonly for the current application.
Declaration
public void MakeReadOnly()