• Articles
  • API reference
  • Previous Versions
Show / Hide Table of Contents
  • Connector
    • Vortex.Adapters.Connector.Tc3
      • AdsConnector
      • AdsConnector.OnAdsStateChangeDelegate
      • LiveClient
      • OnlineSymbolRetriever
      • OnlineVariableInfo
      • OnlineVariableInfo.SymbolLoaderSettings
      • ReportingConsole
      • ReportingConsole.UpdateStartUpDelegate
    • Vortex.Adapters.Connector.Tc3.Adapter
      • ConnectorFactory
      • SymbolLoadingMode
      • SymbolLoadMethod
      • Tc3ConnectorAdapter
    • Vortex.Adapters.Connector.Tc3.AdsExceptionsHandling
      • ExceptionHandler
    • Vortex.Adapters.Connector.Tc3.AdsValueTypes
      • AdsBit
      • AdsBool
      • AdsByte
      • AdsDate
      • AdsDateTime
      • AdsDInt
      • AdsDWord
      • AdsInt
      • AdsLInt
      • AdsLReal
      • AdsLTime
      • AdsLWord
      • AdsReal
      • AdsSInt
      • AdsString
      • AdsTime
      • AdsTimeOfDay
      • AdsUDInt
      • AdsUInt
      • AdsULInt
      • AdsUSInt
      • AdsWord
      • AdsWString
      • ClientSymbol
      • IAdsBaseType
    • Vortex.Adapters.Connector.Tc3Adapter.Adapter
      • NamespaceDoc
    • Vortex.Connector
      • CommStateEnum
      • ConnectorAdapter
      • DataExchangeStatusEnum
      • DummyConnector
      • DummyConnectorFactory
      • EnumeratorDiscriminatorAttribute
      • IConnector
      • IConnectorFactory
      • IgnoreReflectionAttribute
      • InterpolatedAncestor
      • InvalidLicenseConnector
      • InvalidLicenseConnectorAdapter
      • InvalidLicenseConnectorFactory
      • IPlain
      • ITwinController
      • ITwinObject
      • ITwinPrimitive
      • IValueTag
      • IValueTagExtensions
      • IValueTagInfo
      • IVortexElement
      • IVortexObject
      • IVortexObjectExtensions
      • IVortexOnlineObject
      • IVortexShadowObject
      • NamespaceDoc
      • RootVortexerObject
      • StringInterpolator
      • TypeComplexityEnum
    • Vortex.Connector.Attributes
      • AssemblyPlcCounterPart
      • CompilerOmissionGroups
      • CompilerOmitsAttribute
      • ReadOnlyAttribute
      • TypeMetaDescriptorAttribute
    • Vortex.Connector.Identity
      • IVortexIdentity
      • MemberByIdentityAttribute
      • NullVortexIdentity
      • VortexIdentityProvider
    • Vortex.Connector.LibraryDescriptors
      • TypeMetaData
    • Vortex.Connector.ValueTypes
      • NamespaceDoc
      • OnlinerBaseType
      • OnlinerBaseType.ValueChangeDelegate
      • OnlinerBaseType<T>
      • OnlinerBit
      • OnlinerBool
      • OnlinerByte
      • OnlinerDate
      • OnlinerDateTime
      • OnlinerDInt
      • OnlinerDWord
      • OnlinerInt
      • OnlinerLInt
      • OnlinerLReal
      • OnlinerLTime
      • OnlinerLWord
      • OnlinerReal
      • OnlinerSInt
      • OnlinerString
      • OnlinerTime
      • OnlinerTimeOfDay
      • OnlinerUDInt
      • OnlinerUInt
      • OnlinerULInt
      • OnlinerUSInt
      • OnlinerWord
      • OnlinerWString
      • ReadWriteAccess
      • ValueChangedEventArgs
      • ValueChangedEventHandlerDelegate
    • Vortex.Connector.ValueTypes.Online
      • IOnline<T>
      • IOnlineBit
      • IOnlineBool
      • IOnlineByte
      • IOnlineDate
      • IOnlineDateTime
      • IOnlineDInt
      • IOnlineDWord
      • IOnlineInt
      • IOnlineLInt
      • IOnlineLReal
      • IOnlineLTime
      • IOnlineLWord
      • IOnlineReal
      • IOnlineSInt
      • IOnlineString
      • IOnlineTime
      • IOnlineTimeOfDay
      • IOnlineUDInt
      • IOnlineUInt
      • IOnlineULInt
      • IOnlineUSInt
      • IOnlineWord
      • IOnlineWString
      • NamespaceDoc
    • Vortex.Connector.ValueTypes.Shadows
      • IShadow<T>
      • IShadowBit
      • IShadowBool
      • IShadowByte
      • IShadowDate
      • IShadowDateTime
      • IShadowDInt
      • IShadowDWord
      • IShadowInt
      • IShadowLInt
      • IShadowLReal
      • IShadowLTime
      • IShadowLWord
      • IShadowReal
      • IShadowSInt
      • IShadowString
      • IShadowTime
      • IShadowTimeOfDay
      • IShadowUDInt
      • IShadowUInt
      • IShadowULInt
      • IShadowUSInt
      • IShadowWord
      • IShadowWString
      • NamespaceDoc
    • Vortex.Connector.ValueValidation
      • BitValueValidationRule
      • BoolValueValidationRule
      • ByteValueValidationRule
      • DateTimeValueValidationRule
      • DateValueValidationRule
      • DintValueValidationRule
      • DWordValueValidationRule
      • IntValueValidationRule
      • IValueBoundaries<T>
      • LIntValueValidationRule
      • LRealValueValidationRule
      • LTimeValueValidationRule
      • LWordValueValidationRule
      • NamespaceDoc
      • OnlinerValidationRule<T>
      • RealValueValidationRule
      • SIntValueValidationRule
      • StringValueValidationRule
      • TimeOfDayValueValidationRule
      • TimeValueValidationRule
      • UDIntValueValidationRule
      • UIntValueValidationRule
      • ULIntValueValidationRule
      • USintValueValidationRule
      • ValidationResult
      • WordValueValidationRule
      • WStringValueValidationRule
    • Vortex.Localizations
      • IdentifierValidator
      • LocalizableItem
      • Localizables
      • LocalizationHelper
      • LocalizerDictionary
  • Presentation
    • Vortex.Presentation.Controls.Wpf
      • DateTimePickerBox
      • MultiConverter
      • TimePickerBaseBox
      • TimeTextBoxBaseBox
    • Vortex.Presentation.Controls.Wpf.Enumerators
      • EnumeratorContainer
      • EnumeratorContainerControlSlimView
      • EnumeratorContainerControlSlimViewModel
      • EnumeratorContainerControlView
      • EnumeratorContainerControlViewModel
      • EnumeratorContainerDisplaySlimView
      • EnumeratorContainerDisplaySlimViewModel
      • EnumeratorContainerDisplayView
      • EnumeratorContainerDisplayViewModel
      • EnumeratorContainerShadowControlSlimView
      • EnumeratorContainerShadowControlSlimViewModel
      • EnumeratorContainerShadowControlView
      • EnumeratorContainerShadowControlViewModel
      • EnumeratorContainerShadowDisplaySlimView
      • EnumeratorContainerShadowDisplaySlimViewModel
      • EnumeratorContainerShadowDisplayView
      • EnumeratorContainerShadowDisplayViewModel
      • EnumeratorContainerViewModel
      • EnumToIntConverter
    • Vortex.Presentation.Controls.Wpf.Extension
      • AttributeStringFormatExtensions
      • DateTimePicker
    • Vortex.Presentation.Controls.Wpf.OnlineControl
      • OnlineControlCheckBox
      • OnlineControlCheckBoxValue
      • OnlineControlDate
      • OnlineControlDateTime
      • OnlineControlLTime
      • OnlineControlTextBox
      • OnlineControlTextBoxValue
      • OnlineControlTime
      • OnlineControlTimeOfDay
      • OnlineControlTimeTextBox
    • Vortex.Presentation.Controls.Wpf.OnlineControls
      • OnlineControlSlimCheckBox
      • OnlineControlSlimCheckBoxValue
      • OnlineControlSlimDate
      • OnlineControlSlimDateTime
      • OnlineControlSlimLTime
      • OnlineControlSlimTextBox
      • OnlineControlSlimTextBoxValue
      • OnlineControlSlimTime
      • OnlineControlSlimTimeOfDay
    • Vortex.Presentation.Controls.Wpf.OnlineDisplay
      • OnlineDisplayCheckBox
      • OnlineDisplayTextBox
      • OnlineDisplayTextBoxValue
      • OnlineDisplayTimeTextBox
    • Vortex.Presentation.Controls.Wpf.ShadowControl
      • ShadowControlCheckBox
      • ShadowControlCheckBoxValue
      • ShadowControlDate
      • ShadowControlDateTime
      • ShadowControlLTime
      • ShadowControlTextBox
      • ShadowControlTextBoxValue
      • ShadowControlTime
      • ShadowControlTimeOfDay
      • ShadowControlTimeTextBox
    • Vortex.Presentation.Controls.Wpf.ShadowDisplay
      • ShadowDisplayCheckBox
      • ShadowDisplayTextBox
      • ShadowDisplayTextBoxValue
      • ShadowDisplayTimeTextBox
    • Vortex.Presentation.Controls.Wpf.Shared.Base
      • TimeAndDateConverterFactory
    • Vortex.Presentation.ControlSlims.Wpf
      • MultiConverter
    • Vortex.Presentation.ControlSlims.Wpf.OnlineDisplaySlim
      • OnlineDisplaySlimCheckBox
      • OnlineDisplaySlimTextBox
      • OnlineDisplaySlimTextBoxValue
      • OnlineDisplaySlimTimeTextBox
    • Vortex.Presentation.ControlSlims.Wpf.ShadowControlSlim
      • ShadowControlSlimCheckBox
      • ShadowControlSlimCheckBoxValue
      • ShadowControlSlimDate
      • ShadowControlSlimDateTime
      • ShadowControlSlimLTime
      • ShadowControlSlimTextBox
      • ShadowControlSlimTextBoxValue
      • ShadowControlSlimTime
      • ShadowControlSlimTimeOfDay
    • Vortex.Presentation.ControlSlims.Wpf.ShadowDisplaySlim
      • ShadowDisplaySlimCheckBox
      • ShadowDisplaySlimTextBox
      • ShadowDisplaySlimTextBoxValue
      • ShadowDisplaySlimTimeTextBox
    • Vortex.Presentation.Styling.Wpf
      • VortexResources
    • Vortex.Presentation.Styling.Wpf.Assist
      • DataGridAssist
    • Vortex.Presentation.Wpf
      • ActionRunner
      • ActionRunner.UserApprovedActionDelegate
      • BindableBase
      • ConsoleWriter
      • ConsoleWriterEventArgs
      • ContentOpeningMode
      • CreatorFailureDisplayBox
      • DateFormatConverter
      • DateTimeFormatConverter
      • EnumeratorHelper
      • EnumHelper
      • EnumToCollectionConverter
      • INavigable
      • LazyRenderer
      • MenuControlsHelper
      • MenuControlView
      • MenuControlViewModel
      • MenuControlViewTestViewModel
      • MenuRenderableControlViewModel
      • MvvmVisualState
      • NavCommand
      • NavigableRenderableViewModelBase
      • NavigableViewModelBase
      • PresentationHelper
      • RelayCommand
      • RelayCommand<T>
      • RenderableAssemblyAttribute
      • RenderableContentControl
      • RenderableContentDelayedControl
      • RenderableViewModel
      • RenderContentConverter
      • RenderContentDelayedConverter
      • Renderer
      • Renderer.BaseTypeProperies
      • Renderer.ComponentsCacheItem
      • ReportingLevel
      • SelectedButtonConverter
      • StartUpWindow
      • TestView
      • TimeFormatConverter
      • TooManyObjectsToRenderException
      • ValueDescription
      • WpfLayoutProvider
    • Vortex.Presentation.Wpf.Converters
      • BaseConverter
      • BaseMultiConverter
      • CapitalizeConverter

