C# Class csCommon.Plugins.EffectAppraisalPlugin.Models.PhaseState

Inheritance: Caliburn.Micro.PropertyChangedBase
Datei anzeigen Open project: TNOCS/csTouch Class Usage Examples

Public Properties

Property Type Description
regex Regex

Public Methods

Method Description
Activate ( ) : void

Make the current state active, i.e. the PoIs and dashboard represent the current phase.

AddMeasure ( PoI bc ) : void
AddThreat ( PoI bc ) : void
PhaseState ( string title ) : System.Text.RegularExpressions
Reset ( ) : void
ToString ( ) : string

Private Methods

Method Description
TryGetPhaseState ( string title ) : PhaseState
UpdateState ( PhaseState phase ) : void
add ( PoI poi, bool isThreat ) : void
isInArcSegment ( Position center, Position point, double startAngle, double endAngle, double radiusInMeter ) : bool

Check whether the point is in the arc segment.

updateThreatVisualisation ( PoIState threat ) : void

Set the color of the threat based on the current threat level in a label

Method Details

Activate() public method

Make the current state active, i.e. the PoIs and dashboard represent the current phase.
public Activate ( ) : void
return void

AddMeasure() public method

public AddMeasure ( PoI bc ) : void
bc DataServer.PoI
return void

AddThreat() public method

public AddThreat ( PoI bc ) : void
bc DataServer.PoI
return void

PhaseState() public method

public PhaseState ( string title ) : System.Text.RegularExpressions
title string
return System.Text.RegularExpressions

Reset() public method

public Reset ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

Property Details

regex public_oe static_oe property

Regular expression built for C# on: Thu, Jun 11, 2015, 11:55:02 AM Using Expresso Version: 3.0.4750, http://www.ultrapico.com A description of the regular expression: EAM. EAM Any character [Type]: A named capture group. [[a-zA-Z]*] Any character in this class: [a-zA-Z], any number of repetitions Any character in this class: [.] [Title]: A named capture group. [[a-zA-Z]*] Any character in this class: [a-zA-Z], any number of repetitions Any character in this class: [.] [Property]: A named capture group. [[a-zA-Z]*] Any character in this class: [a-zA-Z], any number of repetitions
public static Regex regex
return Regex