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.
802 lines
18 KiB
802 lines
18 KiB
using GummingCommon;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace GummingEntity
|
|
{
|
|
public class StatusConfiguration : ViewModelBase
|
|
{
|
|
private string _InPort0;
|
|
public string InPort0
|
|
{
|
|
get
|
|
{
|
|
return _InPort0;
|
|
}
|
|
set
|
|
{
|
|
_InPort0 = value;
|
|
OnPropertyChanged("InPort0");
|
|
}
|
|
}
|
|
private string _InPort1;
|
|
public string InPort1
|
|
{
|
|
get
|
|
{
|
|
return _InPort1;
|
|
}
|
|
set
|
|
{
|
|
_InPort1 = value;
|
|
OnPropertyChanged("InPort1");
|
|
}
|
|
}
|
|
|
|
private string _InPort2;
|
|
public string InPort2
|
|
{
|
|
get
|
|
{
|
|
return _InPort2;
|
|
}
|
|
set
|
|
{
|
|
_InPort2 = value;
|
|
OnPropertyChanged("InPort2");
|
|
}
|
|
}
|
|
|
|
|
|
//显示上次完成花型数180817
|
|
private string _InPort3;
|
|
public string InPort3
|
|
{
|
|
get
|
|
{
|
|
return _InPort3;
|
|
}
|
|
set
|
|
{
|
|
_InPort3 = value;
|
|
OnPropertyChanged("InPort3");
|
|
}
|
|
}
|
|
//断 线 检 测
|
|
private string _InPort4;
|
|
public string InPort4
|
|
{
|
|
get
|
|
{
|
|
return _InPort4;
|
|
}
|
|
set
|
|
{
|
|
_InPort4 = value;
|
|
OnPropertyChanged("InPort4");
|
|
}
|
|
}
|
|
//主 轴 开 停
|
|
private string _InPort5;
|
|
public string InPort5
|
|
{
|
|
get
|
|
{
|
|
return _InPort5;
|
|
}
|
|
set
|
|
{
|
|
_InPort5 = value;
|
|
OnPropertyChanged("InPort5");
|
|
}
|
|
}
|
|
|
|
//设置滑动范围
|
|
private string _InPort6;
|
|
public string InPort6
|
|
{
|
|
get
|
|
{
|
|
return _InPort6;
|
|
}
|
|
set
|
|
{
|
|
_InPort6 = value;
|
|
OnPropertyChanged("InPort6");
|
|
}
|
|
}
|
|
private bool _InPortStatus0;
|
|
public bool InPortStatus0
|
|
{
|
|
get
|
|
{
|
|
return _InPortStatus0;
|
|
}
|
|
set
|
|
{
|
|
_InPortStatus0 = value;
|
|
OnPropertyChanged("InPortStatus0");
|
|
}
|
|
}
|
|
private bool _InPortStatus1;
|
|
public bool InPortStatus1
|
|
{
|
|
get
|
|
{
|
|
return _InPortStatus1;
|
|
}
|
|
set
|
|
{
|
|
_InPortStatus1 = value;
|
|
OnPropertyChanged("InPortStatus1");
|
|
}
|
|
}
|
|
|
|
private bool _InPortStatus2;
|
|
public bool InPortStatus2
|
|
{
|
|
get
|
|
{
|
|
return _InPortStatus2;
|
|
}
|
|
set
|
|
{
|
|
_InPortStatus2 = value;
|
|
OnPropertyChanged("InPortStatus2");
|
|
}
|
|
}
|
|
|
|
private bool _InPortStatus3;
|
|
public bool InPortStatus3
|
|
{
|
|
get
|
|
{
|
|
return _InPortStatus3;
|
|
}
|
|
set
|
|
{
|
|
_InPortStatus3 = value;
|
|
OnPropertyChanged("InPortStatus3");
|
|
}
|
|
}
|
|
|
|
private bool _InPortStatus4;
|
|
public bool InPortStatus4
|
|
{
|
|
get
|
|
{
|
|
return _InPortStatus4;
|
|
}
|
|
set
|
|
{
|
|
_InPortStatus4 = value;
|
|
OnPropertyChanged("InPortStatus4");
|
|
}
|
|
}
|
|
|
|
private bool _InPortStatus5;
|
|
public bool InPortStatus5
|
|
{
|
|
get
|
|
{
|
|
return _InPortStatus5;
|
|
}
|
|
set
|
|
{
|
|
_InPortStatus5 = value;
|
|
OnPropertyChanged("InPortStatus5");
|
|
}
|
|
}
|
|
|
|
private bool _InPortStatus6;
|
|
public bool InPortStatus6
|
|
{
|
|
get
|
|
{
|
|
return _InPortStatus6;
|
|
}
|
|
set
|
|
{
|
|
_InPortStatus6 = value;
|
|
OnPropertyChanged("InPortStatus6");
|
|
}
|
|
}
|
|
|
|
private string _OutPort27;
|
|
public string OutPort27
|
|
{
|
|
get
|
|
{
|
|
return _OutPort27;
|
|
}
|
|
set
|
|
{
|
|
_OutPort27 = value;
|
|
OnPropertyChanged("OutPort27");
|
|
}
|
|
}
|
|
|
|
|
|
private string _OutPort0;
|
|
public string OutPort0
|
|
{
|
|
get
|
|
{
|
|
return _OutPort0;
|
|
}
|
|
set
|
|
{
|
|
_OutPort0 = value;
|
|
OnPropertyChanged("OutPort0");
|
|
}
|
|
}
|
|
private string _OutPort1;
|
|
public string OutPort1
|
|
{
|
|
get
|
|
{
|
|
return _OutPort1;
|
|
}
|
|
set
|
|
{
|
|
_OutPort1 = value;
|
|
OnPropertyChanged("OutPort1");
|
|
}
|
|
}
|
|
private string _OutPort2;
|
|
public string OutPort2
|
|
{
|
|
get
|
|
{
|
|
return _OutPort2;
|
|
}
|
|
set
|
|
{
|
|
_OutPort2 = value;
|
|
OnPropertyChanged("OutPort2");
|
|
}
|
|
}
|
|
private string _OutPort3;
|
|
public string OutPort3
|
|
{
|
|
get
|
|
{
|
|
return _OutPort3;
|
|
}
|
|
set
|
|
{
|
|
_OutPort3 = value;
|
|
OnPropertyChanged("OutPort3");
|
|
}
|
|
}
|
|
private string _OutPort4;
|
|
public string OutPort4
|
|
{
|
|
get
|
|
{
|
|
return _OutPort4;
|
|
}
|
|
set
|
|
{
|
|
_OutPort4 = value;
|
|
OnPropertyChanged("OutPort4");
|
|
}
|
|
}
|
|
private string _OutPort5;
|
|
public string OutPort5
|
|
{
|
|
get
|
|
{
|
|
return _OutPort5;
|
|
}
|
|
set
|
|
{
|
|
_OutPort5 = value;
|
|
OnPropertyChanged("OutPort5");
|
|
}
|
|
}
|
|
private bool _OutPortStatus0;
|
|
public bool OutPortStatus0
|
|
{
|
|
get
|
|
{
|
|
return _OutPortStatus0;
|
|
}
|
|
set
|
|
{
|
|
_OutPortStatus0 = value;
|
|
OnPropertyChanged("OutPortStatus0");
|
|
}
|
|
}
|
|
private bool _OutPortStatus1;
|
|
public bool OutPortStatus1
|
|
{
|
|
get
|
|
{
|
|
return _OutPortStatus1;
|
|
}
|
|
set
|
|
{
|
|
_OutPortStatus1 = value;
|
|
OnPropertyChanged("OutPortStatus1");
|
|
}
|
|
}
|
|
private bool _OutPortStatus2;
|
|
public bool OutPortStatus2
|
|
{
|
|
get
|
|
{
|
|
return _OutPortStatus2;
|
|
}
|
|
set
|
|
{
|
|
_OutPortStatus2 = value;
|
|
OnPropertyChanged("OutPortStatus2");
|
|
}
|
|
}
|
|
private bool _OutPortStatus3;
|
|
public bool OutPortStatus3
|
|
{
|
|
get
|
|
{
|
|
return _OutPortStatus3;
|
|
}
|
|
set
|
|
{
|
|
_OutPortStatus3 = value;
|
|
OnPropertyChanged("OutPortStatus3");
|
|
}
|
|
}
|
|
private bool _OutPortStatus4;
|
|
public bool OutPortStatus4
|
|
{
|
|
get
|
|
{
|
|
return _OutPortStatus4;
|
|
}
|
|
set
|
|
{
|
|
_OutPortStatus4 = value;
|
|
OnPropertyChanged("OutPortStatus4");
|
|
}
|
|
}
|
|
private bool _OutPortStatus5;
|
|
public bool OutPortStatus5
|
|
{
|
|
get
|
|
{
|
|
return _OutPortStatus5;
|
|
}
|
|
set
|
|
{
|
|
_OutPortStatus5 = value;
|
|
OnPropertyChanged("OutPortStatus5");
|
|
}
|
|
}
|
|
|
|
private string _XPostion1;
|
|
public string XPostion1
|
|
{
|
|
get
|
|
{
|
|
return _XPostion1;
|
|
}
|
|
set
|
|
{
|
|
_XPostion1 = value;
|
|
OnPropertyChanged("XPostion1");
|
|
}
|
|
}
|
|
|
|
private string _XPostion2;
|
|
public string XPostion2
|
|
{
|
|
get
|
|
{
|
|
return _XPostion2;
|
|
}
|
|
set
|
|
{
|
|
_XPostion2 = value;
|
|
OnPropertyChanged("XPostion2");
|
|
}
|
|
}
|
|
|
|
private string _XPostion3;
|
|
public string XPostion3
|
|
{
|
|
get
|
|
{
|
|
return _XPostion3;
|
|
}
|
|
set
|
|
{
|
|
_XPostion3 = value;
|
|
OnPropertyChanged("XPostion3");
|
|
}
|
|
}
|
|
|
|
private string _XPostion4;
|
|
public string XPostion4
|
|
{
|
|
get
|
|
{
|
|
return _XPostion4;
|
|
}
|
|
set
|
|
{
|
|
_XPostion4 = value;
|
|
OnPropertyChanged("XPostion4");
|
|
}
|
|
}
|
|
|
|
private string _YPostion1;
|
|
public string YPostion1
|
|
{
|
|
get
|
|
{
|
|
return _YPostion1;
|
|
}
|
|
set
|
|
{
|
|
_YPostion1 = value;
|
|
OnPropertyChanged("YPostion1");
|
|
}
|
|
}
|
|
private string _YPostion2;
|
|
public string YPostion2
|
|
{
|
|
get
|
|
{
|
|
return _YPostion2;
|
|
}
|
|
set
|
|
{
|
|
_YPostion2 = value;
|
|
OnPropertyChanged("YPostion2");
|
|
}
|
|
}
|
|
|
|
private string _YPostion3;
|
|
public string YPostion3
|
|
{
|
|
get
|
|
{
|
|
return _YPostion3;
|
|
}
|
|
set
|
|
{
|
|
_YPostion3 = value;
|
|
OnPropertyChanged("YPostion3");
|
|
}
|
|
}
|
|
private string _YPostion4;
|
|
public string YPostion4
|
|
{
|
|
get
|
|
{
|
|
return _YPostion4;
|
|
}
|
|
set
|
|
{
|
|
_YPostion4 = value;
|
|
OnPropertyChanged("YPostion4");
|
|
}
|
|
}
|
|
private string _ZPostion4;
|
|
public string ZPostion4
|
|
{
|
|
get
|
|
{
|
|
return _ZPostion4;
|
|
}
|
|
set
|
|
{
|
|
_ZPostion4 = value;
|
|
OnPropertyChanged("ZPostion4");
|
|
}
|
|
}
|
|
|
|
private string _SPostion4;
|
|
public string SPostion4
|
|
{
|
|
get
|
|
{
|
|
return _SPostion4;
|
|
}
|
|
set
|
|
{
|
|
_SPostion4 = value;
|
|
OnPropertyChanged("SPostion4");
|
|
}
|
|
}
|
|
private bool _XPostionStatus1;
|
|
public bool XPostionStatus1
|
|
{
|
|
get
|
|
{
|
|
return _XPostionStatus1;
|
|
}
|
|
set
|
|
{
|
|
_XPostionStatus1 = value;
|
|
OnPropertyChanged("XPostionStatus1");
|
|
}
|
|
}
|
|
|
|
private bool _XPostionStatus2;
|
|
public bool XPostionStatus2
|
|
{
|
|
get
|
|
{
|
|
return _XPostionStatus2;
|
|
}
|
|
set
|
|
{
|
|
_XPostionStatus2 = value;
|
|
OnPropertyChanged("XPostionStatus2");
|
|
}
|
|
}
|
|
|
|
private bool _XPostionStatus3;
|
|
public bool XPostionStatus3
|
|
{
|
|
get
|
|
{
|
|
return _XPostionStatus3;
|
|
}
|
|
set
|
|
{
|
|
_XPostionStatus3 = value;
|
|
OnPropertyChanged("XPostionStatus3");
|
|
}
|
|
}
|
|
|
|
private bool _XPostionStatus4;
|
|
public bool XPostionStatus4
|
|
{
|
|
get
|
|
{
|
|
return _XPostionStatus4;
|
|
}
|
|
set
|
|
{
|
|
_XPostionStatus4 = value;
|
|
OnPropertyChanged("XPostionStatus4");
|
|
}
|
|
}
|
|
|
|
private bool _YPostionStatus1;
|
|
public bool YPostionStatus1
|
|
{
|
|
get
|
|
{
|
|
return _YPostionStatus1;
|
|
}
|
|
set
|
|
{
|
|
_YPostionStatus1 = value;
|
|
OnPropertyChanged("YPostionStatus1");
|
|
}
|
|
}
|
|
private bool _YPostionStatus2;
|
|
public bool YPostionStatus2
|
|
{
|
|
get
|
|
{
|
|
return _YPostionStatus2;
|
|
}
|
|
set
|
|
{
|
|
_YPostionStatus2 = value;
|
|
OnPropertyChanged("YPostionStatus2");
|
|
}
|
|
}
|
|
|
|
private bool _YPostionStatus3;
|
|
public bool YPostionStatus3
|
|
{
|
|
get
|
|
{
|
|
return _YPostionStatus3;
|
|
}
|
|
set
|
|
{
|
|
_YPostionStatus3 = value;
|
|
OnPropertyChanged("YPostionStatus3");
|
|
}
|
|
}
|
|
private bool _YPostionStatus4;
|
|
public bool YPostionStatus4
|
|
{
|
|
get
|
|
{
|
|
return _YPostionStatus4;
|
|
}
|
|
set
|
|
{
|
|
_YPostionStatus4 = value;
|
|
OnPropertyChanged("YPostionStatus4");
|
|
}
|
|
}
|
|
private bool _ZPostionStatus4;
|
|
public bool ZPostionStatus4
|
|
{
|
|
get
|
|
{
|
|
return _ZPostionStatus4;
|
|
}
|
|
set
|
|
{
|
|
_ZPostionStatus4 = value;
|
|
OnPropertyChanged("ZPostionStatus4");
|
|
}
|
|
}
|
|
|
|
private bool _SPostionStatus4;
|
|
public bool SPostionStatus4
|
|
{
|
|
get
|
|
{
|
|
return _SPostionStatus4;
|
|
}
|
|
set
|
|
{
|
|
_SPostionStatus4 = value;
|
|
OnPropertyChanged("SPostionStatus4");
|
|
}
|
|
}
|
|
private string _WidthScale;
|
|
public string WidthScale
|
|
{
|
|
get
|
|
{
|
|
return _WidthScale;
|
|
}
|
|
set
|
|
{
|
|
_WidthScale = value;
|
|
OnPropertyChanged("WidthScale");
|
|
}
|
|
}
|
|
private string _HeightScale;
|
|
public string HeightScale
|
|
{
|
|
get
|
|
{
|
|
return _HeightScale;
|
|
}
|
|
set
|
|
{
|
|
_HeightScale = value;
|
|
OnPropertyChanged("HeightScale");
|
|
}
|
|
}
|
|
private string _PatternWidth;
|
|
public string PatternWidth
|
|
{
|
|
get
|
|
{
|
|
return _PatternWidth;
|
|
}
|
|
set
|
|
{
|
|
_PatternWidth = value;
|
|
OnPropertyChanged("PatternWidth");
|
|
}
|
|
}
|
|
private string _PatternHeight;
|
|
public string PatternHeight
|
|
{
|
|
get
|
|
{
|
|
return _PatternHeight;
|
|
}
|
|
set
|
|
{
|
|
_PatternHeight = value;
|
|
OnPropertyChanged("PatternHeight");
|
|
}
|
|
}
|
|
|
|
private string _YPostion32;
|
|
public string YPostion32
|
|
{
|
|
get
|
|
{
|
|
return _YPostion32;
|
|
}
|
|
set
|
|
{
|
|
_YPostion32 = value;
|
|
OnPropertyChanged("YPostion32");
|
|
}
|
|
}
|
|
private string _PatternName;
|
|
public string PatternName
|
|
{
|
|
get
|
|
{
|
|
return _PatternName;
|
|
}
|
|
set
|
|
{
|
|
_PatternName = value;
|
|
OnPropertyChanged("PatternName");
|
|
}
|
|
}
|
|
private string _IDC_EDIT21;
|
|
public string IDC_EDIT21
|
|
{
|
|
get
|
|
{
|
|
return _IDC_EDIT21;
|
|
}
|
|
set
|
|
{
|
|
_IDC_EDIT21 = value;
|
|
OnPropertyChanged("IDC_EDIT21");
|
|
}
|
|
}
|
|
private string _NeedleDirectionText;
|
|
public string NeedleDirectionText
|
|
{
|
|
get
|
|
{
|
|
return _NeedleDirectionText;
|
|
}
|
|
set
|
|
{
|
|
_NeedleDirectionText = value;
|
|
OnPropertyChanged("NeedleDirectionText");
|
|
}
|
|
}
|
|
private string _IDC_BUTTON1;
|
|
public string IDC_BUTTON1
|
|
{
|
|
get
|
|
{
|
|
return _IDC_BUTTON1;
|
|
}
|
|
set
|
|
{
|
|
_IDC_BUTTON1 = value;
|
|
OnPropertyChanged("IDC_BUTTON1");
|
|
}
|
|
}
|
|
|
|
private string _SpendTimes;
|
|
public string SpendTimes
|
|
{
|
|
get
|
|
{
|
|
return _SpendTimes;
|
|
}
|
|
set
|
|
{
|
|
_SpendTimes = value;
|
|
OnPropertyChanged("SpendTimes");
|
|
}
|
|
}
|
|
|
|
private string _ActuallySpendTimes;
|
|
public string ActuallySpendTimes
|
|
{
|
|
get
|
|
{
|
|
return _ActuallySpendTimes;
|
|
}
|
|
set
|
|
{
|
|
_ActuallySpendTimes = value;
|
|
OnPropertyChanged("ActuallySpendTimes");
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|