Class OnlinerBaseType<T>

Base generic class for onliner types. Instance of OnlinerBaseType<T> is commonly referred to as 'tag' or 'PLC tag'.

Inheritance
System.Object
OnlinerBaseType
OnlinerBaseType<T>
OnlinerBit
OnlinerBool
OnlinerByte
OnlinerDate
OnlinerDateTime
OnlinerDInt
OnlinerDWord
OnlinerInt
OnlinerLInt
OnlinerLReal
OnlinerLTime
OnlinerLWord
OnlinerReal
OnlinerSInt
OnlinerString
OnlinerTime
OnlinerTimeOfDay
OnlinerUDInt
OnlinerUInt
OnlinerULInt
OnlinerUSInt
OnlinerWord
OnlinerWString
Implements
IOnline<T>
IShadow<T>
IValueTag
ITwinPrimitive
IVortexElement
System.ComponentModel.INotifyPropertyChanged
IValueBoundaries<T>
Inherited Members
OnlinerBaseType.ReadWriteAccess
OnlinerBaseType.MakeReadOnly()
OnlinerBaseType.AttributeFormatString
Namespace: Vortex.Connector.ValueTypes
Assembly: Vortex.Connector.dll
Syntax
public abstract class OnlinerBaseType<T> : OnlinerBaseType, IOnline<T>, IShadow<T>, IValueTag, ITwinPrimitive, IVortexElement, INotifyPropertyChanged, IValueBoundaries<T>
Type Parameters
Name Description
T

