AX#

Search Results for

    Show / Hide Table of Contents

    Class WebApiLDateTime

    Represents wrapper for a PLC LDATE_AND_TIME variable.

    Inheritance
    object
    OnlinerBase
    OnlinerBase<DateTime>
    OnlinerLDateTime
    WebApiLDateTime
    Implements
    INotifyPropertyChanged
    IValueBoundaries<DateTime>
    IOnlineLDateTime
    IOnline<DateTime>
    IShadowLDateTime
    IShadow<DateTime>
    ITwinPrimitive
    ITwinElement
    Inherited Members
    OnlinerLDateTime.MaxValue
    OnlinerLDateTime.MinValue
    OnlinerLDateTime.InstanceMaxValue
    OnlinerLDateTime.InstanceMinValue
    OnlinerBase<DateTime>.validator
    OnlinerBase<DateTime>.EditValueChange
    OnlinerBase<DateTime>.ShadowValueChange
    OnlinerBase<DateTime>.Validator
    OnlinerBase<DateTime>.SetLastValue
    OnlinerBase<DateTime>.CyclicToWrite
    OnlinerBase<DateTime>.Cyclic
    OnlinerBase<DateTime>.GetCyclic(CultureInfo)
    OnlinerBase<DateTime>.Edit
    OnlinerBase<DateTime>.Shadow
    OnlinerBase<DateTime>.Raw
    OnlinerBase<DateTime>.AttributeUnits
    OnlinerBase<DateTime>.AttributeToolTip
    OnlinerBase<DateTime>.GetAttributeToolTip(CultureInfo)
    OnlinerBase<DateTime>.VariableInfo
    OnlinerBase<DateTime>.ReadFromPlcIsRequested
    OnlinerBase<DateTime>.AttributeMaximum
    OnlinerBase<DateTime>.AttributeMinimum
    OnlinerBase<DateTime>.LastValue
    OnlinerBase<DateTime>.IsSubscribed
    OnlinerBase<DateTime>.UpdateRead(DateTime)
    OnlinerBase<DateTime>.GetLastAvailableValue()
    OnlinerBase<DateTime>.InitializeDefaults()
    OnlinerBase<DateTime>.GetAsync(CultureInfo)
    OnlinerBase<DateTime>.ShadowValueChangeEvent
    OnlinerBase<DateTime>.HasWriteAccess()
    OnlinerBase<DateTime>.ReadFromItem()
    OnlinerBase<DateTime>.WriteItem()
    OnlinerBase<DateTime>.GetDeclaringAssembly()
    OnlinerBase<DateTime>.FromOnlineToShadow()
    OnlinerBase<DateTime>.FromShadowToOnline()
    OnlinerBase.PollingInterval
    OnlinerBase.AttributeFormatString
    OnlinerBase.SymbolTail
    OnlinerBase.Parent
    OnlinerBase.SubscribeForPeriodicReading()
    OnlinerBase.ReadWriteAccess
    OnlinerBase.MakeReadOnly()
    OnlinerBase.ReadOnce
    OnlinerBase.MakeReadOnce()
    OnlinerBase.GetSymbolTail()
    OnlinerBase.GetParent()
    OnlinerBase.Poll()
    OnlinerBase.Interpreter
    OnlinerBase.Subscribe(ValueChangedEventHandlerDelegate)
    OnlinerBase.Subscribe()
    OnlinerBase.UnSubscribe(ValueChangedEventHandlerDelegate)
    OnlinerBase.AccessStatus
    OnlinerBase.Symbol
    OnlinerBase.AttributeName
    OnlinerBase.GetAttributeName(CultureInfo)
    OnlinerBase.HumanReadable
    OnlinerBase.GetHumanReadable(CultureInfo)
    OnlinerBase.CreateSymbol(string, string)
    OnlinerBase.ValueChangeEvent
    OnlinerBase.GetValueChangeEventSubscribers()
    OnlinerBase.OnValueChangeEvent(object)
    OnlinerBase.PropertyChanged
    OnlinerBase.NotifyPropertyChanged(string)
    OnlinerBase.AddToPeriodicQueue()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: AXSharp.Connector.S71500.WebApi
    Assembly: AXSharp.Connector.S71500.WebAPI.dll
    Syntax
    public class WebApiLDateTime : OnlinerLDateTime, INotifyPropertyChanged, IValueBoundaries<DateTime>, IOnlineLDateTime, IOnline<DateTime>, IShadowLDateTime, IShadow<DateTime>, ITwinPrimitive, ITwinElement

    Constructors

    | Edit this page View Source

    WebApiLDateTime()

    Initializes a new instance of the OnlinerDateTime class.

    Declaration
    public WebApiLDateTime()
    | Edit this page View Source

    WebApiLDateTime(ITwinObject, string, string)

    Initializes a new instance of the OnlinerLDateTime class.

    Declaration
    public WebApiLDateTime(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 Source

    GetAsync()

    Gets the value of this variable from the controller asynchronously.

    Declaration
    public override Task<DateTime> GetAsync()
    Returns
    Type Description
    Task<DateTime>
    Overrides
    OnlinerBase<DateTime>.GetAsync()
    Remarks

    This method accesses the item in a single request over communication layer; accessing multiple items may result in performance degradation over the communication interface with the target system. This method is to be used only when you need the item to be read from the PLC and the return the control of the program. Consider using ITwinObjects ReadAsync(ITwinObject) or WriteAsync(ITwinObject) methods for bulk access to entire structures.

    | Edit this page View Source

    Read(string)

    Declaration
    public void Read(string value)
    Parameters
    Type Name Description
    string value
    | Edit this page View Source

    SetAsync(DateTime)

    Sets the value of this variable to the controller asynchronously.

    Declaration
    public override Task<DateTime> SetAsync(DateTime value)
    Parameters
    Type Name Description
    DateTime value
    Returns
    Type Description
    Task<DateTime>
    Overrides
    OnlinerBase<DateTime>.SetAsync(DateTime)
    Remarks

    This method accesses the item in a single request over communication layer; accessing multiple items may result in performance degradation over the communication interface with the target system. This method is to be used only when you need the item to be read from the PLC and the return the control of the program. Consider using ITwinObjects ReadAsync(ITwinObject) or WriteAsync(ITwinObject) methods for bulk access to entire structures.

    Implements

    INotifyPropertyChanged
    IValueBoundaries<T>
    IOnlineLDateTime
    IOnline<T>
    IShadowLDateTime
    IShadow<T>
    ITwinPrimitive
    ITwinElement

    Extension Methods

    TranslatorExtension.Translate(ITwinElement, string, CultureInfo)
    TwinObjectExtensions.HasAttribute<T>(ITwinElement)
    TwinObjectExtensions.StartPolling(ITwinElement, int, object)
    TwinObjectExtensions.StopPolling(ITwinElement, object)
    TwinPrimitiveExtensions.GetAttribute<T>(ITwinElement)
    TwinPrimitiveExtensions.GetPropertyInfoViaSymbol(ITwinElement)
    TwinPrimitiveExtensions.GetCyclicValue<T>(OnlinerBase)
    TwinPrimitiveExtensions.GetLastValue<T>(OnlinerBase)
    TwinPrimitiveExtensions.GetShadowValue<T>(OnlinerBase)
    TwinPrimitiveExtensions.SetCyclicValue<T>(OnlinerBase, T)
    TwinPrimitiveExtensions.SetShadowValue<T>(OnlinerBase, T)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • WebApiLDateTime()
      • WebApiLDateTime(ITwinObject, string, string)
    • Methods
      • GetAsync()
      • Read(string)
      • SetAsync(DateTime)
    • Implements
    • Extension Methods
    Back to top Generated by DocFx. © MTS spol. s r.o., MTS spol. s r.o., and awesome contributors