C# Class PoiServer.PoI.Highlight

Inheritance: Caliburn.Micro.PropertyChangedBase, IConvertibleXml
Afficher le fichier Open project: TNOCS/csTouch Class Usage Examples

Méthodes publiques

Свойство Type Description
Histogram int>.Dictionary

Private Properties

Свойство Type Description
CalculateMinLabelValue double
CalculateMinSensorValue double
CalculateResultUsingMultipleCriteria double
CreateCriteria bool
CreateMetaInfo void
CreateResultFormula void
GetHighlightColor Color
GetIcon string
GetOpacity double
GetSensorValue double
GetStringHighlightColor Color
GetStrokeWidth double
GetSymbolSize double
ParseLabelToDouble double
RemoveMetaInfo void

Méthodes publiques

Méthode Description
CalculateCategories ( PoiService service ) : void
CalculateMax ( PoiService service ) : void
CalculateMin ( PoiService service ) : void
CalculateResult ( BaseContent bc ) : void
CleanUp ( PoiService service ) : void
CreatePallette ( int categories, string type, string name, bool gradient ) : void
FromXml ( System.Xml.Linq.XElement hx ) : void
ToXml ( ) : System.Xml.Linq.XElement
UpdateMathFormula ( ) : void
UpdateMultipleCriteria ( BaseContent p ) : void

Initializes the multiple criteria and creates an initial MCA function (weigthed values) for the evaluation.

UpdateTitle ( ) : void

Private Methods

Méthode Description
CalculateMinLabelValue ( PoiService service ) : double
CalculateMinSensorValue ( PoiService service ) : double
CalculateResultUsingMultipleCriteria ( BaseContent bc ) : double

Calculate the results using the created formula. Note that you can have up to 8 parameters.

CreateCriteria ( BaseContent p ) : bool

Create the multiple criteria based on the SelectionCriteria.

CreateMetaInfo ( BaseContent bc ) : void
CreateResultFormula ( string formula ) : void
GetHighlightColor ( Highlight hl, double value ) : Color
GetIcon ( Highlight hl, string value ) : string
GetOpacity ( Highlight hl, double value ) : double
GetSensorValue ( BaseContent bc, string key ) : double
GetStringHighlightColor ( Highlight hl, string value ) : Color
GetStrokeWidth ( Highlight hl, double value ) : double
GetSymbolSize ( Highlight hl, double value ) : double
ParseLabelToDouble ( BaseContent bc, string key ) : double

Try to parse the label to a double using either the invariant or the Dutch culture.

RemoveMetaInfo ( BaseContent bc ) : void

Method Details

CalculateCategories() public méthode

public CalculateCategories ( PoiService service ) : void
service PoiService
Résultat void

CalculateMax() public méthode

public CalculateMax ( PoiService service ) : void
service PoiService
Résultat void

CalculateMin() public méthode

public CalculateMin ( PoiService service ) : void
service PoiService
Résultat void

CalculateResult() public méthode

public CalculateResult ( BaseContent bc ) : void
bc DataServer.BaseContent
Résultat void

CleanUp() public méthode

public CleanUp ( PoiService service ) : void
service PoiService
Résultat void

CreatePallette() public méthode

public CreatePallette ( int categories, string type, string name, bool gradient ) : void
categories int
type string
name string
gradient bool
Résultat void

FromXml() public méthode

public FromXml ( System.Xml.Linq.XElement hx ) : void
hx System.Xml.Linq.XElement
Résultat void

ToXml() public méthode

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

UpdateMathFormula() public méthode

public UpdateMathFormula ( ) : void
Résultat void

UpdateMultipleCriteria() public méthode

Initializes the multiple criteria and creates an initial MCA function (weigthed values) for the evaluation.
public UpdateMultipleCriteria ( BaseContent p ) : void
p DataServer.BaseContent
Résultat void

UpdateTitle() public méthode

public UpdateTitle ( ) : void
Résultat void

Property Details

Histogram public_oe static_oe property

public static Dictionary Histogram
Résultat int>.Dictionary