TimeBase Class
Base class for PlcOpen Time types.
Inheritance Hierarchy
SystemObject
TwinCAT.PlcOpenTimeBase
TwinCAT.PlcOpenTIME
TwinCAT.PlcOpenTOD
Namespace: TwinCAT.PlcOpen
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version:
7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public abstract class TimeBase : IPlcOpenTimeBase<TimeSpan, uint>,
IPlcOpenTimeBaseThe 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. | |
|
|
Allows an object to try to free resources and perform other
cleanup operations before it is reclaimed by garbage
collection. | |
|
|
Gets the HashCode of the Address | |
|
|
Gets the Type of the current
instance. | |
|
|
Creates a shallow copy of the current Object. | |
|
|
Converts the Timespan to PlcOpen ticks. | |
|
|
Returns a string that represents the current object. | |
|
|
Converts the timeValue (PlcOpen ticks) to TimeSpan | |
|
|
Converts the timeValue (PlcOpen ticks) to TimeSpan |
- TimeBase Constructor (Int64)
- TimeBase Constructor (UInt32)
- TimeBase.InternalTimeValue Property
- TimeBase.MarshalSize Property
- TimeBase.Ticks Property
- TimeBase.Time Property
- TimeBase.Equals Method
- TimeBase.GetHashCode Method
- TimeBase.TimeToValue Method
- TimeBase.ValueToTime Method (Int64)
- TimeBase.ValueToTime Method (UInt32)
- TimeBase.internalTimeValue Field