LTimeBase Class
Time base class
Inheritance Hierarchy
System.Object
TwinCAT.PlcOpen.LTimeBase
TwinCAT.PlcOpen.LTIME
Namespace: TwinCAT.PlcOpen
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 4.3.0.0
Syntax
C#
public abstract class LTimeBase : IPlcOpenType<TimeSpan, ulong>,
IPlcOpenType
VB
Public MustInherit Class LTimeBase
Implements IPlcOpenType(Of TimeSpan, ULong),
IPlcOpenType
The LTimeBase type exposes the following members.
Constructors
|
Name |
Description |
---|---|---|
|
Initializes a new instance of the TimeBase class. | |
|
Initializes a new instance of the TimeBase class. |
Properties
|
Name |
Description |
---|---|---|
|
Gets the marshal size in bytes. | |
|
Returns the number of ticks that represent the value of this IPlcOpenType (uint32 or uint64). | |
|
Gets or the time value. |
Methods
|
Name |
Description |
---|---|---|
|
Determines whether the specified Object is equal to this instance. (Overrides Object.Equals(Object).) | |
|
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
|
Gets the HashCode of the Address (Overrides Object.GetHashCode..) | |
|
Gets the Type of the current instance. (Inherited from Object.) | |
|
Creates a shallow copy of the current Object. (Inherited from Object.) | |
|
Converts the Timespan to PlcOpen ticks. | |
|
Returns a string that represents the current object. (Inherited from Object.) | |
|
Converts the timeValue (PlcOpen ticks) to TimeSpan | |
|
Converts the timeValue (PlcOpen ticks) to TimeSpan |