You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4C/GummingEntity/ParameterConfiguration.cs

590 lines
14 KiB

using GummingCommon;
using System;
using System.Collections.Generic;
using System.Text;
namespace GummingEntity
{
public class ParameterConfiguration : ViewModelBase
{
public object Clone()
{
return new ParameterConfiguration()
{
ManualShuttleText = this.ManualShuttleText,
HeaderContorlText = this.HeaderContorlText,
CutSwitch = this.CutSwitch,
PushHeaderSwitch = this.PushHeaderSwitch,
PushHeaderContinue = this.PushHeaderContinue,
BreakCheck = this.BreakCheck,
MoveBounceMax = this.MoveBounceMax,
MoveBounceMin = this.MoveBounceMin,
MoveBounceValue = this.MoveBounceValue,
BreakSensitiveMax = this.BreakSensitiveMax,
BreakSensitiveMin = this.BreakSensitiveMin,
BreakSensitiveValue = this.BreakSensitiveValue,
HeaderSpeedMax = this.HeaderSpeedMax,
HeaderSpeedMin = this.HeaderSpeedMin,
HeaderSpeedValue = this.HeaderSpeedValue,
NeedlePosition = this.NeedlePosition,
LeftKeyDown = this.LeftKeyDown,
RightKeyDown = this.RightKeyDown,
UpKeyDown = this.UpKeyDown,
DownKeyDown = this.DownKeyDown,
ControlModeText = this.ControlModeText,
danmiancuted = this.danmiancuted
};
}
private string _ManualShuttleText;
public string ManualShuttleText
{
get
{
return _ManualShuttleText;
}
set
{
_ManualShuttleText = value;
OnPropertyChanged("ManualShuttleText");
}
}
private string _HeaderContorlText;
public string HeaderContorlText
{
get
{
return _HeaderContorlText;
}
set
{
_HeaderContorlText = value;
OnPropertyChanged("HeaderContorlText");
}
}
private int _CutSwitch;
public int CutSwitch
{
get
{
return _CutSwitch;
}
set
{
_CutSwitch = value;
OnPropertyChanged("CutSwitch");
}
}
private int _PushHeaderSwitch;
public int PushHeaderSwitch
{
get
{
return _PushHeaderSwitch;
}
set
{
_PushHeaderSwitch = value;
OnPropertyChanged("PushHeaderSwitch");
}
}
private bool _PushHeaderContinue;
public bool PushHeaderContinue
{
get
{
return _PushHeaderContinue;
}
set
{
_PushHeaderContinue = value;
OnPropertyChanged("PushHeaderContinue");
}
}
private int _BreakCheck;
public int BreakCheck
{
get
{
return _BreakCheck;
}
set
{
_BreakCheck = value;
OnPropertyChanged("BreakCheck");
}
}
private double _MoveBounceMax;
public double MoveBounceMax
{
get
{
return _MoveBounceMax;
}
set
{
_MoveBounceMax = value;
OnPropertyChanged("MoveBounceMax");
}
}
private double _MoveBounceMin;
public double MoveBounceMin
{
get
{
return _MoveBounceMin;
}
set
{
_MoveBounceMin = value;
OnPropertyChanged("MoveBounceMin");
}
}
private double _MoveBounceValue;
public double MoveBounceValue
{
get
{
return _MoveBounceValue;
}
set
{
_MoveBounceValue = value;
OnPropertyChanged("MoveBounceValue");
}
}
private double _BreakSensitiveMax;
public double BreakSensitiveMax
{
get
{
return _BreakSensitiveMax;
}
set
{
_BreakSensitiveMax = value;
OnPropertyChanged("BreakSensitiveMax");
}
}
private double _BreakSensitiveMin;
public double BreakSensitiveMin
{
get
{
return _BreakSensitiveMin;
}
set
{
_BreakSensitiveMin = value;
OnPropertyChanged("BreakSensitiveMin");
}
}
private double _BreakSensitiveValue;
public double BreakSensitiveValue
{
get
{
return _BreakSensitiveValue;
}
set
{
_BreakSensitiveValue = value;
OnPropertyChanged("BreakSensitiveValue");
}
}
private double _HeaderSpeedMax;
public double HeaderSpeedMax
{
get
{
return _HeaderSpeedMax;
}
set
{
_HeaderSpeedMax = value;
OnPropertyChanged("HeaderSpeedMax");
}
}
private double _HeaderSpeedMin;
public double HeaderSpeedMin
{
get
{
return _HeaderSpeedMin;
}
set
{
_HeaderSpeedMin = value;
OnPropertyChanged("HeaderSpeedMin");
}
}
private double _HeaderSpeedValue;
public double HeaderSpeedValue
{
get
{
return _HeaderSpeedValue;
}
set
{
_HeaderSpeedValue = value;
OnPropertyChanged("HeaderSpeedValue");
}
}
private string _NeedlePosition;
public string NeedlePosition
{
get
{
return _NeedlePosition;
}
set
{
_NeedlePosition = value;
OnPropertyChanged("NeedlePosition");
}
}
private int _PrincipalAxisMain;
public int PrincipalAxisMain
{
get
{
return _PrincipalAxisMain;
}
set
{
_PrincipalAxisMain = value;
OnPropertyChanged("PrincipalAxisMain");
}
}
private int _ViceAxisMain;
public int ViceAxisMain
{
get
{
return _ViceAxisMain;
}
set
{
_ViceAxisMain = value;
OnPropertyChanged("ViceAxisMain");
}
}
private int _AxisSet;
public int AxisSet
{
get
{
return _AxisSet;
}
set
{
_AxisSet = value;
OnPropertyChanged("AxisSet");
}
}
private int _AxisRun;
public int AxisRun
{
get
{
return _AxisRun;
}
set
{
_AxisRun = value;
OnPropertyChanged("AxisRun");
}
}
private int _AxisMax;
public int AxisMax
{
get
{
return _AxisMax;
}
set
{
_AxisMax = value;
OnPropertyChanged("AxisMax");
}
}
private short _Error0;
public short Error0
{
get
{
return _Error0;
}
set
{
_Error0 = value;
OnPropertyChanged("Error0");
}
}
private short _Error1;
public short Error1
{
get
{
return _Error1;
}
set
{
_Error1 = value;
OnPropertyChanged("Error1");
}
}
private short _Error2;
public short Error2
{
get
{
return _Error2;
}
set
{
_Error2 = value;
OnPropertyChanged("Error2");
}
}
private short _Error3;
public short Error3
{
get
{
return _Error3;
}
set
{
_Error3 = value;
OnPropertyChanged("Error3");
}
}
private int _ShuttleSupplyTimeSpace;
public int ShuttleSupplyTimeSpace
{
get
{
return _ShuttleSupplyTimeSpace;
}
set
{
_ShuttleSupplyTimeSpace = value;
OnPropertyChanged("ShuttleSupplyTimeSpace");
}
}
private int _ShuttleSupplyOnceTime;
public int ShuttleSupplyOnceTime
{
get
{
return _ShuttleSupplyOnceTime;
}
set
{
_ShuttleSupplyOnceTime = value;
OnPropertyChanged("ShuttleSupplyOnceTime");
}
}
private string _AddOilText;
public string AddOilText
{
get
{
return _AddOilText;
}
set
{
_AddOilText = value;
OnPropertyChanged("AddOilText");
}
}
private int _CoolingPumpTimeSpace;
public int CoolingPumpTimeSpace
{
get
{
return _CoolingPumpTimeSpace;
}
set
{
_CoolingPumpTimeSpace = value;
OnPropertyChanged("CoolingPumpTimeSpace");
}
}
private int _CoolingPumpOnceTime;
public int CoolingPumpOnceTime
{
get
{
return _CoolingPumpOnceTime;
}
set
{
_CoolingPumpOnceTime = value;
OnPropertyChanged("CoolingPumpOnceTime");
}
}
private bool _LeftKeyDown;
public bool LeftKeyDown
{
get
{
return _LeftKeyDown;
}
set
{
_LeftKeyDown = value;
OnPropertyChanged("LeftKeyDown");
}
}
private bool _RightKeyDown;
public bool RightKeyDown
{
get
{
return _RightKeyDown;
}
set
{
_RightKeyDown = value;
OnPropertyChanged("RightKeyDown");
}
}
private bool _UpKeyDown;
public bool UpKeyDown
{
get
{
return _UpKeyDown;
}
set
{
_UpKeyDown = value;
OnPropertyChanged("UpKeyDown");
}
}
private bool _DownKeyDown;
public bool DownKeyDown
{
get
{
return _DownKeyDown;
}
set
{
_DownKeyDown = value;
OnPropertyChanged("DownKeyDown");
}
}
private int _PrincipalAxisX;
public int PrincipalAxisX
{
get
{
return _PrincipalAxisX;
}
set
{
_PrincipalAxisX = value;
OnPropertyChanged("PrincipalAxisX");
}
}
private int _PrincipalAxisY;
public int PrincipalAxisY
{
get
{
return _PrincipalAxisY;
}
set
{
_PrincipalAxisY = value;
OnPropertyChanged("PrincipalAxisY");
}
}
private int _SuoAxisX;
public int SuoAxisX
{
get
{
return _SuoAxisX;
}
set
{
_SuoAxisX = value;
OnPropertyChanged("SuoAxisX");
}
}
private int _SuoAxisY;
public int SuoAxisY
{
get
{
return _SuoAxisY;
}
set
{
_SuoAxisY = value;
OnPropertyChanged("SuoAxisY");
}
}
private string _ControlModeText;
public string ControlModeText
{
get
{
return _ControlModeText;
}
set
{
_ControlModeText = value;
OnPropertyChanged("ControlModeText");
}
}
private int _danmiancuted;
public int danmiancuted
{
get
{
return _danmiancuted;
}
set
{
_danmiancuted = value;
OnPropertyChanged("danmiancuted");
}
}
private bool _CoolingPumpDisabled;
public bool CoolingPumpDisabled
{
get
{
return _CoolingPumpDisabled;
}
set
{
_CoolingPumpDisabled = value;
OnPropertyChanged("CoolingPumpDisabled");
}
}
private bool _ShuttleSupplyDisabled;
public bool ShuttleSupplyDisabled
{
get
{
return _ShuttleSupplyDisabled;
}
set
{
_ShuttleSupplyDisabled = value;
OnPropertyChanged("ShuttleSupplyDisabled");
}
}
}
}