Constructors

OnlinerBaseType()

Allows for parameterless constructor in derived class.

Declaration
protected OnlinerBaseType()

OnlinerBaseType(IVortexObject, String, String)

Creates an instance of OnlinerBaseType<T>.

Declaration
protected OnlinerBaseType(IVortexObject parent, string readableTail, string symbolTail)
Parameters
Type Name Description
IVortexObject parent

Parent object that creates this instance.

System.String readableTail

HumanReadable tail of this instance.

System.String symbolTail

Symbol tail of this instance.

Fields

_attributeName

Declaration
string _attributeName
Field Value
Type Description
System.String

_humanReadable

Declaration
string _humanReadable
Field Value
Type Description
System.String

_shadow

Declaration
T _shadow
Field Value
Type Description
T

_translator

Declaration
ITranslator _translator
Field Value
Type Description
Vortex.Localizations.Abstractions.ITranslator

attributeMax

Declaration
T attributeMax
Field Value
Type Description
T

attributeMin

Declaration
T attributeMin
Field Value
Type Description
T

attributeToolTip

Declaration
string attributeToolTip
Field Value
Type Description
System.String

cyclic

Field contains last cyclically read value.

Declaration
T cyclic
Field Value
Type Description
T

raw

Declaration
T raw
Field Value
Type Description
T

