| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186 |
- using Prism.Mvvm;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace TeamAAS_VP.Models
- {
- public class PlcRobotParameter : BindableBase
- {
- private CommandParameter _CommandParameter=new CommandParameter();
- public CommandParameter CommandParameter
- {
- get { return _CommandParameter; }
- set { SetProperty(ref _CommandParameter, value); }
- }
- private StateParameter _StateParameter=new StateParameter();
- public StateParameter StateParameter
- {
- get { return _StateParameter; }
- set { SetProperty(ref _StateParameter, value); }
- }
- }
- public class CommandParameter : BindableBase
- {
- private string _X;
- public string X
- {
- get { return _X; }
- set { SetProperty(ref _X, value); }
- }
- private string _Y;
- public string Y
- {
- get { return _Y; }
- set { SetProperty(ref _Y, value); }
- }
- private string _Z;
- public string Z
- {
- get { return _Z; }
- set { SetProperty(ref _Z, value); }
- }
- private string _U;
- public string U
- {
- get { return _U; }
- set { SetProperty(ref _U, value); }
- }
- private string _Speed;
- public string Speed
- {
- get { return _Speed; }
- set { SetProperty(ref _Speed, value); }
- }
- private string _Accel;
- public string Accel
- {
- get { return _Accel; }
- set { SetProperty(ref _Accel, value); }
- }
- private string _WaitVacuumOn;
- public string WaitVacuumOn
- {
- get { return _WaitVacuumOn; }
- set { SetProperty(ref _WaitVacuumOn, value); }
- }
- private string _WaitVacuumOff;
- public string WaitVacuumOff
- {
- get { return _WaitVacuumOff; }
- set { SetProperty(ref _WaitVacuumOff, value); }
- }
- private string _Limz;
- public string Limz
- {
- get { return _Limz; }
- set { SetProperty(ref _Limz, value); }
- }
- private string _ExecuteMove;
- public string ExecuteMove
- {
- get { return _ExecuteMove; }
- set { SetProperty(ref _ExecuteMove, value); }
- }
- private string _VacuumOn;
- public string VacuumOn
- {
- get { return _VacuumOn; }
- set { SetProperty(ref _VacuumOn, value); }
- }
- private string _VacuumOff;
- public string VacuumOff
- {
- get { return _VacuumOff; }
- set { SetProperty(ref _VacuumOff, value); }
- }
- private string _Distance;
- public string Distance
- {
- get { return _Distance; }
- set { SetProperty(ref _Distance, value); }
- }
- private string _JogCmd;
- public string JogCmd
- {
- get { return _JogCmd; }
- set { SetProperty(ref _JogCmd, value); }
- }
- }
- public class StateParameter : BindableBase
- {
- private string _X;
- public string X
- {
- get { return _X; }
- set { SetProperty(ref _X, value); }
- }
- private string _Y;
- public string Y
- {
- get { return _Y; }
- set { SetProperty(ref _Y, value); }
- }
- private string _Z;
- public string Z
- {
- get { return _Z; }
- set { SetProperty(ref _Z, value); }
- }
- private string _U;
- public string U
- {
- get { return _U; }
- set { SetProperty(ref _U, value); }
- }
- private string _MoveFinish;
- public string MoveFinish
- {
- get { return _MoveFinish; }
- set { SetProperty(ref _MoveFinish, value); }
- }
- private string _Error;
- public string Error
- {
- get { return _Error; }
- set { SetProperty(ref _Error, value); }
- }
- private string _VacuumOn;
- public string VacuumOn
- {
- get { return _VacuumOn; }
- set { SetProperty(ref _VacuumOn, value); }
- }
- private string _VacuumOff;
- public string VacuumOff
- {
- get { return _VacuumOff; }
- set { SetProperty(ref _VacuumOff, value); }
- }
- }
- }
|