DateBase Class

PlcOpen Date base class (32-Bit)

Inheritance Hierarchy

SystemObject
  TwinCAT.PlcOpenDateBase
    TwinCAT.PlcOpenDATE
    TwinCAT.PlcOpenDT

Namespace: TwinCAT.PlcOpen
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

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 ObjectEquals(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 ObjectGetHashCode)

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

Beckhoff Automation GmbH & Co. KG 2001-2026