validator

Holder field for validation rule.

Declaration
protected OnlinerValidationRule<T> validator
Field Value
Type Description
OnlinerValidationRule<T>

Properties

AttributeMaximum

Gets or sets max. value allowed for this tag. If the value is not set the max. value will be the maximum allowed for this type.

note

The value is typically set by attribute in the PLC code

This example demonstrates how to set value boundaries for a numerical value. AttributeMinimum and AttributeMaximum. Notice that the name of the 'added property' is prefixed with 'Attribute' when trans-piled into .net class.
    {attribute addProperty Minimum 10}
    {attribute addProperty Maximum 50}
    _integerVar : INT;
Declaration
public T AttributeMaximum { get; set; }
Property Value
Type Description
T

AttributeMaxSet

Declaration
bool AttributeMaxSet
{
}
Property Value
Type Description
System.Boolean

AttributeMinimum

Gets or sets min. value allowed for this tag. If the value is not set the min. value will be the maximum allowed for this type.

note

The value is typically set by attribute in the PLC code

This example demonstrates how to set value boundaries for a numerical value. AttributeMinimum and AttributeMaximum. Notice that the name of the 'added property' is prefixed with 'Attribute' when trans-piled into .net class.
    {attribute addProperty Minimum 10}
    {attribute addProperty Maximum 50}
    _integerVar : INT;
Declaration
public T AttributeMinimum { get; set; }
Property Value
Type Description
T

AttributeMinSet

Declaration
bool AttributeMinSet
{
}
Property Value
Type Description
System.Boolean

AttributeName

Gets or sets the attribute name.

