C# Class OSAE.OSAEObjectStateManager

Show file Open project: opensourceautomation/Open-Source-Automation Class Usage Examples

Public Methods

Method Description
GetObjectStateValue ( string ObjectName ) : OSAE.OSAEObjectState

Returns a OSAEObjectState object

ObjectStateHistoryGet ( string objectName, string from, string to ) : DataSet
ObjectStateListGet ( string objectName ) : DataSet
ObjectStateSet ( string ObjectName, string State, string source ) : void

Set the state of an object

Method Details

GetObjectStateValue() public static method

Returns a OSAEObjectState object
public static GetObjectStateValue ( string ObjectName ) : OSAE.OSAEObjectState
ObjectName string The object name to get the state of
return OSAE.OSAEObjectState

ObjectStateHistoryGet() public static method

public static ObjectStateHistoryGet ( string objectName, string from, string to ) : DataSet
objectName string
from string
to string
return System.Data.DataSet

ObjectStateListGet() public static method

public static ObjectStateListGet ( string objectName ) : DataSet
objectName string
return System.Data.DataSet

ObjectStateSet() public static method

Set the state of an object
public static ObjectStateSet ( string ObjectName, string State, string source ) : void
ObjectName string The name of the object to set the state of
State string The state to set the object too
source string Where the message was genreated from e.g. the plugin name (pName)
return void