C# Class MaCRoGS.MainWindow

Inheritance: System.Windows.Window
Show file Open project: AlexAlbala/MaCRo

Public Methods

Method Description
Init ( ) : void
MainWindow ( ) : System
MapSize ( ushort NewSize ) : void
Scan ( object state ) : void
SetMagX ( double value ) : void
SetMagY ( double value ) : void
SetMagZ ( double value ) : void
SetPositionAngle ( double distance ) : void
SetPositionX ( double distance ) : void
SetPositionY ( double distance ) : void
StartupSensors ( ) : void
UpdateL1 ( short value ) : void
UpdateL2 ( short value ) : void
UpdateMap ( ushort map, short part ) : void
UpdateS1 ( short value ) : void
UpdateS2 ( short value ) : void
debug ( string text ) : void
error ( string text ) : void
info ( string text ) : void
mapUpdate ( object state ) : void
setCurrent ( double mAmps ) : void
setEstimation ( ushort minutes ) : void
setRVoltage ( ushort perCent ) : void
setVoltage ( double volts ) : void

Private Methods

Method Description
Button_Click ( object sender, System e ) : void
MonteCarlo_UpdatePosition ( Object state ) : void
SpeedBox_Initialized ( object sender, System e ) : void
Speed_ValueChanged ( object sender, System e ) : void
StartupMap ( ) : void
TurningSpeedBox_Initialized ( object sender, System e ) : void
Turning_Speed_ValueChanged ( object sender, System e ) : void
UpdateLine ( LineGraph line, double x, double y, Color color, string description, LineGraph &newLine ) : void
UpdatePositionHistory ( Object state ) : void
Window_KeyDown ( object sender, System e ) : void
Window_KeyUp ( object sender, System e ) : void
Window_Loaded ( object sender, RoutedEventArgs e ) : void
_MapSize ( ushort NewSize ) : void
_SetHeading ( double heading ) : void
_SetPositionAngle ( double angle ) : void
_SetPositionX ( double posX ) : void
_SetPositionY ( double posY ) : void
_UpdateFullMap ( ushort NewMap ) : void
_UpdateL1 ( short value ) : void
_UpdateL2 ( short value ) : void
_UpdateLine ( LineGraph line, double x, double y, Color color, string description ) : LineGraph
_UpdateMap ( ushort NewMap, short part ) : void
_UpdateS1 ( short value ) : void
_UpdateS2 ( short value ) : void
_setCurrent ( double mAmps ) : void
_setEstimation ( ushort minutes ) : void
_setRVoltage ( ushort perCent ) : void
_setVoltage ( double volts ) : void
_updateChart ( object state ) : void
back_MouseLeftButtonDown ( object sender, System e ) : void
back_MouseLeftButtonUp ( object sender, System e ) : void
button_calibrar_Click ( object sender, RoutedEventArgs e ) : void
button_dibujar_Click ( object sender, RoutedEventArgs e ) : void
cal_Loaded_1 ( object sender, RoutedEventArgs e ) : void
doScan ( ) : ts_scan_t
for_MouseLeftButtonDown ( object sender, System e ) : void
for_MouseLeftButtonUp ( object sender, System e ) : void
left_MouseLeftButtonDown ( object sender, System e ) : void
left_MouseLeftButtonUp ( object sender, System e ) : void
right_MouseLeftButtonDown ( object sender, System e ) : void
right_MouseLeftButtonUp ( object sender, System e ) : void
updateIterationsLabel ( int num ) : void
updateLog ( string text ) : void
updateMapUpdatesLabel ( int num ) : void

Method Details

Init() public method

public Init ( ) : void
return void

MainWindow() public method

public MainWindow ( ) : System
return System

MapSize() public method

public MapSize ( ushort NewSize ) : void
NewSize ushort
return void

Scan() public method

public Scan ( object state ) : void
state object
return void

SetMagX() public method

public SetMagX ( double value ) : void
value double
return void

SetMagY() public method

public SetMagY ( double value ) : void
value double
return void

SetMagZ() public method

public SetMagZ ( double value ) : void
value double
return void

SetPositionAngle() public method

public SetPositionAngle ( double distance ) : void
distance double
return void

SetPositionX() public method

public SetPositionX ( double distance ) : void
distance double
return void

SetPositionY() public method

public SetPositionY ( double distance ) : void
distance double
return void

StartupSensors() public method

public StartupSensors ( ) : void
return void

UpdateL1() public method

public UpdateL1 ( short value ) : void
value short
return void

UpdateL2() public method

public UpdateL2 ( short value ) : void
value short
return void

UpdateMap() public method

public UpdateMap ( ushort map, short part ) : void
map ushort
part short
return void

UpdateS1() public method

public UpdateS1 ( short value ) : void
value short
return void

UpdateS2() public method

public UpdateS2 ( short value ) : void
value short
return void

debug() public method

public debug ( string text ) : void
text string
return void

error() public method

public error ( string text ) : void
text string
return void

info() public method

public info ( string text ) : void
text string
return void

mapUpdate() public method

public mapUpdate ( object state ) : void
state object
return void

setCurrent() public method

public setCurrent ( double mAmps ) : void
mAmps double
return void

setEstimation() public method

public setEstimation ( ushort minutes ) : void
minutes ushort
return void

setRVoltage() public method

public setRVoltage ( ushort perCent ) : void
perCent ushort
return void

setVoltage() public method

public setVoltage ( double volts ) : void
volts double
return void