Declaration
public string AttributeName { get; set; }
Property Value
Type Description
System.String

AttributeToolTip

Gets or sets tool tip message for this tag.

Declaration
public string AttributeToolTip { get; set; }
Property Value
Type Description
System.String

AttributeUnits

Gets or sets the attribute units.

Declaration
public string AttributeUnits { get; set; }
Property Value
Type Description
System.String

CwCycle

Declaration
long CwCycle
{
}
Property Value
Type Description
System.Int64

Cyclic

Gets the value that was read in the last cycle or sets the value to be written in the next cycle.

Declaration
public virtual T Cyclic { get; set; }
Property Value
Type Description
T

CyclicReading

Gets or sets a value indicating whether cyclic reading of this tag is active.

Declaration
public bool CyclicReading { get; set; }
Property Value
Type Description
System.Boolean

cyclicToWrite

Gets the value that will be written in the next cycle.

Declaration
protected T cyclicToWrite { get; set; }
Property Value
Type Description
T

Edit

Gets the cyclicly read value. Setter set the value that will be written in the next cycle. The value is validated prior to performing write operation. The value must fall between InstanceMinValue and InstanceMaxValue, any value outside permissible range will not be written and original value will remain unaltered. Editing of the value invokes EditValue(T, T) which allows for value change logging via EditValueChange delegate.

Declaration
public T Edit { get; set; }
Property Value
Type Description
T

EditValueChange

Gets or sets delegate that executes when Edit property is changed.

Declaration
public override OnlinerBaseType.ValueChangeDelegate EditValueChange { get; set; }
Property Value
Type Description
OnlinerBaseType.ValueChangeDelegate
Overrides
OnlinerBaseType.EditValueChange

HasBeenWritten

Gets or sets a value indicating whether has been written in the last cycle.

Declaration
public bool HasBeenWritten { get; set; }
Property Value
Type Description
System.Boolean

HumanReadable

Provides a string combined from AttributeName of ancestors (GetParent()) of this instance and the tail of this instance.

Declaration
public string HumanReadable { get; protected set; }
Property Value
Type Description
System.String

InstanceMaxValue

Gets the maximum value allowed for this tag. The default max. value is maximum of this type if AttributeMaximum is not set. If the AttributeMaximum property is set then InstanceMaxValue will return its value.

Declaration
public abstract T InstanceMaxValue { get; }
Property Value
Type Description
T

InstanceMinValue

Gets the minimal value allowed for this tag. The default min. value is minimum of this type if AttributeMinimum is not set. If the AttributeMinimum property is set then InstanceMinValue will return its value.

Declaration
public abstract T InstanceMinValue { get; }
Property Value
Type Description
T

IsToBeRead

Gets a value indicating whether is to be read in the next cycle.

Declaration
public bool IsToBeRead { get; }
Property Value
Type Description
System.Boolean

IsToBeWritten

Gets a value indicating whether is to be written.

Declaration
public bool IsToBeWritten { get; }
Property Value
Type Description
System.Boolean

LastValue

Gets the last value retrieved from cyclical or batched reading. Without requesting cyclical read operation on this onliner.

Declaration
public T LastValue { get; }
Property Value
Type Description
T

Parent

Gets the parent object of this instance. Parent object is the object that created this instance.

Declaration
protected IVortexObject Parent { get; }
Property Value
Type Description
IVortexObject

Raw

Gets the raw value read from the controller. The value is not affected by Translator or StringInterpolator.

Declaration
public virtual T Raw { get; }
Property Value
Type Description
T

ReadFromPlcIsRequested

Gets or sets a value indicating whether read from plc is requested.

Declaration
public bool ReadFromPlcIsRequested { get; protected set; }
Property Value
Type Description
System.Boolean

SetLastValue

Sets LastValue property value. This property should be used only for testing purposes.

Declaration
[Obsolete("Use cyclic instead", false)]
public T SetLastValue { set; }
Property Value
Type Description
T

Shadow

Gets or sets shadow placeholder for the value of this instance. Shadow is off line placeholder that does not affect the PLC controller's value of this tag. Shadow values can be written to PLC controller via 'FlushShadowToOnline' method of a respective structure. Online values can be written to its Shadow representation via 'FlushOnlineToShadow' method of the respective structure. The value must fall between InstanceMinValue and InstanceMaxValue, any value outside permissible range will not be set and original value will remain unaltered. Change of the shadow value can be observed via ShadowValueChange delegate.

