C# 클래스 OSAE.OSAEObjectPropertyManager

Can be used to manager the properties of an object in OSA
파일 보기 프로젝트 열기: opensourceautomation/Open-Source-Automation 1 사용 예제들

공개 메소드들

메소드 설명
GetObjectProperties ( string ObjectName ) : OSAEObjectPropertyCollection

The the properties of an object

GetObjectPropertyValue ( string ObjectName, string ObjectProperty ) : OSAE.OSAEObjectProperty

Returns an OSAEObjectProperty whcih contains the value, type, ID, last updated, and name

ObjectPropertyArrayAdd ( string objectName, string propertyName, string propertyValue, string propertyLabel ) : void

propertyLabel is usually left null

ObjectPropertyArrayDelete ( string objectName, string propertyName, string propertyValue ) : void

Deletes an item from a property array

ObjectPropertyArrayDeleteAll ( string objectName, string propertyName ) : void

Deletes all items from a property array

ObjectPropertyArrayGetAll ( string objectName, string propertyName ) : DataSet

Returns a Dataset of all the item in the property array

ObjectPropertyArrayGetRandom ( string objectName, string propertyName ) : string

Get one random value from a property array

ObjectPropertyArrayUpdate ( string objectName, string propertyName, string oldPropertyValue, string newPropertyValue, string newPropertyLabel ) : void

propertyLabel is usually left null

ObjectPropertyExists ( string objectName, string propertyName ) : System.Boolean

Check if object's property exists

ObjectPropertyHistoryGet ( string objectName, string propertyName, string from, string to ) : DataSet
ObjectPropertyListGet ( string objectName ) : DataSet
ObjectPropertyScraperAdd ( string objectName, string propertyName, string URL, string Prefix, int PrefixOffset, string Suffix, string UpdateInterval ) : void

propertyLabel is usually left null

ObjectPropertyScraperDelete ( int scraperid ) : void

propertyLabel is usually left null

ObjectPropertyScraperUpdate ( int scraperid, string objectName, string propertyName, string URL, string Prefix, int PrefixOffset, string Suffix, string UpdateInterval ) : void

propertyLabel is usually left null

ObjectPropertySet ( string objectName, string propertyName, string propertyValue, string source ) : void

Set the value of a object's property

메소드 상세

GetObjectProperties() 공개 정적인 메소드

The the properties of an object
public static GetObjectProperties ( string ObjectName ) : OSAEObjectPropertyCollection
ObjectName string The object to get the proeprties of
리턴 OSAEObjectPropertyCollection

GetObjectPropertyValue() 공개 정적인 메소드

Returns an OSAEObjectProperty whcih contains the value, type, ID, last updated, and name
public static GetObjectPropertyValue ( string ObjectName, string ObjectProperty ) : OSAE.OSAEObjectProperty
ObjectName string The name of the object to get the property of
ObjectProperty string
리턴 OSAE.OSAEObjectProperty

ObjectPropertyArrayAdd() 공개 정적인 메소드

propertyLabel is usually left null
public static ObjectPropertyArrayAdd ( string objectName, string propertyName, string propertyValue, string propertyLabel ) : void
objectName string
propertyName string
propertyValue string
propertyLabel string
리턴 void

ObjectPropertyArrayDelete() 공개 정적인 메소드

Deletes an item from a property array
public static ObjectPropertyArrayDelete ( string objectName, string propertyName, string propertyValue ) : void
objectName string
propertyName string
propertyValue string
리턴 void

ObjectPropertyArrayDeleteAll() 공개 정적인 메소드

Deletes all items from a property array
public static ObjectPropertyArrayDeleteAll ( string objectName, string propertyName ) : void
objectName string
propertyName string
리턴 void

ObjectPropertyArrayGetAll() 공개 정적인 메소드

Returns a Dataset of all the item in the property array
public static ObjectPropertyArrayGetAll ( string objectName, string propertyName ) : DataSet
objectName string
propertyName string
리턴 System.Data.DataSet

ObjectPropertyArrayGetRandom() 공개 정적인 메소드

Get one random value from a property array
public static ObjectPropertyArrayGetRandom ( string objectName, string propertyName ) : string
objectName string
propertyName string
리턴 string

ObjectPropertyArrayUpdate() 공개 정적인 메소드

propertyLabel is usually left null
public static ObjectPropertyArrayUpdate ( string objectName, string propertyName, string oldPropertyValue, string newPropertyValue, string newPropertyLabel ) : void
objectName string
propertyName string
oldPropertyValue string
newPropertyValue string
newPropertyLabel string
리턴 void

ObjectPropertyExists() 공개 정적인 메소드

Check if object's property exists
public static ObjectPropertyExists ( string objectName, string propertyName ) : System.Boolean
objectName string The name of the object
propertyName string The name of the property
리턴 System.Boolean

ObjectPropertyHistoryGet() 공개 정적인 메소드

public static ObjectPropertyHistoryGet ( string objectName, string propertyName, string from, string to ) : DataSet
objectName string
propertyName string
from string
to string
리턴 System.Data.DataSet

ObjectPropertyListGet() 공개 정적인 메소드

public static ObjectPropertyListGet ( string objectName ) : DataSet
objectName string
리턴 System.Data.DataSet

ObjectPropertyScraperAdd() 공개 정적인 메소드

propertyLabel is usually left null
public static ObjectPropertyScraperAdd ( string objectName, string propertyName, string URL, string Prefix, int PrefixOffset, string Suffix, string UpdateInterval ) : void
objectName string
propertyName string
URL string
Prefix string
PrefixOffset int
Suffix string
UpdateInterval string
리턴 void

ObjectPropertyScraperDelete() 공개 정적인 메소드

propertyLabel is usually left null
public static ObjectPropertyScraperDelete ( int scraperid ) : void
scraperid int
리턴 void

ObjectPropertyScraperUpdate() 공개 정적인 메소드

propertyLabel is usually left null
public static ObjectPropertyScraperUpdate ( int scraperid, string objectName, string propertyName, string URL, string Prefix, int PrefixOffset, string Suffix, string UpdateInterval ) : void
scraperid int
objectName string
propertyName string
URL string
Prefix string
PrefixOffset int
Suffix string
UpdateInterval string
리턴 void

ObjectPropertySet() 공개 정적인 메소드

Set the value of a object's property
public static ObjectPropertySet ( string objectName, string propertyName, string propertyValue, string source ) : void
objectName string The name of the object
propertyName string The name of the property
propertyValue string The value of the property
source string
리턴 void