C# Класс ATMLModelLibrary.model.equipment.SwitchRelaySetting

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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

Описание методов

Deserialize() публичный статический Метод

public static Deserialize ( Stream s ) : SwitchRelaySetting
s Stream
Результат SwitchRelaySetting

Deserialize() публичный статический Метод

public static Deserialize ( string input ) : SwitchRelaySetting
input string
Результат SwitchRelaySetting

Deserialize() публичный статический Метод

public static Deserialize ( string input, SwitchRelaySetting &obj ) : bool
input string
obj SwitchRelaySetting
Результат bool

Deserialize() публичный статический Метод

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
Результат bool

LoadFromFile() публичный статический Метод

public static LoadFromFile ( string fileName ) : SwitchRelaySetting
fileName string
Результат SwitchRelaySetting

LoadFromFile() публичный статический Метод

public static LoadFromFile ( string fileName, SwitchRelaySetting &obj ) : bool
fileName string
obj SwitchRelaySetting
Результат bool

LoadFromFile() публичный статический Метод

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
Результат bool

SaveToFile() публичный Метод

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
Результат bool

SaveToFile() публичный Метод

public SaveToFile ( string fileName ) : void
fileName string
Результат void

Serialize() публичный Метод

Serializes current SwitchRelaySetting object into an XML string
public Serialize ( ) : string
Результат string

ShouldSerializeRelayConnection() публичный Метод

Test whether RelayConnection should be serialized
public ShouldSerializeRelayConnection ( ) : bool
Результат bool