C# Class RoboGO.MainWindowViewModel

ViewModel for the mainwindow.
Afficher le fichier Open project: syre/SortingIndustrialRobot Class Usage Examples

Méthodes publiques

Méthode Description
MainWindowViewModel ( System.Windows.Controls.ProgressBar _pb ) : System

Constructor with progressbar for showing connection status.

checkIsOnline ( ) : void

Check for being online.(The robot.)

setRobotAsRobotInstance ( ) : bool

Sets the curren robot as being the SCORBOT.

setSimulatorAsRobotInstance ( ) : void

Sets the current robot as being a simulator.

stopRobotInstance ( ) : void

Stops the robot from continuing any action.

Method Details

MainWindowViewModel() public méthode

Constructor with progressbar for showing connection status.
public MainWindowViewModel ( System.Windows.Controls.ProgressBar _pb ) : System
_pb System.Windows.Controls.ProgressBar Progressbar for showing connection status
Résultat System

checkIsOnline() public méthode

Check for being online.(The robot.)
public checkIsOnline ( ) : void
Résultat void

setRobotAsRobotInstance() public méthode

Sets the curren robot as being the SCORBOT.
public setRobotAsRobotInstance ( ) : bool
Résultat bool

setSimulatorAsRobotInstance() public méthode

Sets the current robot as being a simulator.
public setSimulatorAsRobotInstance ( ) : void
Résultat void

stopRobotInstance() public méthode

Stops the robot from continuing any action.
public stopRobotInstance ( ) : void
Résultat void