C# 클래스 OSAERest.api

상속: IRestService
파일 보기 프로젝트 열기: opensourceautomation/Open-Source-Automation

공개 메소드들

메소드 설명
AddObject ( string name, string alias, string description, string type, string address, string container, int mintruestlevel, string enabled ) : System.Boolean
ExecuteMethod ( string name, string method, string param1, string param2 ) : System.Boolean
GetObject ( string name ) : OSAEObject
GetObjectState ( string name ) : OSAE.OSAEObjectState
GetObjectsByBaseType ( string type ) : OSAEObjectCollection
GetObjectsByContainer ( string container ) : OSAEObjectCollection
GetObjectsByType ( string type ) : OSAEObjectCollection
GetPlugins ( ) : OSAEObjectCollection
GetPropertyHistory ( string objName, string propName, string from, string to ) : List
GetStateHistory ( string objName, string from, string to ) : List
GetSystemStates ( ) : List
SendPattern ( string match ) : System.Boolean
SetObjectProperty ( string objName, string propName, string propVal ) : System.Boolean
SetObjectState ( string name, string state ) : System.Boolean
UpdateObject ( string oldName, string newName, string alias, string description, string type, string address, string container, int mintruestlevel, string enabled ) : System.Boolean
getPropertyList ( string objName, string propName ) : List

비공개 메소드들

메소드 설명
StringToBoolean ( string passedvalue ) : bool
getProperties ( string objName ) : OSAEObjectPropertyCollection
oRecognizer_SpeechRecognized ( object sender, System e ) : void

메소드 상세

AddObject() 공개 메소드

public AddObject ( string name, string alias, string description, string type, string address, string container, int mintruestlevel, string enabled ) : System.Boolean
name string
alias string
description string
type string
address string
container string
mintruestlevel int
enabled string
리턴 System.Boolean

ExecuteMethod() 공개 메소드

public ExecuteMethod ( string name, string method, string param1, string param2 ) : System.Boolean
name string
method string
param1 string
param2 string
리턴 System.Boolean

GetObject() 공개 메소드

public GetObject ( string name ) : OSAEObject
name string
리턴 OSAE.OSAEObject

GetObjectState() 공개 메소드

public GetObjectState ( string name ) : OSAE.OSAEObjectState
name string
리턴 OSAE.OSAEObjectState

GetObjectsByBaseType() 공개 메소드

public GetObjectsByBaseType ( string type ) : OSAEObjectCollection
type string
리턴 OSAEObjectCollection

GetObjectsByContainer() 공개 메소드

public GetObjectsByContainer ( string container ) : OSAEObjectCollection
container string
리턴 OSAEObjectCollection

GetObjectsByType() 공개 메소드

public GetObjectsByType ( string type ) : OSAEObjectCollection
type string
리턴 OSAEObjectCollection

GetPlugins() 공개 메소드

public GetPlugins ( ) : OSAEObjectCollection
리턴 OSAEObjectCollection

GetPropertyHistory() 공개 메소드

public GetPropertyHistory ( string objName, string propName, string from, string to ) : List
objName string
propName string
from string
to string
리턴 List

GetStateHistory() 공개 메소드

public GetStateHistory ( string objName, string from, string to ) : List
objName string
from string
to string
리턴 List

GetSystemStates() 공개 메소드

public GetSystemStates ( ) : List
리턴 List

SendPattern() 공개 메소드

public SendPattern ( string match ) : System.Boolean
match string
리턴 System.Boolean

SetObjectProperty() 공개 메소드

public SetObjectProperty ( string objName, string propName, string propVal ) : System.Boolean
objName string
propName string
propVal string
리턴 System.Boolean

SetObjectState() 공개 메소드

public SetObjectState ( string name, string state ) : System.Boolean
name string
state string
리턴 System.Boolean

UpdateObject() 공개 메소드

public UpdateObject ( string oldName, string newName, string alias, string description, string type, string address, string container, int mintruestlevel, string enabled ) : System.Boolean
oldName string
newName string
alias string
description string
type string
address string
container string
mintruestlevel int
enabled string
리턴 System.Boolean

getPropertyList() 공개 메소드

public getPropertyList ( string objName, string propName ) : List
objName string
propName string
리턴 List