C# 클래스 OSAE.OSAEObjectTypeManager

The class is used to manage OSA ObjectTypes
파일 보기 프로젝트 열기: opensourceautomation/Open-Source-Automation 1 사용 예제들

공개 메소드들

메소드 설명
ObjectTypeAdd ( string Name, string Description, string OwnedBy, string BaseType, bool TypeOwner, bool SystemType, bool Container, bool HideRedundantEvents ) : void

Create new object type

ObjectTypeClone ( string NewObjectTypeName, string BaseObjectTypeName ) : void

Object type Clone

ObjectTypeDelete ( string Name ) : void

Delete an object type

ObjectTypeEventAdd ( string ObjectType, string Name, string Label, string tooltip ) : void

Add an event top an existing object type

ObjectTypeEventDelete ( string Name, string ObjectType ) : void

Delete an event from an object type

ObjectTypeEventUpdate ( string oldName, string newName, string label, string objectType, string tooltip ) : void

Update an existing event on an object type

ObjectTypeExists ( string name ) : bool
ObjectTypeExport ( string ObjectTypeName ) : string

Get Export script for object type

ObjectTypeLoad ( string name ) : OSAEObjectType

Loads the requested object Type

ObjectTypeMethodAdd ( string ObjectType, string Name, string Label, string ParamLabel1, string ParamLabel2, string ParamDefault1, string ParamDefault2, string tooltip ) : void

Add a method to an object type

ObjectTypeMethodDelete ( string Name, string ObjectType ) : void

Delete a method from an object type

ObjectTypeMethodExists ( string typeName, string methodName ) : bool
ObjectTypeMethodUpdate ( string oldName, string newName, string label, string objectType, string paramLabel1, string paramLabel2, string ParamDefault1, string ParamDefault2, string tooltip ) : void

Update an existing method on an object type

ObjectTypePropertyAdd ( string ObjectType, string Name, string ParameterType, string ParameterObjectType, string ParameterDefault, bool TrackHistory, bool Required, string tooltip ) : void

Add a property to an object type

ObjectTypePropertyDelete ( string Name, string ObjectType ) : void

Delete a property from on object type

ObjectTypePropertyOptionAdd ( string objectType, string propertyName, string option ) : void
ObjectTypePropertyOptionDelete ( string objectType, string propertyName, string option ) : void
ObjectTypePropertyOptionUpdate ( string objectType, string propertyName, string newoption, string oldoption ) : void
ObjectTypePropertyUpdate ( string oldName, string newName, string ParameterType, string ParameterObjectType, string ParameterDefault, string objectType, bool TrackHistory, bool Required, string tooltip ) : void

Update an existing property on an object type

ObjectTypeStateAdd ( string ObjectType, string Name, string Label, string tooltip ) : void

Add a state to an object type

ObjectTypeStateDelete ( string Name, string ObjectType ) : void

Delete a state from an object type

ObjectTypeStateUpdate ( string oldName, string newName, string newLabel, string objectType, string tooltip ) : void

Update an existing state from an object type

ObjectTypeUpdate ( string oldName, string newName, string Description, string OwnedBy, string BaseType, bool TypeOwner, bool SystemType, bool Container, bool HideRedundantEvents, string Tooltip ) : void

Update an existing object type

메소드 상세

ObjectTypeAdd() 공개 정적인 메소드

Create new object type
public static ObjectTypeAdd ( string Name, string Description, string OwnedBy, string BaseType, bool TypeOwner, bool SystemType, bool Container, bool HideRedundantEvents ) : void
Name string The name of the new object type
Description string The description of the new object type
OwnedBy string Who the new object type is owned by
BaseType string The base type of the new object
TypeOwner bool
SystemType bool
Container bool The container for the new object type
HideRedundantEvents bool
리턴 void

ObjectTypeClone() 공개 정적인 메소드

Object type Clone
public static ObjectTypeClone ( string NewObjectTypeName, string BaseObjectTypeName ) : void
NewObjectTypeName string
BaseObjectTypeName string
리턴 void

ObjectTypeDelete() 공개 정적인 메소드

Delete an object type
public static ObjectTypeDelete ( string Name ) : void
Name string
리턴 void

ObjectTypeEventAdd() 공개 정적인 메소드

Add an event top an existing object type
public static ObjectTypeEventAdd ( string ObjectType, string Name, string Label, string tooltip ) : void
ObjectType string
Name string
Label string
tooltip string
리턴 void

ObjectTypeEventDelete() 공개 정적인 메소드

Delete an event from an object type
public static ObjectTypeEventDelete ( string Name, string ObjectType ) : void
Name string
ObjectType string
리턴 void

ObjectTypeEventUpdate() 공개 정적인 메소드

Update an existing event on an object type
public static ObjectTypeEventUpdate ( string oldName, string newName, string label, string objectType, string tooltip ) : void
oldName string
newName string
label string
objectType string
tooltip string
리턴 void

ObjectTypeExists() 공개 정적인 메소드

