Class WebApiString
Represents wrapper for a PLC STRING variable.
Implements
Inherited Members
Namespace: AXSharp.Connector.S71500.WebApi
Assembly: AXSharp.Connector.S71500.WebAPI.dll
Syntax
public class WebApiString : OnlinerString, INotifyPropertyChanged, IValueBoundaries<string>, IOnlineString, IOnline<string>, IShadowString, IShadow<string>, ITwinPrimitive, ITwinElement
Constructors
| Edit this page View SourceWebApiString()
Initializes a new instance of the OnlinerString class.
Declaration
public WebApiString()
WebApiString(ITwinObject, string, string)
Initializes a new instance of the OnlinerString class.
Declaration
public WebApiString(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. |
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 SourceRead(string)
Declaration
public void Read(string result)
Parameters
Type | Name | Description |
---|---|---|
string | result |
SetAsync(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> |