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.

1103 lines
24 KiB

using GummingCommon;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
namespace GummingEntity
{
public class BaseConfiguration : ViewModelBase
{
//固缝速度
private int _gufengvel;
public int gufengvel
{
get
{
return _gufengvel;
}
set
{
_gufengvel = value;
OnPropertyChanged("gufengvel");
}
}
//挑线杆位置
private int _txglowpos;
public int txglowpos
{
get
{
return _txglowpos;
}
set
{
_txglowpos = value;
OnPropertyChanged("txglowpos");
}
}
//线头增量
private int _addpos;
public int addpos
{
get
{
return _addpos;
}
set
{
_addpos = value;
OnPropertyChanged("addpos");
}
}
//压线时间
private int _yaxianlen;
public int yaxianlen
{
get
{
return _yaxianlen;
}
set
{
_yaxianlen = value;
OnPropertyChanged("yaxianlen");
}
}
//起针针距
private double _startlen;
public double startlen
{
get
{
return _startlen;
}
set
{
_startlen = value;
OnPropertyChanged("startlen");
}
}
//起针距离
private double _Lacc4;
public double Lacc4
{
get
{
return _Lacc4;
}
set
{
_Lacc4 = value;
OnPropertyChanged("Lacc4");
}
}
private int _CutMoveSpace;
public int CutMoveSpace
{
get
{
return _CutMoveSpace;
}
set
{
_CutMoveSpace = value;
OnPropertyChanged("CutMoveSpace");
}
}
//起针速度
private int _startvel;
public int startvel
{
get
{
return _startvel;
}
set
{
_startvel = value;
OnPropertyChanged("startvel");
}
}
//剪线参数
private int _xiantoulen;
public int xiantoulen
{
get
{
return _xiantoulen;
}
set
{
_xiantoulen = value;
OnPropertyChanged("xiantoulen");
}
}
//精度模式下加减速距离
private int _limvel;
public int limvel
{
get
{
return _limvel;
}
set
{
_limvel = value;
OnPropertyChanged("limvel");
}
}
//设置滑块初始位置
private int _Lacc;
public int Lacc
{
get
{
return _Lacc;
}
set
{
_Lacc = value;
OnPropertyChanged("Lacc");
}
}
private double _stitchlenadd;
public double stitchlenadd
{
get
{
return _stitchlenadd;
}
set
{
_stitchlenadd = value;
OnPropertyChanged("stitchlenadd");
}
}
private double _ydang;
public double ydang
{
get
{
return _ydang;
}
set
{
_ydang = value;
OnPropertyChanged("ydang");
}
}
//每1个单位画一刻度
private double _acc;
public double acc
{
get
{
return _acc;
}
set
{
_acc = value;
OnPropertyChanged("acc");
}
}
//设置滑块初始位置
private double _macc;
public double macc
{
get
{
return _macc;
}
set
{
_macc = value;
OnPropertyChanged("macc");
}
}
private int _xyibeng;
public int xyibeng
{
get
{
return _xyibeng;
}
set
{
_xyibeng = value;
OnPropertyChanged("xyibeng");
}
}
private int _yyibeng;
public int yyibeng
{
get
{
return _yyibeng;
}
set
{
_yyibeng = value;
OnPropertyChanged("yyibeng");
}
}
private int _ybacc;
public int ybacc
{
get
{
return _ybacc;
}
set
{
_ybacc = value;
OnPropertyChanged("ybacc");
}
}
private int _xacc;
public int xacc
{
get
{
return _xacc;
}
set
{
_xacc = value;
OnPropertyChanged("xacc");
}
}
private int _yacc;
public int yacc
{
get
{
return _yacc;
}
set
{
_yacc = value;
OnPropertyChanged("yacc");
}
}
private double _kjacc;
public double kjacc
{
get
{
return _kjacc;
}
set
{
_kjacc = value;
OnPropertyChanged("kjacc");
}
}
private string _ControlModeText;
public string ControlModeText
{
get
{
return _ControlModeText;
}
set
{
_ControlModeText = value;
OnPropertyChanged("ControlModeText");
}
}
private int _m_slidersmooth1Max;
public int m_slidersmooth1Max
{
get
{
return _m_slidersmooth1Max;
}
set
{
_m_slidersmooth1Max = value;
OnPropertyChanged("m_slidersmooth1Max");
}
}
private int _m_slidersmooth1Min;
public int m_slidersmooth1Min
{
get
{
return _m_slidersmooth1Min;
}
set
{
_m_slidersmooth1Min = value;
OnPropertyChanged("m_slidersmooth1Min");
}
}
private int _m_slidersmooth1Pos;
public int m_slidersmooth1Pos
{
get
{
return _m_slidersmooth1Pos;
}
set
{
_m_slidersmooth1Pos = value;
OnPropertyChanged("m_slidersmooth1Pos");
}
}
private int _m_slidersmooth2Min;
public int m_slidersmooth2Min
{
get
{
return _m_slidersmooth2Min;
}
set
{
_m_slidersmooth2Min = value;
OnPropertyChanged("m_slidersmooth2Min");
}
}
private int _m_slidersmooth2Max;
public int m_slidersmooth2Max
{
get
{
return _m_slidersmooth2Max;
}
set
{
_m_slidersmooth2Max = value;
OnPropertyChanged("m_slidersmooth2Max");
}
}
private int _m_slidersmooth2Pos;
public int m_slidersmooth2Pos
{
get
{
return _m_slidersmooth2Pos;
}
set
{
_m_slidersmooth2Pos = value;
OnPropertyChanged("m_slidersmooth2Pos");
}
}
private int _danmiancuted;
public int danmiancuted
{
get
{
return _danmiancuted;
}
set
{
_danmiancuted = value;
OnPropertyChanged("danmiancuted");
}
}
private string _FlatCuteText;
public string FlatCuteText
{
get
{
return _FlatCuteText;
}
set
{
_FlatCuteText = value;
OnPropertyChanged("FlatCuteText");
}
}
private bool _yiweijian;
public bool yiweijian
{
get
{
return _yiweijian;
}
set
{
_yiweijian = value;
OnPropertyChanged("yiweijian");
}
}
private bool _dunjiaoyh;
public bool dunjiaoyh
{
get
{
return _dunjiaoyh;
}
set
{
_dunjiaoyh = value;
OnPropertyChanged("dunjiaoyh");
}
}
private bool _cxx;
public bool cxx
{
get
{
return _cxx;
}
set
{
_cxx = value;
OnPropertyChanged("cxx");
}
}
private bool _shuzijianpan;
public bool shuzijianpan
{
get
{
return _shuzijianpan;
}
set
{
_shuzijianpan = value;
OnPropertyChanged("shuzijianpan");
}
}
private int _PatternHeight;
public int PatternHeight
{
get
{
return _PatternHeight;
}
set
{
_PatternHeight = value;
OnPropertyChanged("PatternHeight");
}
}
private int _m_slidersmooth2Max2;
public int m_slidersmooth2Max2
{
get
{
return _m_slidersmooth2Max2;
}
set
{
_m_slidersmooth2Max2 = value;
OnPropertyChanged("m_slidersmooth2Max2");
}
}
private int _PatternName;
public int PatternName
{
get
{
return _PatternName;
}
set
{
_PatternName = value;
OnPropertyChanged("PatternName");
}
}
private int _IDC_EDIT21;
public int IDC_EDIT21
{
get
{
return _IDC_EDIT21;
}
set
{
_IDC_EDIT21 = value;
OnPropertyChanged("IDC_EDIT21");
}
}
private int _NeedleDirectionText;
public int NeedleDirectionText
{
get
{
return _NeedleDirectionText;
}
set
{
_NeedleDirectionText = value;
OnPropertyChanged("NeedleDirectionText");
}
}
private int _IDC_BUTTON1;
public int IDC_BUTTON1
{
get
{
return _IDC_BUTTON1;
}
set
{
_IDC_BUTTON1 = value;
OnPropertyChanged("IDC_BUTTON1");
}
}
private int _SpendTimes;
public int SpendTimes
{
get
{
return _SpendTimes;
}
set
{
_SpendTimes = value;
OnPropertyChanged("SpendTimes");
}
}
private int _ActuallySpendTimes;
public int ActuallySpendTimes
{
get
{
return _ActuallySpendTimes;
}
set
{
_ActuallySpendTimes = value;
OnPropertyChanged("ActuallySpendTimes");
}
}
private bool _LightOpen;
public bool LightOpen
{
get
{
return _LightOpen;
}
set
{
_LightOpen = value;
OnPropertyChanged("LightOpen");
}
}
private bool _SoundOpen;
public bool SoundOpen
{
get
{
return _SoundOpen;
}
set
{
_SoundOpen = value;
OnPropertyChanged("SoundOpen");
}
}
private bool _NewYiBeng;
public bool NewYiBeng
{
get
{
return _NewYiBeng;
}
set
{
_NewYiBeng = value;
OnPropertyChanged("NewYiBeng");
}
}
private bool _PatternScale;
public bool PatternScale
{
get
{
return _PatternScale;
}
set
{
_PatternScale = value;
OnPropertyChanged("PatternScale");
}
}
private int _AllowAcuteReduce;
public int AllowAcuteReduce
{
get
{
return _AllowAcuteReduce;
}
set
{
_AllowAcuteReduce = value;
OnPropertyChanged("AllowAcuteReduce");
}
}
private double _MinAcuteReduce;
public double MinAcuteReduce
{
get
{
return _MinAcuteReduce;
}
set
{
_MinAcuteReduce = value;
OnPropertyChanged("MinAcuteReduce");
}
}
private bool _RotationOpen;
public bool RotationOpen
{
get
{
return _RotationOpen;
}
set
{
_RotationOpen = value;
OnPropertyChanged("RotationOpen");
}
}
private int _OffsetAngle;
public int OffsetAngle
{
get
{
return _OffsetAngle;
}
set
{
_OffsetAngle = value;
OnPropertyChanged("OffsetAngle");
}
}
//剪线速度
private int _NCutSpeed;
public int NCutSpeed
{
get
{
return _NCutSpeed;
}
set
{
_NCutSpeed = value;
OnPropertyChanged("NCutSpeed");
}
}
//下扣线启动位置
private int _NBuckleStartPostion;
public int NBuckleStartPostion
{
get
{
return _NBuckleStartPostion;
}
set
{
_NBuckleStartPostion = value;
OnPropertyChanged("NBuckleStartPostion");
}
}
//下扣线关闭位置
private int _NBuckleClosePostion;
public int NBuckleClosePostion
{
get
{
return _NBuckleClosePostion;
}
set
{
_NBuckleClosePostion = value;
OnPropertyChanged("NBuckleClosePostion");
}
}
//平刀打开位置
private int _NShearStartPostion;
public int NShearStartPostion
{
get
{
return _NShearStartPostion;
}
set
{
_NShearStartPostion = value;
OnPropertyChanged("NShearStartPostion");
}
}
//平刀打开位置
private int _NShearStartPostion2;
public int NShearStartPostion2
{
get
{
return _NShearStartPostion2;
}
set
{
_NShearStartPostion2 = value;
OnPropertyChanged("NShearStartPostion2");
}
}
//平刀关闭位置
private int _NShearClosePostion;
public int NShearClosePostion
{
get
{
return _NShearClosePostion;
}
set
{
_NShearClosePostion = value;
OnPropertyChanged("NShearClosePostion");
}
}
//上压线启动位置
private int _NPressStartPostion;
public int NPressStartPostion
{
get
{
return _NPressStartPostion;
}
set
{
_NPressStartPostion = value;
OnPropertyChanged("NPressStartPostion");
}
}
//上压线启动位置
private int _NPressStartPostion2;
public int NPressStartPostion2
{
get
{
return _NPressStartPostion2;
}
set
{
_NPressStartPostion2 = value;
OnPropertyChanged("NPressStartPostion2");
}
}
//剪完线延迟时间
private int _NCutDoneDelay;
public int NCutDoneDelay
{
get
{
return _NCutDoneDelay;
}
set
{
_NCutDoneDelay = value;
OnPropertyChanged("NCutDoneDelay");
}
}
//单面剪启动位置
private int _NSingleCutStartPostion;
public int NSingleCutStartPostion
{
get
{
return _NSingleCutStartPostion;
}
set
{
_NSingleCutStartPostion = value;
OnPropertyChanged("NSingleCutStartPostion");
}
}
//单面剪关闭位置
private int _NSingleCutClosePostion;
public int NSingleCutClosePostion
{
get
{
return _NSingleCutClosePostion;
}
set
{
_NSingleCutClosePostion = value;
OnPropertyChanged("NSingleCutClosePostion");
}
}
//夏季压线时间
private int _yaxianlen1;
public int yaxianlen1
{
get
{
return _yaxianlen1;
}
set
{
_yaxianlen1 = value;
OnPropertyChanged("yaxianlen1");
}
}
//冬季压线时间
private int _yaxianlen2;
public int yaxianlen2
{
get
{
return _yaxianlen2;
}
set
{
_yaxianlen2 = value;
OnPropertyChanged("yaxianlen2");
}
}
//普通压线时间
private int _yaxianlen0;
public int yaxianlen0
{
get
{
return _yaxianlen0;
}
set
{
_yaxianlen0 = value;
OnPropertyChanged("yaxianlen0");
}
}
//夏季剪线参数
private int _xiantoulen1;
public int xiantoulen1
{
get
{
return _xiantoulen1;
}
set
{
_xiantoulen1 = value;
OnPropertyChanged("xiantoulen1");
}
}
//冬季剪线参数
private int _xiantoulen2;
public int xiantoulen2
{
get
{
return _xiantoulen2;
}
set
{
_xiantoulen2 = value;
OnPropertyChanged("xiantoulen2");
}
}
//普通剪线参数
private int _xiantoulen0;
public int xiantoulen0
{
get
{
return _xiantoulen0;
}
set
{
_xiantoulen0 = value;
OnPropertyChanged("xiantoulen0");
}
}
//剪线季节参数
private int _CutTimeMode;
public int CutTimeMode
{
get
{
return _CutTimeMode;
}
set
{
_CutTimeMode = value;
OnPropertyChanged("CutTimeMode");
}
}
//新主轴加速度
private double _zmcsacc;
public double zmcsacc
{
get
{
return _zmcsacc;
}
set
{
_zmcsacc = value;
OnPropertyChanged("zmcsacc");
}
}
private double _endLineacc;
public double endLineacc
{
get
{
return _endLineacc;
}
set
{
_endLineacc = value;
OnPropertyChanged("endLineacc");
}
}
private int _SpeedModeType;
public int SpeedModeType
{
get
{
return _SpeedModeType;
}
set
{
_SpeedModeType = value;
OnPropertyChanged("SpeedModeType");
}
}
private ObservableCollection<CutPositionEntity> _NormalDoubleCuts;
public ObservableCollection<CutPositionEntity> NormalDoubleCuts
{
get
{
return _NormalDoubleCuts;
}
set
{
_NormalDoubleCuts = value;
OnPropertyChanged("NormalDoubleCuts");
}
}
private ObservableCollection<CutPositionEntity> _NormalSingleCuts;
public ObservableCollection<CutPositionEntity> NormalSingleCuts
{
get
{
return _NormalSingleCuts;
}
set
{
_NormalSingleCuts = value;
OnPropertyChanged("NormalSingleCuts");
}
}
private ObservableCollection<CutPositionEntity> _PauseDoubleCuts;
public ObservableCollection<CutPositionEntity> PauseDoubleCuts
{
get
{
return _PauseDoubleCuts;
}
set
{
_PauseDoubleCuts = value;
OnPropertyChanged("PauseDoubleCuts");
}
}
private ObservableCollection<CutPositionEntity> _PauseSingleCuts;
public ObservableCollection<CutPositionEntity> PauseSingleCuts
{
get
{
return _PauseSingleCuts;
}
set
{
_PauseSingleCuts = value;
OnPropertyChanged("PauseSingleCuts");
}
}
private ObservableCollection<CutPositionEntity> _LastDoubleCuts;
public ObservableCollection<CutPositionEntity> LastDoubleCuts
{
get
{
return _LastDoubleCuts;
}
set
{
_LastDoubleCuts = value;
OnPropertyChanged("LastDoubleCuts");
}
}
private ObservableCollection<CutPositionEntity> _LastSingleCuts;
public ObservableCollection<CutPositionEntity> LastSingleCuts
{
get
{
return _LastSingleCuts;
}
set
{
_LastSingleCuts = value;
OnPropertyChanged("LastSingleCuts");
}
}
}
}