LTimeBase Class

Time base class

Inheritance Hierarchy

System.Object
  TwinCAT.PlcOpen.LTimeBase
    TwinCAT.PlcOpen.LTIME
Namespace:  TwinCAT.PlcOpen
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

public abstract class LTimeBase : IPlcOpenTimeBase<TimeSpan, ulong>, 
    IPlcOpenTimeBase

The LTimeBase type exposes the following members.

Constructors

 

Name

Description

LTimeBase Class 1:

LTimeBase.

Initializes a new instance of the TimeBase class.

LTimeBase Class 2:

LTimeBase(UInt64)

Initializes a new instance of the TimeBase class.

Properties

 

Name

Description

LTimeBase Class 3:

LTimeBase Class 4:

MarshalSize

Gets the marshal size in bytes.

LTimeBase Class 5:

Ticks

Returns the number of ticks that represent the value of this LTimeBase.

LTimeBase Class 6:

Time

Gets or the time value.

Methods

 

Name

Description

LTimeBase Class 7:

Equals

Determines whether the specified Object is equal to this instance. (Overrides Object.Equals(Object).)

LTimeBase Class 8:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

LTimeBase Class 9:

GetHashCode

Gets the HashCode of the Address (Overrides Object.GetHashCode..)

LTimeBase Class 10:

GetType

Gets the Type of the current instance. (Inherited from Object.)

LTimeBase Class 11:

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

LTimeBase Class 12:

LTimeBase Class 13:

TimeToValue

Converts the Timespan to PlcOpen ticks.

LTimeBase Class 14:

ToString

Returns a string that represents the current object. (Inherited from Object.)

LTimeBase Class 15:

LTimeBase Class 16:

ValueToTime(Int64)

Converts the timeValue (PlcOpen ticks) to TimeSpan

LTimeBase Class 17:

LTimeBase Class 18:

ValueToTime(UInt64)

Converts the timeValue (PlcOpen ticks) to TimeSpan

Fields

 

Name

Description

LTimeBase Class 19:

internalTimeValue

The internal time value

Reference

TwinCAT.PlcOpen Namespace