C# 클래스 RoboGO.MainWindowViewModel

ViewModel for the mainwindow.
파일 보기 프로젝트 열기: syre/SortingIndustrialRobot 1 사용 예제들

공개 메소드들

메소드 설명
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