C# Class 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.
Inheritance: Softing.OPCToolbox.ValueData
Afficher le fichier Open project: SoftingIndustrial/OPC-Classic-SDK Class Usage Examples

Protected Properties

Свойство Type Description
m_quality EnumQuality
m_timeStamp DateTime

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
ValueQT ( OTValueData &anOtValueData ) : System

Method Details

IsQualitySet() public méthode

Specifies whether the Quality of a ValueQT object is set.
public IsQualitySet ( ) : bool
Résultat bool

IsTimeStampSet() public méthode

Specifies whether the TimeStamp of a ValueQT object is set.
public IsTimeStampSet ( ) : bool
Résultat bool

SetData() public méthode

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
Résultat void

ToString() public méthode

Returns the string representation of a ValueQT object.
public ToString ( ) : string
Résultat string

ValueQT() public méthode

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
Résultat System

ValueQT() public méthode

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
Résultat System

Property Details

m_quality protected_oe property

The quality for the value of a process variable supplied by an OPC Server.
protected EnumQuality m_quality
Résultat EnumQuality

m_timeStamp protected_oe property

The time the value of a process variable was obtained by the device or by the server's cache.
protected DateTime m_timeStamp
Résultat DateTime