using System;
|
using System.Collections.Generic;
|
using System.IO;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using System.Windows;
|
using System.Windows.Controls;
|
using System.Windows.Data;
|
using System.Windows.Documents;
|
using System.Windows.Input;
|
using System.Windows.Markup;
|
using System.Windows.Media;
|
using System.Windows.Media.Imaging;
|
using System.Windows.Navigation;
|
using System.Windows.Shapes;
|
using System.Runtime.Serialization;
|
using System.Collections.Concurrent;
|
using System.ServiceModel;
|
using Newtonsoft.Json;
|
using Newtonsoft.Json.Linq;
|
using System.Net;
|
using NLog;
|
using NLog.Config;
|
using NLog.Targets;
|
using GZ.DB.Map.OIDATABASE;
|
using GZ.DB.App.OIDATABASE;
|
using GZ.DB.Repository.OIDATABASE;
|
using GZ.DB.IRepository.OIDATABASE;
|
using GZ.DB.Entity.OIDATABASE;
|
namespace GZ.Projects.S7
|
{
|
/// <summary>
|
/// 变量数据库
|
/// </summary>
|
public class Tag : System.ComponentModel.INotifyPropertyChanged
|
{
|
#region 变量
|
#endregion
|
|
#region 变量组
|
private TagPLC1 _PLC1 = new TagPLC1();
|
public TagPLC1 PLC1 { get { return _PLC1; } set { _PLC1=value; RaisePropertyChanged("PLC1"); } }
|
private Tagplc2 _plc2 = new Tagplc2();
|
public Tagplc2 plc2 { get { return _plc2; } set { _plc2=value; RaisePropertyChanged("plc2"); } }
|
private Tagssx1Xplc _ssx1Xplc = new Tagssx1Xplc();
|
public Tagssx1Xplc ssx1Xplc { get { return _ssx1Xplc; } set { _ssx1Xplc=value; RaisePropertyChanged("ssx1Xplc"); } }
|
private Tagssx2Xplc _ssx2Xplc = new Tagssx2Xplc();
|
public Tagssx2Xplc ssx2Xplc { get { return _ssx2Xplc; } set { _ssx2Xplc=value; RaisePropertyChanged("ssx2Xplc"); } }
|
private Tagssx3Xplc _ssx3Xplc = new Tagssx3Xplc();
|
public Tagssx3Xplc ssx3Xplc { get { return _ssx3Xplc; } set { _ssx3Xplc=value; RaisePropertyChanged("ssx3Xplc"); } }
|
private Tagwxr1 _wxr1 = new Tagwxr1();
|
public Tagwxr1 wxr1 { get { return _wxr1; } set { _wxr1=value; RaisePropertyChanged("wxr1"); } }
|
private Tagwxr2 _wxr2 = new Tagwxr2();
|
public Tagwxr2 wxr2 { get { return _wxr2; } set { _wxr2=value; RaisePropertyChanged("wxr2"); } }
|
private Tagjs1 _js1 = new Tagjs1();
|
public Tagjs1 js1 { get { return _js1; } set { _js1=value; RaisePropertyChanged("js1"); } }
|
private Tagjs2 _js2 = new Tagjs2();
|
public Tagjs2 js2 { get { return _js2; } set { _js2=value; RaisePropertyChanged("js2"); } }
|
#endregion
|
|
#region 内部类
|
public class TagPLC1 : System.ComponentModel.INotifyPropertyChanged
|
{
|
#region 变量
|
private System.Boolean _Param111111;
|
public System.Boolean Param111111
|
{
|
get
|
{
|
|
_Param111111=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("PLC1.Param1"),typeof(System.Boolean));
|
return _Param111111;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("PLC1.Param1",value.ToString(),"PLC1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "PLC1.Param1",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "PLC1.Param1",
|
paramValue = value.ToString()
|
}
|
}
|
},"PLC1Queue","","")==false)
|
{
|
return;
|
}
|
_Param111111 = value;
|
RaisePropertyChanged("Param111111");
|
}
|
}
|
private System.UInt16 _Param7=0;
|
public System.UInt16 Param7
|
{
|
get
|
{
|
|
_Param7=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("PLC1.Param7"),typeof(System.UInt16));
|
return _Param7;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("PLC1.Param7",value.ToString(),"PLC1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "PLC1.Param7",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "PLC1.Param7",
|
paramValue = value.ToString()
|
}
|
}
|
},"PLC1Queue","","")==false)
|
{
|
return;
|
}
|
_Param7 = value;
|
RaisePropertyChanged("Param7");
|
}
|
}
|
private System.Boolean _Param2;
|
public System.Boolean Param2
|
{
|
get
|
{
|
|
_Param2=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("PLC1.Param2"),typeof(System.Boolean));
|
return _Param2;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("PLC1.Param2",value.ToString(),"PLC1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "PLC1.Param2",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "PLC1.Param2",
|
paramValue = value.ToString()
|
}
|
}
|
},"PLC1Queue","","")==false)
|
{
|
return;
|
}
|
_Param2 = value;
|
RaisePropertyChanged("Param2");
|
}
|
}
|
private System.Boolean _Param3;
|
public System.Boolean Param3
|
{
|
get
|
{
|
|
_Param3=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("PLC1.Param3"),typeof(System.Boolean));
|
return _Param3;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("PLC1.Param3",value.ToString(),"PLC1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "PLC1.Param3",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "PLC1.Param3",
|
paramValue = value.ToString()
|
}
|
}
|
},"PLC1Queue","","")==false)
|
{
|
return;
|
}
|
_Param3 = value;
|
RaisePropertyChanged("Param3");
|
}
|
}
|
private System.UInt16 _Param4;
|
public System.UInt16 Param4
|
{
|
get
|
{
|
|
_Param4=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("PLC1.Param4"),typeof(System.UInt16));
|
return _Param4;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("PLC1.Param4",value.ToString(),"PLC1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "PLC1.Param4",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "PLC1.Param4",
|
paramValue = value.ToString()
|
}
|
}
|
},"PLC1Queue","","")==false)
|
{
|
return;
|
}
|
_Param4 = value;
|
RaisePropertyChanged("Param4");
|
}
|
}
|
private System.UInt16 _Param5;
|
public System.UInt16 Param5
|
{
|
get
|
{
|
|
_Param5=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("PLC1.Param5"),typeof(System.UInt16));
|
return _Param5;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("PLC1.Param5",value.ToString(),"PLC1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "PLC1.Param5",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "PLC1.Param5",
|
paramValue = value.ToString()
|
}
|
}
|
},"PLC1Queue","","")==false)
|
{
|
return;
|
}
|
_Param5 = value;
|
RaisePropertyChanged("Param5");
|
}
|
}
|
private System.Boolean _Param1_LAST;
|
public System.Boolean Param1_LAST
|
{
|
get
|
{
|
|
_Param1_LAST=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("PLC1.Param1_LAST"),typeof(System.Boolean));
|
return _Param1_LAST;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("PLC1.Param1_LAST",value.ToString(),"PLC1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "PLC1.Param1_LAST",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "PLC1.Param1_LAST",
|
paramValue = value.ToString()
|
}
|
}
|
},"PLC1Queue","","")==false)
|
{
|
return;
|
}
|
_Param1_LAST = value;
|
RaisePropertyChanged("Param1_LAST");
|
}
|
}
|
#endregion
|
|
#region 变量组
|
#endregion
|
|
#region 内部类
|
|
#endregion
|
|
#region 属性变更
|
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
public void RaisePropertyChanged(string propertyName)
|
{
|
System.ComponentModel.PropertyChangedEventHandler handler = PropertyChanged;
|
if (handler != null)
|
{
|
handler(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
}
|
}
|
#endregion
|
}
|
|
public class Tagplc2 : System.ComponentModel.INotifyPropertyChanged
|
{
|
#region 变量
|
private System.UInt16 _Param3;
|
public System.UInt16 Param3
|
{
|
get
|
{
|
|
_Param3=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("西门子2.Param3"),typeof(System.UInt16));
|
return _Param3;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("西门子2.Param3",value.ToString(),"西门子2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "西门子2.Param3",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "西门子2.Param3",
|
paramValue = value.ToString()
|
}
|
}
|
},"西门子2Queue","","")==false)
|
{
|
return;
|
}
|
_Param3 = value;
|
RaisePropertyChanged("Param3");
|
}
|
}
|
private System.UInt16 _Param2;
|
public System.UInt16 Param2
|
{
|
get
|
{
|
|
_Param2=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("西门子2.Param2"),typeof(System.UInt16));
|
return _Param2;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("西门子2.Param2",value.ToString(),"西门子2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "西门子2.Param2",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "西门子2.Param2",
|
paramValue = value.ToString()
|
}
|
}
|
},"西门子2Queue","","")==false)
|
{
|
return;
|
}
|
_Param2 = value;
|
RaisePropertyChanged("Param2");
|
}
|
}
|
private System.UInt16 _Param1;
|
public System.UInt16 Param1
|
{
|
get
|
{
|
|
_Param1=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("西门子2.Param1"),typeof(System.UInt16));
|
return _Param1;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("西门子2.Param1",value.ToString(),"西门子2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "西门子2.Param1",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "西门子2.Param1",
|
paramValue = value.ToString()
|
}
|
}
|
},"西门子2Queue","","")==false)
|
{
|
return;
|
}
|
_Param1 = value;
|
RaisePropertyChanged("Param1");
|
}
|
}
|
#endregion
|
|
#region 变量组
|
#endregion
|
|
#region 内部类
|
|
#endregion
|
|
#region 属性变更
|
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
public void RaisePropertyChanged(string propertyName)
|
{
|
System.ComponentModel.PropertyChangedEventHandler handler = PropertyChanged;
|
if (handler != null)
|
{
|
handler(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
}
|
}
|
#endregion
|
}
|
|
public class Tagssx1Xplc : System.ComponentModel.INotifyPropertyChanged
|
{
|
#region 变量
|
private System.UInt16 _ssx1004State;
|
public System.UInt16 ssx1004State
|
{
|
get
|
{
|
|
_ssx1004State=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("ssx1xPlcRead.ssx1004State"),typeof(System.UInt16));
|
return _ssx1004State;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("ssx1xPlcRead.ssx1004State",value.ToString(),"ssx1xPlcReadQueue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "ssx1xPlcRead.ssx1004State",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "ssx1xPlcRead.ssx1004State",
|
paramValue = value.ToString()
|
}
|
}
|
},"ssx1xPlcReadQueue","","")==false)
|
{
|
return;
|
}
|
_ssx1004State = value;
|
RaisePropertyChanged("ssx1004State");
|
}
|
}
|
private System.UInt16 _ssx1030Req;
|
public System.UInt16 ssx1030Req
|
{
|
get
|
{
|
|
_ssx1030Req=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("ssx1xPlcRead.ssx1030Req"),typeof(System.UInt16));
|
return _ssx1030Req;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("ssx1xPlcRead.ssx1030Req",value.ToString(),"ssx1xPlcReadQueue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "ssx1xPlcRead.ssx1030Req",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "ssx1xPlcRead.ssx1030Req",
|
paramValue = value.ToString()
|
}
|
}
|
},"ssx1xPlcReadQueue","","")==false)
|
{
|
return;
|
}
|
_ssx1030Req = value;
|
RaisePropertyChanged("ssx1030Req");
|
}
|
}
|
private System.UInt16 _ssx1019Req;
|
public System.UInt16 ssx1019Req
|
{
|
get
|
{
|
|
_ssx1019Req=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("ssx1xPlcRead.ssx1019Req"),typeof(System.UInt16));
|
return _ssx1019Req;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("ssx1xPlcRead.ssx1019Req",value.ToString(),"ssx1xPlcReadQueue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "ssx1xPlcRead.ssx1019Req",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "ssx1xPlcRead.ssx1019Req",
|
paramValue = value.ToString()
|
}
|
}
|
},"ssx1xPlcReadQueue","","")==false)
|
{
|
return;
|
}
|
_ssx1019Req = value;
|
RaisePropertyChanged("ssx1019Req");
|
}
|
}
|
private System.UInt16 _ssx1023Req;
|
public System.UInt16 ssx1023Req
|
{
|
get
|
{
|
|
_ssx1023Req=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("ssx1xPlcRead.ssx1023Req"),typeof(System.UInt16));
|
return _ssx1023Req;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("ssx1xPlcRead.ssx1023Req",value.ToString(),"ssx1xPlcReadQueue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "ssx1xPlcRead.ssx1023Req",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "ssx1xPlcRead.ssx1023Req",
|
paramValue = value.ToString()
|
}
|
}
|
},"ssx1xPlcReadQueue","","")==false)
|
{
|
return;
|
}
|
_ssx1023Req = value;
|
RaisePropertyChanged("ssx1023Req");
|
}
|
}
|
private System.UInt16 _ssx1020Req;
|
public System.UInt16 ssx1020Req
|
{
|
get
|
{
|
|
_ssx1020Req=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("ssx1xPlcRead.ssx1020Req"),typeof(System.UInt16));
|
return _ssx1020Req;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("ssx1xPlcRead.ssx1020Req",value.ToString(),"ssx1xPlcReadQueue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "ssx1xPlcRead.ssx1020Req",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "ssx1xPlcRead.ssx1020Req",
|
paramValue = value.ToString()
|
}
|
}
|
},"ssx1xPlcReadQueue","","")==false)
|
{
|
return;
|
}
|
_ssx1020Req = value;
|
RaisePropertyChanged("ssx1020Req");
|
}
|
}
|
private System.UInt16 _ssx1002Req;
|
public System.UInt16 ssx1002Req
|
{
|
get
|
{
|
|
_ssx1002Req=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("ssx1xPlcRead.ssx1002Req"),typeof(System.UInt16));
|
return _ssx1002Req;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("ssx1xPlcRead.ssx1002Req",value.ToString(),"ssx1xPlcReadQueue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "ssx1xPlcRead.ssx1002Req",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "ssx1xPlcRead.ssx1002Req",
|
paramValue = value.ToString()
|
}
|
}
|
},"ssx1xPlcReadQueue","","")==false)
|
{
|
return;
|
}
|
_ssx1002Req = value;
|
RaisePropertyChanged("ssx1002Req");
|
}
|
}
|
private System.UInt16 _ssx1008Req;
|
public System.UInt16 ssx1008Req
|
{
|
get
|
{
|
|
_ssx1008Req=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("ssx1xPlcRead.ssx1008Req"),typeof(System.UInt16));
|
return _ssx1008Req;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("ssx1xPlcRead.ssx1008Req",value.ToString(),"ssx1xPlcReadQueue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "ssx1xPlcRead.ssx1008Req",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "ssx1xPlcRead.ssx1008Req",
|
paramValue = value.ToString()
|
}
|
}
|
},"ssx1xPlcReadQueue","","")==false)
|
{
|
return;
|
}
|
_ssx1008Req = value;
|
RaisePropertyChanged("ssx1008Req");
|
}
|
}
|
private System.UInt16 _ssx1010Req;
|
public System.UInt16 ssx1010Req
|
{
|
get
|
{
|
|
_ssx1010Req=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("ssx1xPlcRead.ssx1010Req"),typeof(System.UInt16));
|
return _ssx1010Req;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("ssx1xPlcRead.ssx1010Req",value.ToString(),"ssx1xPlcReadQueue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "ssx1xPlcRead.ssx1010Req",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "ssx1xPlcRead.ssx1010Req",
|
paramValue = value.ToString()
|
}
|
}
|
},"ssx1xPlcReadQueue","","")==false)
|
{
|
return;
|
}
|
_ssx1010Req = value;
|
RaisePropertyChanged("ssx1010Req");
|
}
|
}
|
private System.UInt16 _ssx1016Req;
|
public System.UInt16 ssx1016Req
|
{
|
get
|
{
|
|
_ssx1016Req=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("ssx1xPlcRead.ssx1016Req"),typeof(System.UInt16));
|
return _ssx1016Req;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("ssx1xPlcRead.ssx1016Req",value.ToString(),"ssx1xPlcReadQueue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "ssx1xPlcRead.ssx1016Req",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "ssx1xPlcRead.ssx1016Req",
|
paramValue = value.ToString()
|
}
|
}
|
},"ssx1xPlcReadQueue","","")==false)
|
{
|
return;
|
}
|
_ssx1016Req = value;
|
RaisePropertyChanged("ssx1016Req");
|
}
|
}
|
private System.UInt16 _ssx1006State;
|
public System.UInt16 ssx1006State
|
{
|
get
|
{
|
|
_ssx1006State=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("ssx1xPlcRead.ssx1006State"),typeof(System.UInt16));
|
return _ssx1006State;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("ssx1xPlcRead.ssx1006State",value.ToString(),"ssx1xPlcReadQueue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "ssx1xPlcRead.ssx1006State",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "ssx1xPlcRead.ssx1006State",
|
paramValue = value.ToString()
|
}
|
}
|
},"ssx1xPlcReadQueue","","")==false)
|
{
|
return;
|
}
|
_ssx1006State = value;
|
RaisePropertyChanged("ssx1006State");
|
}
|
}
|
private System.UInt16 _ssx1012State;
|
public System.UInt16 ssx1012State
|
{
|
get
|
{
|
|
_ssx1012State=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("ssx1xPlcRead.ssx1012State"),typeof(System.UInt16));
|
return _ssx1012State;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("ssx1xPlcRead.ssx1012State",value.ToString(),"ssx1xPlcReadQueue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "ssx1xPlcRead.ssx1012State",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "ssx1xPlcRead.ssx1012State",
|
paramValue = value.ToString()
|
}
|
}
|
},"ssx1xPlcReadQueue","","")==false)
|
{
|
return;
|
}
|
_ssx1012State = value;
|
RaisePropertyChanged("ssx1012State");
|
}
|
}
|
private System.UInt16 _ssx1014State;
|
public System.UInt16 ssx1014State
|
{
|
get
|
{
|
|
_ssx1014State=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("ssx1xPlcRead.ssx1014State"),typeof(System.UInt16));
|
return _ssx1014State;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("ssx1xPlcRead.ssx1014State",value.ToString(),"ssx1xPlcReadQueue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "ssx1xPlcRead.ssx1014State",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "ssx1xPlcRead.ssx1014State",
|
paramValue = value.ToString()
|
}
|
}
|
},"ssx1xPlcReadQueue","","")==false)
|
{
|
return;
|
}
|
_ssx1014State = value;
|
RaisePropertyChanged("ssx1014State");
|
}
|
}
|
private System.UInt16 _ssx1017State;
|
public System.UInt16 ssx1017State
|
{
|
get
|
{
|
|
_ssx1017State=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("ssx1xPlcRead.ssx1017State"),typeof(System.UInt16));
|
return _ssx1017State;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("ssx1xPlcRead.ssx1017State",value.ToString(),"ssx1xPlcReadQueue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "ssx1xPlcRead.ssx1017State",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "ssx1xPlcRead.ssx1017State",
|
paramValue = value.ToString()
|
}
|
}
|
},"ssx1xPlcReadQueue","","")==false)
|
{
|
return;
|
}
|
_ssx1017State = value;
|
RaisePropertyChanged("ssx1017State");
|
}
|
}
|
private System.UInt16 _ssx1026State;
|
public System.UInt16 ssx1026State
|
{
|
get
|
{
|
|
_ssx1026State=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("ssx1xPlcRead.ssx1026State"),typeof(System.UInt16));
|
return _ssx1026State;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("ssx1xPlcRead.ssx1026State",value.ToString(),"ssx1xPlcReadQueue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "ssx1xPlcRead.ssx1026State",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "ssx1xPlcRead.ssx1026State",
|
paramValue = value.ToString()
|
}
|
}
|
},"ssx1xPlcReadQueue","","")==false)
|
{
|
return;
|
}
|
_ssx1026State = value;
|
RaisePropertyChanged("ssx1026State");
|
}
|
}
|
#endregion
|
|
#region 变量组
|
#endregion
|
|
#region 内部类
|
|
#endregion
|
|
#region 属性变更
|
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
public void RaisePropertyChanged(string propertyName)
|
{
|
System.ComponentModel.PropertyChangedEventHandler handler = PropertyChanged;
|
if (handler != null)
|
{
|
handler(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
}
|
}
|
#endregion
|
}
|
|
public class Tagssx2Xplc : System.ComponentModel.INotifyPropertyChanged
|
{
|
#region 变量
|
private System.UInt16 _ssx2000State;
|
public System.UInt16 ssx2000State
|
{
|
get
|
{
|
|
_ssx2000State=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("ssx2xPlcRead.ssx2000State"),typeof(System.UInt16));
|
return _ssx2000State;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("ssx2xPlcRead.ssx2000State",value.ToString(),"ssx2xPlcReadQueue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "ssx2xPlcRead.ssx2000State",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "ssx2xPlcRead.ssx2000State",
|
paramValue = value.ToString()
|
}
|
}
|
},"ssx2xPlcReadQueue","","")==false)
|
{
|
return;
|
}
|
_ssx2000State = value;
|
RaisePropertyChanged("ssx2000State");
|
}
|
}
|
private System.UInt16 _ssx2030Req;
|
public System.UInt16 ssx2030Req
|
{
|
get
|
{
|
|
_ssx2030Req=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("ssx2xPlcRead.ssx2030Req"),typeof(System.UInt16));
|
return _ssx2030Req;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("ssx2xPlcRead.ssx2030Req",value.ToString(),"ssx2xPlcReadQueue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "ssx2xPlcRead.ssx2030Req",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "ssx2xPlcRead.ssx2030Req",
|
paramValue = value.ToString()
|
}
|
}
|
},"ssx2xPlcReadQueue","","")==false)
|
{
|
return;
|
}
|
_ssx2030Req = value;
|
RaisePropertyChanged("ssx2030Req");
|
}
|
}
|
#endregion
|
|
#region 变量组
|
#endregion
|
|
#region 内部类
|
|
#endregion
|
|
#region 属性变更
|
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
public void RaisePropertyChanged(string propertyName)
|
{
|
System.ComponentModel.PropertyChangedEventHandler handler = PropertyChanged;
|
if (handler != null)
|
{
|
handler(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
}
|
}
|
#endregion
|
}
|
|
public class Tagssx3Xplc : System.ComponentModel.INotifyPropertyChanged
|
{
|
#region 变量
|
private System.UInt16 _ssx3006State;
|
public System.UInt16 ssx3006State
|
{
|
get
|
{
|
|
_ssx3006State=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("ssx3xPlcRead.ssx3006State"),typeof(System.UInt16));
|
return _ssx3006State;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("ssx3xPlcRead.ssx3006State",value.ToString(),"ssx3xPlcReadQueue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "ssx3xPlcRead.ssx3006State",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "ssx3xPlcRead.ssx3006State",
|
paramValue = value.ToString()
|
}
|
}
|
},"ssx3xPlcReadQueue","","")==false)
|
{
|
return;
|
}
|
_ssx3006State = value;
|
RaisePropertyChanged("ssx3006State");
|
}
|
}
|
private System.UInt16 _ssx3005Req;
|
public System.UInt16 ssx3005Req
|
{
|
get
|
{
|
|
_ssx3005Req=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("ssx3xPlcRead.ssx3005Req"),typeof(System.UInt16));
|
return _ssx3005Req;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("ssx3xPlcRead.ssx3005Req",value.ToString(),"ssx3xPlcReadQueue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "ssx3xPlcRead.ssx3005Req",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "ssx3xPlcRead.ssx3005Req",
|
paramValue = value.ToString()
|
}
|
}
|
},"ssx3xPlcReadQueue","","")==false)
|
{
|
return;
|
}
|
_ssx3005Req = value;
|
RaisePropertyChanged("ssx3005Req");
|
}
|
}
|
private System.UInt16 _ssx3010Req;
|
public System.UInt16 ssx3010Req
|
{
|
get
|
{
|
|
_ssx3010Req=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("ssx3xPlcRead.ssx3010Req"),typeof(System.UInt16));
|
return _ssx3010Req;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("ssx3xPlcRead.ssx3010Req",value.ToString(),"ssx3xPlcReadQueue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "ssx3xPlcRead.ssx3010Req",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "ssx3xPlcRead.ssx3010Req",
|
paramValue = value.ToString()
|
}
|
}
|
},"ssx3xPlcReadQueue","","")==false)
|
{
|
return;
|
}
|
_ssx3010Req = value;
|
RaisePropertyChanged("ssx3010Req");
|
}
|
}
|
private System.UInt16 _ssx3001State;
|
public System.UInt16 ssx3001State
|
{
|
get
|
{
|
|
_ssx3001State=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("ssx3xPlcRead.ssx3001State"),typeof(System.UInt16));
|
return _ssx3001State;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("ssx3xPlcRead.ssx3001State",value.ToString(),"ssx3xPlcReadQueue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "ssx3xPlcRead.ssx3001State",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "ssx3xPlcRead.ssx3001State",
|
paramValue = value.ToString()
|
}
|
}
|
},"ssx3xPlcReadQueue","","")==false)
|
{
|
return;
|
}
|
_ssx3001State = value;
|
RaisePropertyChanged("ssx3001State");
|
}
|
}
|
#endregion
|
|
#region 变量组
|
#endregion
|
|
#region 内部类
|
|
#endregion
|
|
#region 属性变更
|
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
public void RaisePropertyChanged(string propertyName)
|
{
|
System.ComponentModel.PropertyChangedEventHandler handler = PropertyChanged;
|
if (handler != null)
|
{
|
handler(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
}
|
}
|
#endregion
|
}
|
|
public class Tagwxr1 : System.ComponentModel.INotifyPropertyChanged
|
{
|
#region 变量
|
private System.Boolean _R07;
|
public System.Boolean R07
|
{
|
get
|
{
|
|
_R07=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂1.R07"),typeof(System.Boolean));
|
return _R07;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂1.R07",value.ToString(),"维希尔抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂1.R07",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂1.R07",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_R07 = value;
|
RaisePropertyChanged("R07");
|
}
|
}
|
private System.Boolean _R00;
|
public System.Boolean R00
|
{
|
get
|
{
|
|
_R00=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂1.R00"),typeof(System.Boolean));
|
return _R00;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂1.R00",value.ToString(),"维希尔抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂1.R00",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂1.R00",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_R00 = value;
|
RaisePropertyChanged("R00");
|
}
|
}
|
private System.Boolean _R01;
|
public System.Boolean R01
|
{
|
get
|
{
|
|
_R01=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂1.R01"),typeof(System.Boolean));
|
return _R01;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂1.R01",value.ToString(),"维希尔抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂1.R01",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂1.R01",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_R01 = value;
|
RaisePropertyChanged("R01");
|
}
|
}
|
private System.Boolean _R02;
|
public System.Boolean R02
|
{
|
get
|
{
|
|
_R02=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂1.R02"),typeof(System.Boolean));
|
return _R02;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂1.R02",value.ToString(),"维希尔抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂1.R02",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂1.R02",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_R02 = value;
|
RaisePropertyChanged("R02");
|
}
|
}
|
private System.Boolean _R03;
|
public System.Boolean R03
|
{
|
get
|
{
|
|
_R03=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂1.R03"),typeof(System.Boolean));
|
return _R03;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂1.R03",value.ToString(),"维希尔抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂1.R03",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂1.R03",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_R03 = value;
|
RaisePropertyChanged("R03");
|
}
|
}
|
private System.Boolean _R04;
|
public System.Boolean R04
|
{
|
get
|
{
|
|
_R04=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂1.R04"),typeof(System.Boolean));
|
return _R04;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂1.R04",value.ToString(),"维希尔抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂1.R04",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂1.R04",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_R04 = value;
|
RaisePropertyChanged("R04");
|
}
|
}
|
private System.Boolean _R05;
|
public System.Boolean R05
|
{
|
get
|
{
|
|
_R05=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂1.R05"),typeof(System.Boolean));
|
return _R05;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂1.R05",value.ToString(),"维希尔抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂1.R05",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂1.R05",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_R05 = value;
|
RaisePropertyChanged("R05");
|
}
|
}
|
private System.Boolean _R06;
|
public System.Boolean R06
|
{
|
get
|
{
|
|
_R06=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂1.R06"),typeof(System.Boolean));
|
return _R06;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂1.R06",value.ToString(),"维希尔抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂1.R06",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂1.R06",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_R06 = value;
|
RaisePropertyChanged("R06");
|
}
|
}
|
private System.Boolean _R10;
|
public System.Boolean R10
|
{
|
get
|
{
|
|
_R10=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂1.R10"),typeof(System.Boolean));
|
return _R10;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂1.R10",value.ToString(),"维希尔抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂1.R10",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂1.R10",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_R10 = value;
|
RaisePropertyChanged("R10");
|
}
|
}
|
private System.Boolean _R11;
|
public System.Boolean R11
|
{
|
get
|
{
|
|
_R11=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂1.R11"),typeof(System.Boolean));
|
return _R11;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂1.R11",value.ToString(),"维希尔抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂1.R11",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂1.R11",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_R11 = value;
|
RaisePropertyChanged("R11");
|
}
|
}
|
private System.Boolean _R12;
|
public System.Boolean R12
|
{
|
get
|
{
|
|
_R12=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂1.R12"),typeof(System.Boolean));
|
return _R12;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂1.R12",value.ToString(),"维希尔抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂1.R12",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂1.R12",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_R12 = value;
|
RaisePropertyChanged("R12");
|
}
|
}
|
private System.Boolean _R13;
|
public System.Boolean R13
|
{
|
get
|
{
|
|
_R13=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂1.R13"),typeof(System.Boolean));
|
return _R13;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂1.R13",value.ToString(),"维希尔抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂1.R13",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂1.R13",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_R13 = value;
|
RaisePropertyChanged("R13");
|
}
|
}
|
private System.Boolean _R14;
|
public System.Boolean R14
|
{
|
get
|
{
|
|
_R14=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂1.R14"),typeof(System.Boolean));
|
return _R14;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂1.R14",value.ToString(),"维希尔抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂1.R14",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂1.R14",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_R14 = value;
|
RaisePropertyChanged("R14");
|
}
|
}
|
private System.Boolean _R41;
|
public System.Boolean R41
|
{
|
get
|
{
|
|
_R41=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂1.R41"),typeof(System.Boolean));
|
return _R41;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂1.R41",value.ToString(),"维希尔抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂1.R41",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂1.R41",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_R41 = value;
|
RaisePropertyChanged("R41");
|
}
|
}
|
private System.Boolean _R41_LAST;
|
public System.Boolean R41_LAST
|
{
|
get
|
{
|
|
_R41_LAST=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂1.R41_LAST"),typeof(System.Boolean));
|
return _R41_LAST;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂1.R41_LAST",value.ToString(),"维希尔抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂1.R41_LAST",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂1.R41_LAST",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_R41_LAST = value;
|
RaisePropertyChanged("R41_LAST");
|
}
|
}
|
private System.Boolean _R42;
|
public System.Boolean R42
|
{
|
get
|
{
|
|
_R42=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂1.R42"),typeof(System.Boolean));
|
return _R42;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂1.R42",value.ToString(),"维希尔抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂1.R42",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂1.R42",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_R42 = value;
|
RaisePropertyChanged("R42");
|
}
|
}
|
private System.Boolean _R43;
|
public System.Boolean R43
|
{
|
get
|
{
|
|
_R43=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂1.R43"),typeof(System.Boolean));
|
return _R43;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂1.R43",value.ToString(),"维希尔抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂1.R43",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂1.R43",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_R43 = value;
|
RaisePropertyChanged("R43");
|
}
|
}
|
private System.Boolean _R44=false;
|
public System.Boolean R44
|
{
|
get
|
{
|
|
_R44=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂1.R44"),typeof(System.Boolean));
|
return _R44;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂1.R44",value.ToString(),"维希尔抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂1.R44",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂1.R44",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_R44 = value;
|
RaisePropertyChanged("R44");
|
}
|
}
|
private System.Boolean _R44_LAST=false;
|
public System.Boolean R44_LAST
|
{
|
get
|
{
|
|
_R44_LAST=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂1.R44_LAST"),typeof(System.Boolean));
|
return _R44_LAST;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂1.R44_LAST",value.ToString(),"维希尔抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂1.R44_LAST",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂1.R44_LAST",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_R44_LAST = value;
|
RaisePropertyChanged("R44_LAST");
|
}
|
}
|
private System.Boolean _R45;
|
public System.Boolean R45
|
{
|
get
|
{
|
|
_R45=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂1.R45"),typeof(System.Boolean));
|
return _R45;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂1.R45",value.ToString(),"维希尔抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂1.R45",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂1.R45",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_R45 = value;
|
RaisePropertyChanged("R45");
|
}
|
}
|
private System.Boolean _R46;
|
public System.Boolean R46
|
{
|
get
|
{
|
|
_R46=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂1.R46"),typeof(System.Boolean));
|
return _R46;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂1.R46",value.ToString(),"维希尔抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂1.R46",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂1.R46",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_R46 = value;
|
RaisePropertyChanged("R46");
|
}
|
}
|
private System.Boolean _R46_LAST;
|
public System.Boolean R46_LAST
|
{
|
get
|
{
|
|
_R46_LAST=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂1.R46_LAST"),typeof(System.Boolean));
|
return _R46_LAST;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂1.R46_LAST",value.ToString(),"维希尔抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂1.R46_LAST",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂1.R46_LAST",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_R46_LAST = value;
|
RaisePropertyChanged("R46_LAST");
|
}
|
}
|
private System.Boolean _R47;
|
public System.Boolean R47
|
{
|
get
|
{
|
|
_R47=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂1.R47"),typeof(System.Boolean));
|
return _R47;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂1.R47",value.ToString(),"维希尔抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂1.R47",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂1.R47",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_R47 = value;
|
RaisePropertyChanged("R47");
|
}
|
}
|
private System.Boolean _R50;
|
public System.Boolean R50
|
{
|
get
|
{
|
|
_R50=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂1.R50"),typeof(System.Boolean));
|
return _R50;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂1.R50",value.ToString(),"维希尔抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂1.R50",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂1.R50",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_R50 = value;
|
RaisePropertyChanged("R50");
|
}
|
}
|
private System.Boolean _R51;
|
public System.Boolean R51
|
{
|
get
|
{
|
|
_R51=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂1.R51"),typeof(System.Boolean));
|
return _R51;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂1.R51",value.ToString(),"维希尔抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂1.R51",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂1.R51",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_R51 = value;
|
RaisePropertyChanged("R51");
|
}
|
}
|
private System.Boolean _R52;
|
public System.Boolean R52
|
{
|
get
|
{
|
|
_R52=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂1.R52"),typeof(System.Boolean));
|
return _R52;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂1.R52",value.ToString(),"维希尔抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂1.R52",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂1.R52",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_R52 = value;
|
RaisePropertyChanged("R52");
|
}
|
}
|
#endregion
|
|
#region 变量组
|
#endregion
|
|
#region 内部类
|
|
#endregion
|
|
#region 属性变更
|
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
public void RaisePropertyChanged(string propertyName)
|
{
|
System.ComponentModel.PropertyChangedEventHandler handler = PropertyChanged;
|
if (handler != null)
|
{
|
handler(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
}
|
}
|
#endregion
|
}
|
|
public class Tagwxr2 : System.ComponentModel.INotifyPropertyChanged
|
{
|
#region 变量
|
private System.Boolean _R11;
|
public System.Boolean R11
|
{
|
get
|
{
|
|
_R11=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂2.R11"),typeof(System.Boolean));
|
return _R11;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂2.R11",value.ToString(),"维希尔抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂2.R11",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂2.R11",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_R11 = value;
|
RaisePropertyChanged("R11");
|
}
|
}
|
private System.Boolean _R00;
|
public System.Boolean R00
|
{
|
get
|
{
|
|
_R00=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂2.R00"),typeof(System.Boolean));
|
return _R00;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂2.R00",value.ToString(),"维希尔抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂2.R00",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂2.R00",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_R00 = value;
|
RaisePropertyChanged("R00");
|
}
|
}
|
private System.Boolean _R01;
|
public System.Boolean R01
|
{
|
get
|
{
|
|
_R01=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂2.R01"),typeof(System.Boolean));
|
return _R01;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂2.R01",value.ToString(),"维希尔抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂2.R01",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂2.R01",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_R01 = value;
|
RaisePropertyChanged("R01");
|
}
|
}
|
private System.Boolean _R02;
|
public System.Boolean R02
|
{
|
get
|
{
|
|
_R02=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂2.R02"),typeof(System.Boolean));
|
return _R02;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂2.R02",value.ToString(),"维希尔抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂2.R02",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂2.R02",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_R02 = value;
|
RaisePropertyChanged("R02");
|
}
|
}
|
private System.Boolean _R03;
|
public System.Boolean R03
|
{
|
get
|
{
|
|
_R03=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂2.R03"),typeof(System.Boolean));
|
return _R03;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂2.R03",value.ToString(),"维希尔抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂2.R03",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂2.R03",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_R03 = value;
|
RaisePropertyChanged("R03");
|
}
|
}
|
private System.Boolean _R04;
|
public System.Boolean R04
|
{
|
get
|
{
|
|
_R04=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂2.R04"),typeof(System.Boolean));
|
return _R04;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂2.R04",value.ToString(),"维希尔抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂2.R04",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂2.R04",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_R04 = value;
|
RaisePropertyChanged("R04");
|
}
|
}
|
private System.Boolean _R05;
|
public System.Boolean R05
|
{
|
get
|
{
|
|
_R05=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂2.R05"),typeof(System.Boolean));
|
return _R05;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂2.R05",value.ToString(),"维希尔抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂2.R05",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂2.R05",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_R05 = value;
|
RaisePropertyChanged("R05");
|
}
|
}
|
private System.Boolean _R06;
|
public System.Boolean R06
|
{
|
get
|
{
|
|
_R06=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂2.R06"),typeof(System.Boolean));
|
return _R06;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂2.R06",value.ToString(),"维希尔抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂2.R06",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂2.R06",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_R06 = value;
|
RaisePropertyChanged("R06");
|
}
|
}
|
private System.Boolean _R07;
|
public System.Boolean R07
|
{
|
get
|
{
|
|
_R07=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂2.R07"),typeof(System.Boolean));
|
return _R07;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂2.R07",value.ToString(),"维希尔抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂2.R07",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂2.R07",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_R07 = value;
|
RaisePropertyChanged("R07");
|
}
|
}
|
private System.Boolean _R10;
|
public System.Boolean R10
|
{
|
get
|
{
|
|
_R10=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂2.R10"),typeof(System.Boolean));
|
return _R10;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂2.R10",value.ToString(),"维希尔抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂2.R10",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂2.R10",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_R10 = value;
|
RaisePropertyChanged("R10");
|
}
|
}
|
private System.Boolean _R12;
|
public System.Boolean R12
|
{
|
get
|
{
|
|
_R12=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂2.R12"),typeof(System.Boolean));
|
return _R12;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂2.R12",value.ToString(),"维希尔抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂2.R12",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂2.R12",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_R12 = value;
|
RaisePropertyChanged("R12");
|
}
|
}
|
private System.Boolean _R13;
|
public System.Boolean R13
|
{
|
get
|
{
|
|
_R13=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂2.R13"),typeof(System.Boolean));
|
return _R13;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂2.R13",value.ToString(),"维希尔抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂2.R13",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂2.R13",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_R13 = value;
|
RaisePropertyChanged("R13");
|
}
|
}
|
private System.Boolean _R14;
|
public System.Boolean R14
|
{
|
get
|
{
|
|
_R14=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂2.R14"),typeof(System.Boolean));
|
return _R14;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂2.R14",value.ToString(),"维希尔抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂2.R14",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂2.R14",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_R14 = value;
|
RaisePropertyChanged("R14");
|
}
|
}
|
private System.Boolean _R41;
|
public System.Boolean R41
|
{
|
get
|
{
|
|
_R41=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂2.R41"),typeof(System.Boolean));
|
return _R41;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂2.R41",value.ToString(),"维希尔抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂2.R41",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂2.R41",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_R41 = value;
|
RaisePropertyChanged("R41");
|
}
|
}
|
private System.Boolean _R41_LAST;
|
public System.Boolean R41_LAST
|
{
|
get
|
{
|
|
_R41_LAST=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂2.R41_LAST"),typeof(System.Boolean));
|
return _R41_LAST;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂2.R41_LAST",value.ToString(),"维希尔抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂2.R41_LAST",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂2.R41_LAST",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_R41_LAST = value;
|
RaisePropertyChanged("R41_LAST");
|
}
|
}
|
private System.Boolean _R42;
|
public System.Boolean R42
|
{
|
get
|
{
|
|
_R42=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂2.R42"),typeof(System.Boolean));
|
return _R42;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂2.R42",value.ToString(),"维希尔抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂2.R42",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂2.R42",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_R42 = value;
|
RaisePropertyChanged("R42");
|
}
|
}
|
private System.Boolean _R43;
|
public System.Boolean R43
|
{
|
get
|
{
|
|
_R43=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂2.R43"),typeof(System.Boolean));
|
return _R43;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂2.R43",value.ToString(),"维希尔抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂2.R43",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂2.R43",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_R43 = value;
|
RaisePropertyChanged("R43");
|
}
|
}
|
private System.Boolean _R44;
|
public System.Boolean R44
|
{
|
get
|
{
|
|
_R44=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂2.R44"),typeof(System.Boolean));
|
return _R44;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂2.R44",value.ToString(),"维希尔抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂2.R44",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂2.R44",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_R44 = value;
|
RaisePropertyChanged("R44");
|
}
|
}
|
private System.Boolean _R44_LAST;
|
public System.Boolean R44_LAST
|
{
|
get
|
{
|
|
_R44_LAST=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂2.R44_LAST"),typeof(System.Boolean));
|
return _R44_LAST;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂2.R44_LAST",value.ToString(),"维希尔抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂2.R44_LAST",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂2.R44_LAST",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_R44_LAST = value;
|
RaisePropertyChanged("R44_LAST");
|
}
|
}
|
private System.Boolean _R45;
|
public System.Boolean R45
|
{
|
get
|
{
|
|
_R45=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂2.R45"),typeof(System.Boolean));
|
return _R45;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂2.R45",value.ToString(),"维希尔抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂2.R45",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂2.R45",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_R45 = value;
|
RaisePropertyChanged("R45");
|
}
|
}
|
private System.Boolean _R46;
|
public System.Boolean R46
|
{
|
get
|
{
|
|
_R46=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂2.R46"),typeof(System.Boolean));
|
return _R46;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂2.R46",value.ToString(),"维希尔抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂2.R46",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂2.R46",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_R46 = value;
|
RaisePropertyChanged("R46");
|
}
|
}
|
private System.Boolean _R46_LAST;
|
public System.Boolean R46_LAST
|
{
|
get
|
{
|
|
_R46_LAST=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂2.R46_LAST"),typeof(System.Boolean));
|
return _R46_LAST;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂2.R46_LAST",value.ToString(),"维希尔抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂2.R46_LAST",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂2.R46_LAST",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_R46_LAST = value;
|
RaisePropertyChanged("R46_LAST");
|
}
|
}
|
private System.Boolean _R47;
|
public System.Boolean R47
|
{
|
get
|
{
|
|
_R47=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂2.R47"),typeof(System.Boolean));
|
return _R47;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂2.R47",value.ToString(),"维希尔抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂2.R47",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂2.R47",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_R47 = value;
|
RaisePropertyChanged("R47");
|
}
|
}
|
private System.Boolean _R50;
|
public System.Boolean R50
|
{
|
get
|
{
|
|
_R50=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂2.R50"),typeof(System.Boolean));
|
return _R50;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂2.R50",value.ToString(),"维希尔抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂2.R50",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂2.R50",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_R50 = value;
|
RaisePropertyChanged("R50");
|
}
|
}
|
private System.Boolean _R51;
|
public System.Boolean R51
|
{
|
get
|
{
|
|
_R51=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂2.R51"),typeof(System.Boolean));
|
return _R51;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂2.R51",value.ToString(),"维希尔抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂2.R51",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂2.R51",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_R51 = value;
|
RaisePropertyChanged("R51");
|
}
|
}
|
private System.Boolean _R52;
|
public System.Boolean R52
|
{
|
get
|
{
|
|
_R52=(System.Boolean)System.Convert.ChangeType(Conn.默认Redis.GetValue("维希尔抓臂2.R52"),typeof(System.Boolean));
|
return _R52;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("维希尔抓臂2.R52",value.ToString(),"维希尔抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "维希尔抓臂2.R52",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "维希尔抓臂2.R52",
|
paramValue = value.ToString()
|
}
|
}
|
},"维希尔抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_R52 = value;
|
RaisePropertyChanged("R52");
|
}
|
}
|
#endregion
|
|
#region 变量组
|
#endregion
|
|
#region 内部类
|
|
#endregion
|
|
#region 属性变更
|
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
public void RaisePropertyChanged(string propertyName)
|
{
|
System.ComponentModel.PropertyChangedEventHandler handler = PropertyChanged;
|
if (handler != null)
|
{
|
handler(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
}
|
}
|
#endregion
|
}
|
|
public class Tagjs1 : System.ComponentModel.INotifyPropertyChanged
|
{
|
#region 变量
|
private System.UInt16 _M5;
|
public System.UInt16 M5
|
{
|
get
|
{
|
|
_M5=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂1.M5"),typeof(System.UInt16));
|
return _M5;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂1.M5",value.ToString(),"捷瞬抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂1.M5",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂1.M5",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_M5 = value;
|
RaisePropertyChanged("M5");
|
}
|
}
|
private System.UInt16 _M0;
|
public System.UInt16 M0
|
{
|
get
|
{
|
|
_M0=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂1.M0"),typeof(System.UInt16));
|
return _M0;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂1.M0",value.ToString(),"捷瞬抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂1.M0",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂1.M0",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_M0 = value;
|
RaisePropertyChanged("M0");
|
}
|
}
|
private System.UInt16 _M1;
|
public System.UInt16 M1
|
{
|
get
|
{
|
|
_M1=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂1.M1"),typeof(System.UInt16));
|
return _M1;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂1.M1",value.ToString(),"捷瞬抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂1.M1",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂1.M1",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_M1 = value;
|
RaisePropertyChanged("M1");
|
}
|
}
|
private System.UInt16 _M2;
|
public System.UInt16 M2
|
{
|
get
|
{
|
|
_M2=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂1.M2"),typeof(System.UInt16));
|
return _M2;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂1.M2",value.ToString(),"捷瞬抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂1.M2",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂1.M2",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_M2 = value;
|
RaisePropertyChanged("M2");
|
}
|
}
|
private System.UInt16 _M3;
|
public System.UInt16 M3
|
{
|
get
|
{
|
|
_M3=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂1.M3"),typeof(System.UInt16));
|
return _M3;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂1.M3",value.ToString(),"捷瞬抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂1.M3",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂1.M3",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_M3 = value;
|
RaisePropertyChanged("M3");
|
}
|
}
|
private System.UInt16 _M4;
|
public System.UInt16 M4
|
{
|
get
|
{
|
|
_M4=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂1.M4"),typeof(System.UInt16));
|
return _M4;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂1.M4",value.ToString(),"捷瞬抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂1.M4",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂1.M4",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_M4 = value;
|
RaisePropertyChanged("M4");
|
}
|
}
|
private System.UInt16 _M6;
|
public System.UInt16 M6
|
{
|
get
|
{
|
|
_M6=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂1.M6"),typeof(System.UInt16));
|
return _M6;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂1.M6",value.ToString(),"捷瞬抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂1.M6",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂1.M6",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_M6 = value;
|
RaisePropertyChanged("M6");
|
}
|
}
|
private System.UInt16 _M7;
|
public System.UInt16 M7
|
{
|
get
|
{
|
|
_M7=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂1.M7"),typeof(System.UInt16));
|
return _M7;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂1.M7",value.ToString(),"捷瞬抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂1.M7",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂1.M7",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_M7 = value;
|
RaisePropertyChanged("M7");
|
}
|
}
|
private System.UInt16 _M32;
|
public System.UInt16 M32
|
{
|
get
|
{
|
|
_M32=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂1.M32"),typeof(System.UInt16));
|
return _M32;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂1.M32",value.ToString(),"捷瞬抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂1.M32",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂1.M32",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_M32 = value;
|
RaisePropertyChanged("M32");
|
}
|
}
|
private System.UInt16 _M33;
|
public System.UInt16 M33
|
{
|
get
|
{
|
|
_M33=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂1.M33"),typeof(System.UInt16));
|
return _M33;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂1.M33",value.ToString(),"捷瞬抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂1.M33",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂1.M33",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_M33 = value;
|
RaisePropertyChanged("M33");
|
}
|
}
|
private System.UInt16 _M34;
|
public System.UInt16 M34
|
{
|
get
|
{
|
|
_M34=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂1.M34"),typeof(System.UInt16));
|
return _M34;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂1.M34",value.ToString(),"捷瞬抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂1.M34",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂1.M34",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_M34 = value;
|
RaisePropertyChanged("M34");
|
}
|
}
|
private System.UInt16 _M35;
|
public System.UInt16 M35
|
{
|
get
|
{
|
|
_M35=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂1.M35"),typeof(System.UInt16));
|
return _M35;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂1.M35",value.ToString(),"捷瞬抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂1.M35",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂1.M35",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_M35 = value;
|
RaisePropertyChanged("M35");
|
}
|
}
|
private System.UInt16 _M36;
|
public System.UInt16 M36
|
{
|
get
|
{
|
|
_M36=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂1.M36"),typeof(System.UInt16));
|
return _M36;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂1.M36",value.ToString(),"捷瞬抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂1.M36",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂1.M36",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_M36 = value;
|
RaisePropertyChanged("M36");
|
}
|
}
|
private System.UInt16 _M37;
|
public System.UInt16 M37
|
{
|
get
|
{
|
|
_M37=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂1.M37"),typeof(System.UInt16));
|
return _M37;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂1.M37",value.ToString(),"捷瞬抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂1.M37",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂1.M37",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_M37 = value;
|
RaisePropertyChanged("M37");
|
}
|
}
|
private System.UInt16 _M38;
|
public System.UInt16 M38
|
{
|
get
|
{
|
|
_M38=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂1.M38"),typeof(System.UInt16));
|
return _M38;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂1.M38",value.ToString(),"捷瞬抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂1.M38",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂1.M38",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_M38 = value;
|
RaisePropertyChanged("M38");
|
}
|
}
|
private System.UInt16 _M39;
|
public System.UInt16 M39
|
{
|
get
|
{
|
|
_M39=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂1.M39"),typeof(System.UInt16));
|
return _M39;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂1.M39",value.ToString(),"捷瞬抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂1.M39",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂1.M39",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_M39 = value;
|
RaisePropertyChanged("M39");
|
}
|
}
|
private System.UInt16 _M40;
|
public System.UInt16 M40
|
{
|
get
|
{
|
|
_M40=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂1.M40"),typeof(System.UInt16));
|
return _M40;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂1.M40",value.ToString(),"捷瞬抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂1.M40",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂1.M40",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_M40 = value;
|
RaisePropertyChanged("M40");
|
}
|
}
|
private System.UInt16 _M41;
|
public System.UInt16 M41
|
{
|
get
|
{
|
|
_M41=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂1.M41"),typeof(System.UInt16));
|
return _M41;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂1.M41",value.ToString(),"捷瞬抓臂1Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂1.M41",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂1.M41",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂1Queue","","")==false)
|
{
|
return;
|
}
|
_M41 = value;
|
RaisePropertyChanged("M41");
|
}
|
}
|
#endregion
|
|
#region 变量组
|
#endregion
|
|
#region 内部类
|
|
#endregion
|
|
#region 属性变更
|
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
public void RaisePropertyChanged(string propertyName)
|
{
|
System.ComponentModel.PropertyChangedEventHandler handler = PropertyChanged;
|
if (handler != null)
|
{
|
handler(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
}
|
}
|
#endregion
|
}
|
|
public class Tagjs2 : System.ComponentModel.INotifyPropertyChanged
|
{
|
#region 变量
|
private System.UInt16 _M0;
|
public System.UInt16 M0
|
{
|
get
|
{
|
|
_M0=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂2.M0"),typeof(System.UInt16));
|
return _M0;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂2.M0",value.ToString(),"捷瞬抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂2.M0",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂2.M0",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_M0 = value;
|
RaisePropertyChanged("M0");
|
}
|
}
|
private System.UInt16 _M4;
|
public System.UInt16 M4
|
{
|
get
|
{
|
|
_M4=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂2.M4"),typeof(System.UInt16));
|
return _M4;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂2.M4",value.ToString(),"捷瞬抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂2.M4",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂2.M4",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_M4 = value;
|
RaisePropertyChanged("M4");
|
}
|
}
|
private System.UInt16 _M1;
|
public System.UInt16 M1
|
{
|
get
|
{
|
|
_M1=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂2.M1"),typeof(System.UInt16));
|
return _M1;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂2.M1",value.ToString(),"捷瞬抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂2.M1",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂2.M1",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_M1 = value;
|
RaisePropertyChanged("M1");
|
}
|
}
|
private System.UInt16 _M2;
|
public System.UInt16 M2
|
{
|
get
|
{
|
|
_M2=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂2.M2"),typeof(System.UInt16));
|
return _M2;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂2.M2",value.ToString(),"捷瞬抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂2.M2",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂2.M2",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_M2 = value;
|
RaisePropertyChanged("M2");
|
}
|
}
|
private System.UInt16 _M3;
|
public System.UInt16 M3
|
{
|
get
|
{
|
|
_M3=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂2.M3"),typeof(System.UInt16));
|
return _M3;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂2.M3",value.ToString(),"捷瞬抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂2.M3",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂2.M3",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_M3 = value;
|
RaisePropertyChanged("M3");
|
}
|
}
|
private System.UInt16 _M5;
|
public System.UInt16 M5
|
{
|
get
|
{
|
|
_M5=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂2.M5"),typeof(System.UInt16));
|
return _M5;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂2.M5",value.ToString(),"捷瞬抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂2.M5",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂2.M5",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_M5 = value;
|
RaisePropertyChanged("M5");
|
}
|
}
|
private System.UInt16 _M6;
|
public System.UInt16 M6
|
{
|
get
|
{
|
|
_M6=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂2.M6"),typeof(System.UInt16));
|
return _M6;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂2.M6",value.ToString(),"捷瞬抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂2.M6",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂2.M6",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_M6 = value;
|
RaisePropertyChanged("M6");
|
}
|
}
|
private System.UInt16 _M7;
|
public System.UInt16 M7
|
{
|
get
|
{
|
|
_M7=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂2.M7"),typeof(System.UInt16));
|
return _M7;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂2.M7",value.ToString(),"捷瞬抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂2.M7",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂2.M7",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_M7 = value;
|
RaisePropertyChanged("M7");
|
}
|
}
|
private System.UInt16 _M32;
|
public System.UInt16 M32
|
{
|
get
|
{
|
|
_M32=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂2.M32"),typeof(System.UInt16));
|
return _M32;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂2.M32",value.ToString(),"捷瞬抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂2.M32",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂2.M32",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_M32 = value;
|
RaisePropertyChanged("M32");
|
}
|
}
|
private System.UInt16 _M33;
|
public System.UInt16 M33
|
{
|
get
|
{
|
|
_M33=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂2.M33"),typeof(System.UInt16));
|
return _M33;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂2.M33",value.ToString(),"捷瞬抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂2.M33",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂2.M33",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_M33 = value;
|
RaisePropertyChanged("M33");
|
}
|
}
|
private System.UInt16 _M34;
|
public System.UInt16 M34
|
{
|
get
|
{
|
|
_M34=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂2.M34"),typeof(System.UInt16));
|
return _M34;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂2.M34",value.ToString(),"捷瞬抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂2.M34",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂2.M34",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_M34 = value;
|
RaisePropertyChanged("M34");
|
}
|
}
|
private System.UInt16 _M35;
|
public System.UInt16 M35
|
{
|
get
|
{
|
|
_M35=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂2.M35"),typeof(System.UInt16));
|
return _M35;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂2.M35",value.ToString(),"捷瞬抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂2.M35",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂2.M35",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_M35 = value;
|
RaisePropertyChanged("M35");
|
}
|
}
|
private System.UInt16 _M36;
|
public System.UInt16 M36
|
{
|
get
|
{
|
|
_M36=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂2.M36"),typeof(System.UInt16));
|
return _M36;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂2.M36",value.ToString(),"捷瞬抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂2.M36",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂2.M36",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_M36 = value;
|
RaisePropertyChanged("M36");
|
}
|
}
|
private System.UInt16 _M37;
|
public System.UInt16 M37
|
{
|
get
|
{
|
|
_M37=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂2.M37"),typeof(System.UInt16));
|
return _M37;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂2.M37",value.ToString(),"捷瞬抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂2.M37",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂2.M37",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_M37 = value;
|
RaisePropertyChanged("M37");
|
}
|
}
|
private System.UInt16 _M38;
|
public System.UInt16 M38
|
{
|
get
|
{
|
|
_M38=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂2.M38"),typeof(System.UInt16));
|
return _M38;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂2.M38",value.ToString(),"捷瞬抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂2.M38",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂2.M38",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_M38 = value;
|
RaisePropertyChanged("M38");
|
}
|
}
|
private System.UInt16 _M39;
|
public System.UInt16 M39
|
{
|
get
|
{
|
|
_M39=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂2.M39"),typeof(System.UInt16));
|
return _M39;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂2.M39",value.ToString(),"捷瞬抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂2.M39",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂2.M39",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_M39 = value;
|
RaisePropertyChanged("M39");
|
}
|
}
|
private System.UInt16 _M40;
|
public System.UInt16 M40
|
{
|
get
|
{
|
|
_M40=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂2.M40"),typeof(System.UInt16));
|
return _M40;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂2.M40",value.ToString(),"捷瞬抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂2.M40",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂2.M40",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_M40 = value;
|
RaisePropertyChanged("M40");
|
}
|
}
|
private System.UInt16 _M41;
|
public System.UInt16 M41
|
{
|
get
|
{
|
|
_M41=(System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue("捷瞬抓臂2.M41"),typeof(System.UInt16));
|
return _M41;
|
}
|
set
|
{
|
//Conn.默认Redis.SetValue("捷瞬抓臂2.M41",value.ToString(),"捷瞬抓臂2Queue");
|
if (Conn.默认Redis.SetQueue(new GZ.Modular.Redis.WriteGroupEntity()
|
{
|
groupName = "捷瞬抓臂2.M41",
|
queueStatus = 1,
|
queueTime = DateTime.Now,
|
writeList = new List<GZ.Modular.Redis.ParamData>()
|
{
|
new GZ.Modular.Redis.ParamData()
|
{
|
paramName = "捷瞬抓臂2.M41",
|
paramValue = value.ToString()
|
}
|
}
|
},"捷瞬抓臂2Queue","","")==false)
|
{
|
return;
|
}
|
_M41 = value;
|
RaisePropertyChanged("M41");
|
}
|
}
|
#endregion
|
|
#region 变量组
|
#endregion
|
|
#region 内部类
|
|
#endregion
|
|
#region 属性变更
|
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
public void RaisePropertyChanged(string propertyName)
|
{
|
System.ComponentModel.PropertyChangedEventHandler handler = PropertyChanged;
|
if (handler != null)
|
{
|
handler(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
}
|
}
|
#endregion
|
}
|
|
|
#endregion
|
|
#region 属性变更
|
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
public void RaisePropertyChanged(string propertyName)
|
{
|
System.ComponentModel.PropertyChangedEventHandler handler = PropertyChanged;
|
if (handler != null)
|
{
|
handler(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
}
|
}
|
#endregion
|
}
|
|
}
|