C# Class OSAE.OSAEObjectStateManager

Afficher le fichier Open project: opensourceautomation/Open-Source-Automation Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

ObjectStateHistoryGet() public static méthode

public static ObjectStateHistoryGet ( string objectName, string from, string to ) : DataSet
objectName string
from string
to string
Résultat System.Data.DataSet

ObjectStateListGet() public static méthode

public static ObjectStateListGet ( string objectName ) : DataSet
objectName string
Résultat System.Data.DataSet

ObjectStateSet() public static méthode

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)
Résultat void