C# Class ATMLModelLibrary.model.signal.basic.SinglePhase

Inheritance: Connection
显示文件 Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Deserialize ( System s ) : SinglePhase
Deserialize ( string input ) : SinglePhase
Deserialize ( string input, SinglePhase &obj ) : bool
Deserialize ( string input, SinglePhase &obj, System &exception ) : bool

Deserializes workflow markup into an SinglePhase object

LoadFromFile ( string fileName ) : SinglePhase
LoadFromFile ( string fileName, SinglePhase &obj ) : bool
LoadFromFile ( string fileName, SinglePhase &obj, System &exception ) : bool

Deserializes xml markup from file into an SinglePhase object

SaveToFile ( string fileName, System &exception ) : bool

Serializes current SinglePhase object into file

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

Serializes current SinglePhase object into an XML string

Method Details

Deserialize() public static method

public static Deserialize ( System s ) : SinglePhase
s System
return SinglePhase

Deserialize() public static method

public static Deserialize ( string input ) : SinglePhase
input string
return SinglePhase

Deserialize() public static method

public static Deserialize ( string input, SinglePhase &obj ) : bool
input string
obj SinglePhase
return bool

Deserialize() public static method

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

LoadFromFile() public static method

public static LoadFromFile ( string fileName ) : SinglePhase
fileName string
return SinglePhase

LoadFromFile() public static method

public static LoadFromFile ( string fileName, SinglePhase &obj ) : bool
fileName string
obj SinglePhase
return bool

LoadFromFile() public static method

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

SaveToFile() public method

Serializes current SinglePhase object into file
public SaveToFile ( string fileName, System &exception ) : bool
fileName string full path of outupt xml file
exception System output Exception value if failed
return bool

SaveToFile() public method

public SaveToFile ( string fileName ) : void
fileName string
return void

Serialize() public method

Serializes current SinglePhase object into an XML string
public Serialize ( ) : string
return string