TimeAttribute class | QSYS API Reference Guide

Provides Time Attribute (for Properties)

Namespace: ASNA.QSys.Expo.Model Assembly: ASNA.QSys.Expo.Model.dll

Inheritance: Object –> Attribute –> FieldAttribute

Remarks

Model Fields are declared as Record Properties. To annotate the Fixed Type as Time, Model properties can use this attribute.

For example,

[Time(TimeAttribute.DdsTimeFormat.USA)]
public DateTime OPENTIME { get; private set; } // Opening Time

Declares a read-only field of Fixed Type Time, with "USA" presentation Time Format, named OPENTIME on a particular Model Record.

Properties

Type Name Description
DdsTimeFormat TimeFormat Gets or sets DDS Date Format (Defaults to ISO)