C# Класс RoboGO.MainWindowViewModel

ViewModel for the mainwindow.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

MainWindowViewModel() публичный Метод

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
Результат System

checkIsOnline() публичный Метод

Check for being online.(The robot.)
public checkIsOnline ( ) : void
Результат void

setRobotAsRobotInstance() публичный Метод

Sets the curren robot as being the SCORBOT.
public setRobotAsRobotInstance ( ) : bool
Результат bool

setSimulatorAsRobotInstance() публичный Метод

Sets the current robot as being a simulator.
public setSimulatorAsRobotInstance ( ) : void
Результат void

stopRobotInstance() публичный Метод

Stops the robot from continuing any action.
public stopRobotInstance ( ) : void
Результат void