메소드 | 설명 | |
---|---|---|
GetBinaryFromGeneral ( byte bytes ) : byte[] |
Returns a byte array which append the length of the Input as the first two bytes of input Byte array.
|
|
GetPropertyByName ( List |
The extended method for List of PropertyObj to find the exact one by property name.
|
|
GetPropertyNameByID ( uint propertyID, uint propertyType ) : PropertyNames |
Find a property name from dictionary by property ID.
|
|
GetPropertyObjFromBuffer ( |
Override GetPropertyObjFromBuffer with PropertyTag list type.
|
|
GetPropertyObjFromBuffer ( |
Override GetPropertyObjFromBuffer without PropertyTag list type. Instead of that the properties will be collected from response.
|
|
GetPropertyObjFromBuffer ( PropertyObj property, byte bytes ) : PropertyObj |
Get a property's value from bytes.
|
|
Initialize ( ITestSite testSite ) : void |
Initialize the AdapterHelper class.
|
|
InitializePropertyTagDic ( ) : void |
Initialize the dictionary for Property name and PropertyTag.
|
|
IsErrorCode ( byte responseValue ) : bool |
Check whether the return value in response is error.
|
|
IsErrorCode ( object responseValue ) : bool |
Check whether the return value in response is error.
|
|
IsPropertyValid ( PropertyObj property ) : bool |
Determine whether the property value is valid.
|
메소드 | 설명 | |
---|---|---|
AddPropertyTagToDic ( PropertyNames propertyName, |
Add a PropertyTag object to PropertyTag dictionary.
|
public static GetBinaryFromGeneral ( byte bytes ) : byte[] | ||
bytes | byte | The input Byte array |
리턴 | byte[] |
public static GetPropertyByName ( List |
||
propertyList | List |
List of PropertyObj |
propertyName | PropertyNames | A property name value |
리턴 | PropertyObj |
public static GetPropertyNameByID ( uint propertyID, uint propertyType ) : PropertyNames | ||
propertyID | uint | A unsigned integer value |
propertyType | uint | Property type code |
리턴 | PropertyNames |
public static GetPropertyObjFromBuffer ( |
||
propertyTags | List of PropertyTag | |
response | RopGetPropertiesSpecificResponse packet | |
리턴 | List |
public static GetPropertyObjFromBuffer ( |
||
response | RopGetPropertiesAllResponse packet | |
리턴 | List |
public static GetPropertyObjFromBuffer ( PropertyObj property, byte bytes ) : PropertyObj | ||
property | PropertyObj | Send the property |
bytes | byte | The response buffer binary bytes |
리턴 | PropertyObj |
public static Initialize ( ITestSite testSite ) : void | ||
testSite | ITestSite | The instance of ITestSite. |
리턴 | void |
public static IsErrorCode ( byte responseValue ) : bool | ||
responseValue | byte | The response value |
리턴 | bool |
public static IsErrorCode ( object responseValue ) : bool | ||
responseValue | object | The response value |
리턴 | bool |
public static IsPropertyValid ( PropertyObj property ) : bool | ||
property | PropertyObj | The input PropertyObj. |
리턴 | bool |