public static ObjectTypeExists ( string name ) : bool
name string
리턴 bool

ObjectTypeExport() 공개 정적인 메소드

Get Export script for object type
public static ObjectTypeExport ( string ObjectTypeName ) : string
ObjectTypeName string
리턴 string

ObjectTypeLoad() 공개 정적인 메소드

Loads the requested object Type
public static ObjectTypeLoad ( string name ) : OSAEObjectType
name string The name of the object type to load
리턴 OSAEObjectType

ObjectTypeMethodAdd() 공개 정적인 메소드

Add a method to an object type
public static ObjectTypeMethodAdd ( string ObjectType, string Name, string Label, string ParamLabel1, string ParamLabel2, string ParamDefault1, string ParamDefault2, string tooltip ) : void
ObjectType string
Name string
Label string
ParamLabel1 string
ParamLabel2 string
ParamDefault1 string
ParamDefault2 string
tooltip string
리턴 void

ObjectTypeMethodDelete() 공개 정적인 메소드

Delete a method from an object type
public static ObjectTypeMethodDelete ( string Name, string ObjectType ) : void
Name string
ObjectType string
리턴 void

ObjectTypeMethodExists() 공개 정적인 메소드

public static ObjectTypeMethodExists ( string typeName, string methodName ) : bool
typeName string
methodName string
리턴 bool

ObjectTypeMethodUpdate() 공개 정적인 메소드

Update an existing method on an object type
public static ObjectTypeMethodUpdate ( string oldName, string newName, string label, string objectType, string paramLabel1, string paramLabel2, string ParamDefault1, string ParamDefault2, string tooltip ) : void
oldName string
newName string
label string
objectType string
paramLabel1 string
paramLabel2 string
ParamDefault1 string
ParamDefault2 string
tooltip string
리턴 void

ObjectTypePropertyAdd() 공개 정적인 메소드

Add a property to an object type
public static ObjectTypePropertyAdd ( string ObjectType, string Name, string ParameterType, string ParameterObjectType, string ParameterDefault, bool TrackHistory, bool Required, string tooltip ) : void
ObjectType string
Name string
ParameterType string
ParameterObjectType string
ParameterDefault string
TrackHistory bool
Required bool
tooltip string
리턴 void

ObjectTypePropertyDelete() 공개 정적인 메소드

Delete a property from on object type
public static ObjectTypePropertyDelete ( string Name, string ObjectType ) : void
Name string
ObjectType string
리턴 void

ObjectTypePropertyOptionAdd() 공개 정적인 메소드

public static ObjectTypePropertyOptionAdd ( string objectType, string propertyName, string option ) : void
objectType string
propertyName string
option string
리턴 void

ObjectTypePropertyOptionDelete() 공개 정적인 메소드

public static ObjectTypePropertyOptionDelete ( string objectType, string propertyName, string option ) : void
objectType string
propertyName string
option string
리턴 void

ObjectTypePropertyOptionUpdate() 공개 정적인 메소드

public static ObjectTypePropertyOptionUpdate ( string objectType, string propertyName, string newoption, string oldoption ) : void
objectType string
propertyName string
newoption string
oldoption string
리턴 void

ObjectTypePropertyUpdate() 공개 정적인 메소드

Update an existing property on an object type
public static ObjectTypePropertyUpdate ( string oldName, string newName, string ParameterType, string ParameterObjectType, string ParameterDefault, string objectType, bool TrackHistory, bool Required, string tooltip ) : void
oldName string
newName string
ParameterType string
ParameterObjectType string
ParameterDefault string
objectType string
TrackHistory bool
Required bool
tooltip string
리턴 void

ObjectTypeStateAdd() 공개 정적인 메소드

Add a state to an object type
public static ObjectTypeStateAdd ( string ObjectType, string Name, string Label, string tooltip ) : void
ObjectType string
Name string
Label string
tooltip string
리턴 void

ObjectTypeStateDelete() 공개 정적인 메소드

Delete a state from an object type
public static ObjectTypeStateDelete ( string Name, string ObjectType ) : void
Name string
ObjectType string
리턴 void

ObjectTypeStateUpdate() 공개 정적인 메소드

Update an existing state from an object type
public static ObjectTypeStateUpdate ( string oldName, string newName, string newLabel, string objectType, string tooltip ) : void
oldName string
newName string
newLabel string
objectType string
tooltip string
리턴 void

ObjectTypeUpdate() 공개 정적인 메소드

Update an existing object type
public static ObjectTypeUpdate ( string oldName, string newName, string Description, string OwnedBy, string BaseType, bool TypeOwner, bool SystemType, bool Container, bool HideRedundantEvents, string Tooltip ) : void
oldName string The old name of the object type
newName string The new name to be given to the object type
Description string The description for the object type
OwnedBy string Who owns the object type
BaseType string
TypeOwner bool
SystemType bool
Container bool The container for the object type
HideRedundantEvents bool
Tooltip string
리턴 void