C# 클래스 Quickstarts.TestData

파일 보기 프로젝트 열기: OPCFoundation/UA-.NET 1 사용 예제들

공개 메소드들

메소드 설명
AddDataSet ( ProcessedDataSetType dataset ) : void

Adds a new dataset.

FindBestMatch ( string rawDataSetName, ProcessedDataSetType target ) : ProcessedDataSetType

Finds the best match for the target.

FindProcessedDataSet ( string dataSetName ) : ProcessedDataSetType

Finds the processed dataset with the specified name.

FindRawDataSet ( string dataSetName ) : RawDataSetType

Finds the raw dataset with the specified name.

FormatQuality ( Opc.Ua.StatusCode statusCode ) : string

Formats a StatusCide as string for serilization or display.

FormatTimestamp ( System.DateTime timestamp ) : string

Formats a timestamp as string for serilization or display.

FormatValue ( Variant value ) : string

Formats a value as string for serilization or display.

GetName ( ProcessedDataSetType dataset ) : string

Constructs a name for the processed dataset.

GetProcessedDataSets ( string rawDataSetName ) : Quickstarts.ProcessedDataSetType[]

Finds the processed dataset for the specified raw data set.

GetProcessedValues ( ProcessedDataSetType dataset ) : DataValue>.SortedDictionary

Returns the values in the specified processed dataset.

GetRawValues ( string dataSetName ) : DataValue>.SortedDictionary

Returns the values in the specified raw dataset.

RemoveDataSet ( ProcessedDataSetType dataset ) : void

Removes a dataset.

SetProcessedValues ( ProcessedDataSetType dataset, IList newValues ) : void

Sets the values for the specified processed dataset.

UpdateProcessedValues ( ProcessedDataSetType dataset ) : void

Adds or updates a values in the specified processed dataset.

ValidateQuality ( object formattedValue ) : Opc.Ua.StatusCode

Validates the formatted HA quality code and returns a StatusCode.

ValidateTimestamp ( object formattedValue ) : System.DateTime

Validates the formatted HA value and returns a Variant.

ValidateValue ( object formattedValue ) : Variant

Validates the formatted HA value and returns a Variant.

비공개 메소드들

메소드 설명
ToDataValues ( ValueType values ) : DataValue>.SortedDictionary

Converts a list of test values to a list of DataValues.

ToValueTypes ( DataValue>.SortedDictionary values ) : ValueType[]

Converts a list of DataValues to a list of test values.

메소드 상세

AddDataSet() 공개 메소드

Adds a new dataset.
public AddDataSet ( ProcessedDataSetType dataset ) : void
dataset ProcessedDataSetType
리턴 void

FindBestMatch() 공개 메소드

Finds the best match for the target.
public FindBestMatch ( string rawDataSetName, ProcessedDataSetType target ) : ProcessedDataSetType
rawDataSetName string
target ProcessedDataSetType
리턴 ProcessedDataSetType

FindProcessedDataSet() 공개 메소드

Finds the processed dataset with the specified name.
public FindProcessedDataSet ( string dataSetName ) : ProcessedDataSetType
dataSetName string
리턴 ProcessedDataSetType

FindRawDataSet() 공개 메소드

Finds the raw dataset with the specified name.
public FindRawDataSet ( string dataSetName ) : RawDataSetType
dataSetName string
리턴 RawDataSetType

FormatQuality() 공개 정적인 메소드

Formats a StatusCide as string for serilization or display.
public static FormatQuality ( Opc.Ua.StatusCode statusCode ) : string
statusCode Opc.Ua.StatusCode
리턴 string

FormatTimestamp() 공개 정적인 메소드

Formats a timestamp as string for serilization or display.
public static FormatTimestamp ( System.DateTime timestamp ) : string
timestamp System.DateTime
리턴 string

FormatValue() 공개 정적인 메소드

Formats a value as string for serilization or display.
public static FormatValue ( Variant value ) : string
value Variant
리턴 string

GetName() 공개 정적인 메소드

Constructs a name for the processed dataset.
public static GetName ( ProcessedDataSetType dataset ) : string
dataset ProcessedDataSetType
리턴 string

GetProcessedDataSets() 공개 메소드

Finds the processed dataset for the specified raw data set.
public GetProcessedDataSets ( string rawDataSetName ) : Quickstarts.ProcessedDataSetType[]
rawDataSetName string
리턴 Quickstarts.ProcessedDataSetType[]

GetProcessedValues() 공개 메소드

Returns the values in the specified processed dataset.
public GetProcessedValues ( ProcessedDataSetType dataset ) : DataValue>.SortedDictionary
dataset ProcessedDataSetType
리턴 DataValue>.SortedDictionary

GetRawValues() 공개 메소드

Returns the values in the specified raw dataset.
public GetRawValues ( string dataSetName ) : DataValue>.SortedDictionary
dataSetName string
리턴 DataValue>.SortedDictionary

RemoveDataSet() 공개 메소드

Removes a dataset.
public RemoveDataSet ( ProcessedDataSetType dataset ) : void
dataset ProcessedDataSetType
리턴 void

SetProcessedValues() 공개 메소드

Sets the values for the specified processed dataset.
public SetProcessedValues ( ProcessedDataSetType dataset, IList newValues ) : void
dataset ProcessedDataSetType
newValues IList
리턴 void

UpdateProcessedValues() 공개 메소드

Adds or updates a values in the specified processed dataset.
public UpdateProcessedValues ( ProcessedDataSetType dataset ) : void
dataset ProcessedDataSetType
리턴 void

ValidateQuality() 공개 정적인 메소드

Validates the formatted HA quality code and returns a StatusCode.
public static ValidateQuality ( object formattedValue ) : Opc.Ua.StatusCode
formattedValue object
리턴 Opc.Ua.StatusCode

ValidateTimestamp() 공개 정적인 메소드

Validates the formatted HA value and returns a Variant.
public static ValidateTimestamp ( object formattedValue ) : System.DateTime
formattedValue object
리턴 System.DateTime

ValidateValue() 공개 정적인 메소드

Validates the formatted HA value and returns a Variant.
public static ValidateValue ( object formattedValue ) : Variant
formattedValue object
리턴 Variant