C# Class ATMLModelLibrary.model.equipment.SwitchRelaySetting

Afficher le fichier Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Deserialize ( Stream s ) : SwitchRelaySetting
Deserialize ( string input ) : SwitchRelaySetting
Deserialize ( string input, SwitchRelaySetting &obj ) : bool
Deserialize ( string input, SwitchRelaySetting &obj, Exception &exception ) : bool

Deserializes workflow markup into an SwitchRelaySetting object

LoadFromFile ( string fileName ) : SwitchRelaySetting
LoadFromFile ( string fileName, SwitchRelaySetting &obj ) : bool
LoadFromFile ( string fileName, SwitchRelaySetting &obj, Exception &exception ) : bool

Deserializes xml markup from file into an SwitchRelaySetting object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current SwitchRelaySetting object into file

SaveToFile ( string fileName ) : void
Serialize ( ) : string

Serializes current SwitchRelaySetting object into an XML string

ShouldSerializeRelayConnection ( ) : bool

Test whether RelayConnection should be serialized

Method Details

Deserialize() public static méthode

public static Deserialize ( Stream s ) : SwitchRelaySetting
s Stream
Résultat SwitchRelaySetting

Deserialize() public static méthode

public static Deserialize ( string input ) : SwitchRelaySetting
input string
Résultat SwitchRelaySetting

Deserialize() public static méthode

public static Deserialize ( string input, SwitchRelaySetting &obj ) : bool
input string
obj SwitchRelaySetting
Résultat bool

Deserialize() public static méthode

Deserializes workflow markup into an SwitchRelaySetting object
public static Deserialize ( string input, SwitchRelaySetting &obj, Exception &exception ) : bool
input string string workflow markup to deserialize
obj SwitchRelaySetting Output SwitchRelaySetting object
exception System.Exception output Exception value if deserialize failed
Résultat bool

LoadFromFile() public static méthode

public static LoadFromFile ( string fileName ) : SwitchRelaySetting
fileName string
Résultat SwitchRelaySetting

LoadFromFile() public static méthode

public static LoadFromFile ( string fileName, SwitchRelaySetting &obj ) : bool
fileName string
obj SwitchRelaySetting
Résultat bool

LoadFromFile() public static méthode

Deserializes xml markup from file into an SwitchRelaySetting object
public static LoadFromFile ( string fileName, SwitchRelaySetting &obj, Exception &exception ) : bool
fileName string string xml file to load and deserialize
obj SwitchRelaySetting Output SwitchRelaySetting object
exception System.Exception output Exception value if deserialize failed
Résultat bool

SaveToFile() public méthode

Serializes current SwitchRelaySetting object into file
public SaveToFile ( string fileName, Exception &exception ) : bool
fileName string full path of outupt xml file
exception System.Exception output Exception value if failed
Résultat bool

SaveToFile() public méthode

public SaveToFile ( string fileName ) : void
fileName string
Résultat void

Serialize() public méthode

Serializes current SwitchRelaySetting object into an XML string
public Serialize ( ) : string
Résultat string

ShouldSerializeRelayConnection() public méthode

Test whether RelayConnection should be serialized
public ShouldSerializeRelayConnection ( ) : bool
Résultat bool