C# Class DataServer.PoI

Inheritance: BaseContent
Datei anzeigen Open project: TNOCS/csTouch Class Usage Examples

Public Properties

Property Type Description
OpenOnAdd bool

Private Properties

Property Type Description
OnSelected void

Public Methods

Method Description
Clone ( ) : object
FindModels ( ) : List
FindModels ( BaseContent p, List &res ) : void
FromXml ( System.Xml.Linq.XElement res, string directoryName ) : void
GetInstance ( ) : PoI
GetSensorValue ( string sensorName, double defaultSensorValue ) : double

Get the sensor value at the focus time.

PoI ( ) : csCommon.Types.Geometries.AdvancedGeometry
RaiseOnModelLoaded ( IModelPoiInstance pModel ) : void
SetLabel ( string key, string value, bool callLabelChanged = false ) : void
SetSensorValue ( System.DateTime dateTime, string sensorName, double sensorValue ) : void

Sets the sensor value.

ToString ( ) : string
ToXml ( ServiceSettings settings ) : System.Xml.Linq.XElement
TriggerSelectedEvent ( object sender, PoiSelectedEventArgs ea ) : void

Private Methods

Method Description
OnSelected ( PoI poi ) : void

Method Details

Clone() public method

public Clone ( ) : object
return object

FindModels() public method

public FindModels ( ) : List
return List

FindModels() public static method

public static FindModels ( BaseContent p, List &res ) : void
p BaseContent
res List
return void

FromXml() public method

public FromXml ( System.Xml.Linq.XElement res, string directoryName ) : void
res System.Xml.Linq.XElement
directoryName string
return void

GetInstance() public method

public GetInstance ( ) : PoI
return PoI

GetSensorValue() public method

Get the sensor value at the focus time.
public GetSensorValue ( string sensorName, double defaultSensorValue ) : double
sensorName string
defaultSensorValue double
return double

PoI() public method

public PoI ( ) : csCommon.Types.Geometries.AdvancedGeometry
return csCommon.Types.Geometries.AdvancedGeometry

RaiseOnModelLoaded() public method

public RaiseOnModelLoaded ( IModelPoiInstance pModel ) : void
pModel IModelPoiInstance
return void

SetLabel() public method

public SetLabel ( string key, string value, bool callLabelChanged = false ) : void
key string
value string
callLabelChanged bool
return void

SetSensorValue() public method

Sets the sensor value.
public SetSensorValue ( System.DateTime dateTime, string sensorName, double sensorValue ) : void
dateTime System.DateTime
sensorName string
sensorValue double
return void

ToString() public method

public ToString ( ) : string
return string

ToXml() public method

public ToXml ( ServiceSettings settings ) : System.Xml.Linq.XElement
settings ServiceSettings
return System.Xml.Linq.XElement

TriggerSelectedEvent() public method

public TriggerSelectedEvent ( object sender, PoiSelectedEventArgs ea ) : void
sender object
ea PoiSelectedEventArgs
return void

Property Details

OpenOnAdd public_oe property

public bool OpenOnAdd
return bool