TimeBase Class
Base class for PlcOpen Time types.
Inheritance Hierarchy
System.Object
TwinCAT.PlcOpen.TimeBase
TwinCAT.PlcOpen.TIME
TwinCAT.PlcOpen.TOD
Namespace: TwinCAT.PlcOpen
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229
Syntax
C#
public abstract class TimeBase : IPlcOpenTimeBase<TimeSpan, uint>,
IPlcOpenTimeBase
The TimeBase type exposes the following members.
Constructors
|
Name |
Description |
---|---|---|
|
Initializes a new instance of the TimeBase class. | |
|
Initializes a new instance of the TimeBase class. | |
|
Initializes a new instance of the TimeBase class. |
Properties
|
Name |
Description |
---|---|---|
|
Gets the internal time value. | |
|
Gets the marshal size in bytes. | |
|
Returns the number of ticks that represent the value of this TimeBase (uint32 or uint64). | |
|
Gets the time value. |
Methods
|
Name |
Description |
---|---|---|
|
Determines whether the specified Object is equal to this instance. (Overrides Object.Equals(Object).) | |
|
Finalize |
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..) | |
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Converts the Timespan to PlcOpen ticks. | |
|
ToString |
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 |