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
파일 보기 프로젝트 열기: SoftingIndustrial/OPC-Classic-SDK 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
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