C# Class DataServer.PoI

Inheritance: BaseContent
Afficher le fichier Open project: TNOCS/csTouch Class Usage Examples

Méthodes publiques

Свойство Type Description
OpenOnAdd bool

Private Properties

Свойство Type Description
OnSelected void

Méthodes publiques

Méthode 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

Méthode Description
OnSelected ( PoI poi ) : void

Method Details

Clone() public méthode

public Clone ( ) : object
Résultat object

FindModels() public méthode

public FindModels ( ) : List
Résultat List

FindModels() public static méthode

public static FindModels ( BaseContent p, List &res ) : void
p BaseContent
res List
Résultat void

FromXml() public méthode

public FromXml ( System.Xml.Linq.XElement res, string directoryName ) : void
res System.Xml.Linq.XElement
directoryName string
Résultat void

GetInstance() public méthode

public GetInstance ( ) : PoI
Résultat PoI

GetSensorValue() public méthode

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

PoI() public méthode

public PoI ( ) : csCommon.Types.Geometries.AdvancedGeometry
Résultat csCommon.Types.Geometries.AdvancedGeometry

RaiseOnModelLoaded() public méthode

public RaiseOnModelLoaded ( IModelPoiInstance pModel ) : void
pModel IModelPoiInstance
Résultat void

SetLabel() public méthode

public SetLabel ( string key, string value, bool callLabelChanged = false ) : void
key string
value string
callLabelChanged bool
Résultat void

SetSensorValue() public méthode

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

ToString() public méthode

public ToString ( ) : string
Résultat string

ToXml() public méthode

public ToXml ( ServiceSettings settings ) : System.Xml.Linq.XElement
settings ServiceSettings
Résultat System.Xml.Linq.XElement

TriggerSelectedEvent() public méthode

public TriggerSelectedEvent ( object sender, PoiSelectedEventArgs ea ) : void
sender object
ea PoiSelectedEventArgs
Résultat void

Property Details

OpenOnAdd public_oe property

public bool OpenOnAdd
Résultat bool