C# Класс Softing.OPCToolbox.ValueQT

Represents the value of a process variable with its quality and the time it was obtained by the device or by the server's cache.
Наследование: Softing.OPCToolbox.ValueData
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
m_quality EnumQuality
m_timeStamp DateTime

Открытые методы

Метод Описание
IsQualitySet ( ) : bool

Specifies whether the Quality of a ValueQT object is set.

IsTimeStampSet ( ) : bool

Specifies whether the TimeStamp of a ValueQT object is set.

SetData ( object aData, EnumQuality aQuality, DateTime aTimeStamp ) : void

Sets the value, quality and time stamp of a ValueQT.

ToString ( ) : string

Returns the string representation of a ValueQT object.

ValueQT ( ) : System

Initializes a new instance of the ValueQT class. The data inside it is null, the quality is EnumQuality.BAD_WAITING_FOR_INITIAL_DATA and the timestamp is a new instance of the DateTime object.

ValueQT ( object aData, EnumQuality aQuality, DateTime aTimeStamp ) : System

Initializes a new instance of the ValueQT class with the value indicated by a process variable value, the value quality and the time the value was obtained by the device or by the server's cache.

Приватные методы

Метод Описание
ValueQT ( OTValueData &anOtValueData ) : System

Описание методов

IsQualitySet() публичный Метод

Specifies whether the Quality of a ValueQT object is set.
public IsQualitySet ( ) : bool
Результат bool

IsTimeStampSet() публичный Метод

Specifies whether the TimeStamp of a ValueQT object is set.
public IsTimeStampSet ( ) : bool
Результат bool

SetData() публичный Метод

Sets the value, quality and time stamp of a ValueQT.
public SetData ( object aData, EnumQuality aQuality, DateTime aTimeStamp ) : void
aData object
aQuality EnumQuality
aTimeStamp DateTime
Результат void

ToString() публичный Метод

Returns the string representation of a ValueQT object.
public ToString ( ) : string
Результат string

ValueQT() публичный Метод

Initializes a new instance of the ValueQT class. The data inside it is null, the quality is EnumQuality.BAD_WAITING_FOR_INITIAL_DATA and the timestamp is a new instance of the DateTime object.
public ValueQT ( ) : System
Результат System

ValueQT() публичный Метод

Initializes a new instance of the ValueQT class with the value indicated by a process variable value, the value quality and the time the value was obtained by the device or by the server's cache.
public ValueQT ( object aData, EnumQuality aQuality, DateTime aTimeStamp ) : System
aData object
aQuality EnumQuality
aTimeStamp DateTime
Результат System

Описание свойств

m_quality защищенное свойство

The quality for the value of a process variable supplied by an OPC Server.
protected EnumQuality m_quality
Результат EnumQuality

m_timeStamp защищенное свойство

The time the value of a process variable was obtained by the device or by the server's cache.
protected DateTime m_timeStamp
Результат DateTime