Class OnlinerString
Class providing access to the STRING type online variable.
Implements
Inherited Members
Namespace: AXSharp.Connector.ValueTypes
Assembly: AXSharp.Connector.dll
Syntax
public class OnlinerString : OnlinerBase<string>, ITwinPrimitive, ITwinElement, INotifyPropertyChanged, IValueBoundaries<string>, IOnlineString, IOnline<string>, IShadowString, IShadow<string>
Constructors
| Edit this page View SourceOnlinerString()
Initializes a new instance of the OnlinerString class.
Declaration
public OnlinerString()
OnlinerString(ITwinObject, string, string)
Initializes a new instance of the OnlinerString class.
Declaration
public OnlinerString(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of this instance. |
string | readableTail | Human readable tail of this instance. |
string | symbolTail | Symbol tail of this instance. |
Properties
| Edit this page View SourceCyclic
Declaration
public override string Cyclic { get; set; }
Property Value
Type | Description |
---|---|
string |
Overrides
| Edit this page View SourceInstanceMaxValue
Gets the max value for this instance.
Declaration
public override string InstanceMaxValue { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
| Edit this page View SourceInstanceMinValue
Gets the min value for this instance.
Declaration
public override string InstanceMinValue { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
| Edit this page View SourceGetAsync()
Gets the value of this OnlinerString.
Declaration
public override Task<string> GetAsync()
Returns
Type | Description |
---|---|
Task<string> |
Overrides
| Edit this page View SourceGetAsync(CultureInfo)
Gets value translated in give CultureInfo
Declaration
public override Task<string> GetAsync(CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
CultureInfo | culture | Culture into which the value should be translated. |
Returns
Type | Description |
---|---|
Task<string> | Translated value. |
Overrides
| Edit this page View SourceGetCyclic(CultureInfo)
Gets Cyclic translated with provided CultureInfo
Declaration
public override string GetCyclic(CultureInfo culture = null)
Parameters
Type | Name | Description |
---|---|---|
CultureInfo | culture | Desired culture. |
Returns
Type | Description |
---|---|
string | Translated value |
Overrides
| Edit this page View SourceSetAsync(string)
Sets the value of this OnlinerString.
Declaration
public override Task<string> SetAsync(string value)
Parameters
Type | Name | Description |
---|---|---|
string | value | Value to be set |
Returns
Type | Description |
---|---|
Task<string> |