DateBase Class

PlcOpen Date base class (32-Bit)

Inheritance Hierarchy

System.Object
  TwinCAT.PlcOpen.DateBase
    TwinCAT.PlcOpen.DATE
    TwinCAT.PlcOpen.DT
Namespace:  TwinCAT.PlcOpen
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

public abstract class DateBase : IPlcOpenTimeBase<DateTime, uint>, 
    IPlcOpenTimeBase

The DateBase type exposes the following members.

Constructors

 

Name

Description

DateBase Class 1:

DateBase.

Initializes a new instance of the DateBase class.

DateBase Class 2:

DateBase(DateTime)

Initializes a new instance of the DateBase class.

DateBase Class 3:

DateBase(UInt32)

Initializes a new instance of the DateBase class.

Properties

 

Name

Description

IsDate

Gets a value indicating whether this instance is representig a date (despite date and time)

DateBase Class 4:

DateBase Class 5:

MarshalSize

Gets the marshal size in bytes.

DateBase Class 6:

Ticks

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

Methods

 

Name

Description

DateBase Class 7:

Equals

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

DateBase 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.)

DateBase Class 9:

GetHashCode

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

DateBase Class 10:

GetType

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

DateBase Class 11:

MemberwiseClone

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

DateBase Class 12:

ParseToTicks

Parses the specified PlcOpen Date string to PlcOpen ticks.

DateBase Class 13:

ToString

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

Fields

 

Name

Description

DateBase Class 14:

plcTimeSeconds

PlcTime Seconds (Ticks)

Reference

TwinCAT.PlcOpen Namespace