Declaration
public T Shadow { get; set; }
Property Value
Type Description
T

ShadowValueChange

Gets or sets delegate that executed when Shadow property is changed.

Declaration
public override OnlinerBaseType.ValueChangeDelegate ShadowValueChange { get; set; }
Property Value
Type Description
OnlinerBaseType.ValueChangeDelegate
Overrides
OnlinerBaseType.ShadowValueChange

Symbol

Gets the symbol of this on line variable.

Declaration
public string Symbol { get; }
Property Value
Type Description
System.String

SymbolTail

Gets or sets the tail of the symbol of this tag.

Declaration
protected string SymbolTail { get; set; }
Property Value
Type Description
System.String

Synchron

Gets or sets the online value synchronously.

Declaration
public virtual T Synchron { get; set; }
Property Value
Type Description
T

Translator

Provides translator for the localization for this tag.

Declaration
public ITranslator Translator { get; }
Property Value
Type Description
Vortex.Localizations.Abstractions.ITranslator

Validator

Gets the validation rule for this type. Validation occurs only when property Edit is changed.

Declaration
public OnlinerValidationRule<T> Validator { get; }
Property Value
Type Description
OnlinerValidationRule<T>

VariableInfo

Gets information about this tag's online variable info.

Declaration
public IValueTagInfo VariableInfo { get; protected set; }
Property Value
Type Description
IValueTagInfo

WriteToPlcIsRequested

Gets or sets a value indicating whether this variable should be written to the controller in the next cycle.

Declaration
public bool WriteToPlcIsRequested { get; set; }
Property Value
Type Description
System.Boolean

Methods

ChangeShadowValue(T, T)

Declaration
void ChangeShadowValue(T origin, T newValue)
Parameters
Type Name Description
T origin
T newValue

CreateSymbol(String, String)

Declaration
static string CreateSymbol(string rootSymbol, string symbol)
Parameters
Type Name Description
System.String rootSymbol
System.String symbol
Returns
Type Description
System.String

EditValue(T, T)

Declaration
void EditValue(T origin, T newValue)
Parameters
Type Name Description
T origin
T newValue

GetDeclaringAssembly()

Gets the assembly that declares the instance of this tag.

Declaration
public Assembly GetDeclaringAssembly()
Returns
Type Description
System.Reflection.Assembly

GetLastAvailableValue()

Gets tha most recent value either LastValue or Cyclic if that is more recent.

Declaration
public virtual T GetLastAvailableValue()
Returns
Type Description
T

GetParent()

Gets the parent object of this instance. Parent object is the object that created this instance.

Declaration
public IVortexObject GetParent()
Returns
Type Description
IVortexObject

Parent object.

GetSymbolTail()

Gets tail of the this tag symbol.

Declaration
public string GetSymbolTail()
Returns
Type Description
System.String

Tail of this tag's symbol.

GetValueChangeEventSubscribers()

Gets delegates associated with ValueChangeEvent

Declaration
public IEnumerable<Delegate> GetValueChangeEventSubscribers()
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Delegate>

HasWriteAccess()

Get true when this tag has write access.

Declaration
public bool HasWriteAccess()
Returns
Type Description
System.Boolean

The System.Boolean.

InitializeDefaults()

Initializes default value of this generic OnlinerBaseType<T>.

Declaration
protected static T InitializeDefaults()
Returns
Type Description
T

NotifyPropertyChanged(String)

Implementation of System.ComponentModel.INotifyPropertyChanged.

Declaration
protected void NotifyPropertyChanged(string propertyName)
Parameters
Type Name Description
System.String propertyName

Property name.

OnShadowValueChangeEvent(T)

Declaration
void OnShadowValueChangeEvent(T newValue)
Parameters
Type Name Description
T newValue

OnValueChangeEvent(T)

Notifies the change of Cyclicvalue.

Declaration
protected void OnValueChangeEvent(T newValue)
Parameters
Type Name Description
T newValue

ReadFromItem()

