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

Inheritance: SignalFunction
Show file Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Property Type Description

Public Methods

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

Deserializes workflow markup into an Sensor object

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

Deserializes xml markup from file into an Sensor object

SaveToFile ( string fileName, System &exception ) : bool

Serializes current Sensor object into file

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

Serializes current Sensor object into an XML string

Method Details

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

Deserialize() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

LoadFromFile() public static method

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

SaveToFile() public method

Serializes current Sensor 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

Sensor() public method

public Sensor ( ) : System
return System

Serialize() public method

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