NVI should be implemented in derived class. When implemented in derived class provide reading of the Cyclicvalue for this tag from a stream.

Declaration
protected virtual void ReadFromItem()

Subscribe(ValueChangedEventHandlerDelegate)

Subscribes this tag for cyclical reading and invokes ValueChangedEventHandlerDelegate when the value changes.

Declaration
public 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. The cyclical reading of this tag will not be cancelled.

Declaration
public void UnSubscribe(ValueChangedEventHandlerDelegate handler)
Parameters
Type Name Description
ValueChangedEventHandlerDelegate handler

UpdateRead(T)

Updates cyclically read value and performs notifications.

Declaration
protected void UpdateRead(T val)
Parameters
Type Name Description
T val

Updated value.

WriteItem()

NVI should be implemented in derived class. When implemented in derived class provide writing of the Cyclicvalue for this tag from a stream.

Declaration
protected virtual void WriteItem()

Events

PropertyChanged

Implementation of System.ComponentModel.INotifyPropertyChanged interface.

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type Description
System.ComponentModel.PropertyChangedEventHandler

ShadowValueChangeEvent

Shadow value changed event.

Declaration
public event ValueChangedEventHandlerDelegate ShadowValueChangeEvent
Event Type
Type Description
ValueChangedEventHandlerDelegate

ValueChangeEvent

Online Cyclic property changed event.

Declaration
public event ValueChangedEventHandlerDelegate ValueChangeEvent
Event Type
Type Description
ValueChangedEventHandlerDelegate

Explicit Interface Implementations

IOnline<T>.AttributeName

Declaration
string IOnline<T>.AttributeName { get; set; }
Returns
Type Description
System.String

IOnline<T>.AttributeUnits

Declaration
string IOnline<T>.AttributeUnits { get; set; }
Returns
Type Description
System.String

IOnline<T>.Cyclic

Declaration
T IOnline<T>.Cyclic { get; set; }
Returns
Type Description
T

IOnline<T>.Edit

Declaration
T IOnline<T>.Edit { get; set; }
Returns
Type Description
T

IOnline<T>.Symbol

Declaration
string IOnline<T>.Symbol { get; }
Returns
Type Description
System.String

IOnline<T>.Synchron

Declaration
T IOnline<T>.Synchron { get; set; }
Returns
Type Description
T

IOnline<T>.Value

Declaration
T IOnline<T>.Value { get; set; }
Returns
Type Description
T

IOnline<T>.ValueChanged

Declaration
event ValueChangedEventHandlerDelegate IOnline<T>.ValueChanged
Returns
Type Description
ValueChangedEventHandlerDelegate

IShadow<T>.AttributeName

Declaration
string IShadow<T>.AttributeName { get; set; }
Returns
Type Description
System.String

IShadow<T>.AttributeUnits

Declaration
string IShadow<T>.AttributeUnits { get; set; }
Returns
Type Description
System.String

IShadow<T>.Shadow

Declaration
T IShadow<T>.Shadow { get; set; }
Returns
Type Description
T

IShadow<T>.Symbol

Declaration
string IShadow<T>.Symbol { get; }
Returns
Type Description
System.String

IShadow<T>.Value

Declaration
T IShadow<T>.Value { get; set; }
Returns
Type Description
T

IShadow<T>.ValueChanged

Declaration
event ValueChangedEventHandlerDelegate IShadow<T>.ValueChanged
Returns
Type Description
ValueChangedEventHandlerDelegate

Implements

IOnline<T>
IShadow<T>
IValueTag
ITwinPrimitive
IVortexElement
System.ComponentModel.INotifyPropertyChanged
IValueBoundaries<T>

Extension Methods

IValueTagExtensions.SetCyclicValue<T>(OnlinerBaseType, T)
IValueTagExtensions.SetShadowValue(OnlinerBaseType, Object)
IValueTagExtensions.Cast<T>(T, Object)
IValueTagExtensions.GetCyclicValue(OnlinerBaseType)
IValueTagExtensions.GetLastValue(OnlinerBaseType)
IValueTagExtensions.GetShadowValue(OnlinerBaseType)
In This Article
Back to top

Generated by DocFX | Developed with ❤ at MTS - putting the heart into manufacturing.