From 6ea3f5dcad1614af00761744842ebfb70cdab276 Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周日, 08 12月 2024 16:41:40 +0800 Subject: [PATCH] 22 --- CC/iWareCC_ASRS/Connected Services/StationService/Reference.cs | 216 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 210 insertions(+), 6 deletions(-) diff --git a/CC/iWareCC_ASRS/Connected Services/StationService/Reference.cs b/CC/iWareCC_ASRS/Connected Services/StationService/Reference.cs index bb7eacd..16c436f 100644 --- a/CC/iWareCC_ASRS/Connected Services/StationService/Reference.cs +++ b/CC/iWareCC_ASRS/Connected Services/StationService/Reference.cs @@ -300,7 +300,28 @@ private string R_1019_ScanField; [System.Runtime.Serialization.OptionalFieldAttribute()] - private int R_HandShakeField; + private bool R_HandShake_FJField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private bool R_HandShake_FXField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private bool R_HandShake_HBField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private bool R_HandShake_MBField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private short R_Mode_FJField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private short R_Mode_FXField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private short R_Mode_HBField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private short R_Mode_MBField; [System.Runtime.Serialization.OptionalFieldAttribute()] private iWareCC.StationService.StationDB2ObjForReadComm[] R_StationForReadCommListField; @@ -313,6 +334,18 @@ [System.Runtime.Serialization.OptionalFieldAttribute()] private bool R_Station_FinishField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private short R_Warning_FJField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private short R_Warning_FXField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private short R_Warning_HBField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private short R_Warning_MBField; [System.Runtime.Serialization.OptionalFieldAttribute()] private bool W_1002_ScanFailACKField; @@ -503,14 +536,105 @@ } [System.Runtime.Serialization.DataMemberAttribute()] - public int R_HandShake { + public bool R_HandShake_FJ { get { - return this.R_HandShakeField; + return this.R_HandShake_FJField; } set { - if ((this.R_HandShakeField.Equals(value) != true)) { - this.R_HandShakeField = value; - this.RaisePropertyChanged("R_HandShake"); + if ((this.R_HandShake_FJField.Equals(value) != true)) { + this.R_HandShake_FJField = value; + this.RaisePropertyChanged("R_HandShake_FJ"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public bool R_HandShake_FX { + get { + return this.R_HandShake_FXField; + } + set { + if ((this.R_HandShake_FXField.Equals(value) != true)) { + this.R_HandShake_FXField = value; + this.RaisePropertyChanged("R_HandShake_FX"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public bool R_HandShake_HB { + get { + return this.R_HandShake_HBField; + } + set { + if ((this.R_HandShake_HBField.Equals(value) != true)) { + this.R_HandShake_HBField = value; + this.RaisePropertyChanged("R_HandShake_HB"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public bool R_HandShake_MB { + get { + return this.R_HandShake_MBField; + } + set { + if ((this.R_HandShake_MBField.Equals(value) != true)) { + this.R_HandShake_MBField = value; + this.RaisePropertyChanged("R_HandShake_MB"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public short R_Mode_FJ { + get { + return this.R_Mode_FJField; + } + set { + if ((this.R_Mode_FJField.Equals(value) != true)) { + this.R_Mode_FJField = value; + this.RaisePropertyChanged("R_Mode_FJ"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public short R_Mode_FX { + get { + return this.R_Mode_FXField; + } + set { + if ((this.R_Mode_FXField.Equals(value) != true)) { + this.R_Mode_FXField = value; + this.RaisePropertyChanged("R_Mode_FX"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public short R_Mode_HB { + get { + return this.R_Mode_HBField; + } + set { + if ((this.R_Mode_HBField.Equals(value) != true)) { + this.R_Mode_HBField = value; + this.RaisePropertyChanged("R_Mode_HB"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public short R_Mode_MB { + get { + return this.R_Mode_MBField; + } + set { + if ((this.R_Mode_MBField.Equals(value) != true)) { + this.R_Mode_MBField = value; + this.RaisePropertyChanged("R_Mode_MB"); } } } @@ -563,6 +687,58 @@ if ((this.R_Station_FinishField.Equals(value) != true)) { this.R_Station_FinishField = value; this.RaisePropertyChanged("R_Station_Finish"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public short R_Warning_FJ { + get { + return this.R_Warning_FJField; + } + set { + if ((this.R_Warning_FJField.Equals(value) != true)) { + this.R_Warning_FJField = value; + this.RaisePropertyChanged("R_Warning_FJ"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public short R_Warning_FX { + get { + return this.R_Warning_FXField; + } + set { + if ((this.R_Warning_FXField.Equals(value) != true)) { + this.R_Warning_FXField = value; + this.RaisePropertyChanged("R_Warning_FX"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public short R_Warning_HB { + get { + return this.R_Warning_HBField; + } + set { + if ((this.R_Warning_HBField.Equals(value) != true)) { + this.R_Warning_HBField = value; + this.RaisePropertyChanged("R_Warning_HB"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public short R_Warning_MB { + get { + return this.R_Warning_MBField; + } + set { + if ((this.R_Warning_MBField.Equals(value) != true)) { + this.R_Warning_MBField = value; + this.RaisePropertyChanged("R_Warning_MB"); } } } @@ -1861,6 +2037,12 @@ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/IsHaveHeatBeat", ReplyAction="http://tempuri.org/IStationService/IsHaveHeatBeatResponse")] System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> IsHaveHeatBeatAsync(int deviceId); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/WriteBoolPlcData", ReplyAction="http://tempuri.org/IStationService/WriteBoolPlcDataResponse")] + iWareCC.StationService.SdaResEntity WriteBoolPlcData(int deviceId, string dbAddress, bool value); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/WriteBoolPlcData", ReplyAction="http://tempuri.org/IStationService/WriteBoolPlcDataResponse")] + System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> WriteBoolPlcDataAsync(int deviceId, string dbAddress, bool value); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/WriteQiTaoInfo", ReplyAction="http://tempuri.org/IStationService/WriteQiTaoInfoResponse")] iWareCC.StationService.SdaResEntity WriteQiTaoInfo(int deviceId, string stationCode, bool value); @@ -1950,6 +2132,12 @@ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/WriteStation_AllowIn", ReplyAction="http://tempuri.org/IStationService/WriteStation_AllowInResponse")] System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> WriteStation_AllowInAsync(int deviceId, bool value, string stationCode); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/WriteStation_PersonAllow", ReplyAction="http://tempuri.org/IStationService/WriteStation_PersonAllowResponse")] + iWareCC.StationService.SdaResEntity WriteStation_PersonAllow(int deviceId, bool value, string stationCode); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/WriteStation_PersonAllow", ReplyAction="http://tempuri.org/IStationService/WriteStation_PersonAllowResponse")] + System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> WriteStation_PersonAllowAsync(int deviceId, bool value, string stationCode); } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] @@ -2049,6 +2237,14 @@ public System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> IsHaveHeatBeatAsync(int deviceId) { return base.Channel.IsHaveHeatBeatAsync(deviceId); + } + + public iWareCC.StationService.SdaResEntity WriteBoolPlcData(int deviceId, string dbAddress, bool value) { + return base.Channel.WriteBoolPlcData(deviceId, dbAddress, value); + } + + public System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> WriteBoolPlcDataAsync(int deviceId, string dbAddress, bool value) { + return base.Channel.WriteBoolPlcDataAsync(deviceId, dbAddress, value); } public iWareCC.StationService.SdaResEntity WriteQiTaoInfo(int deviceId, string stationCode, bool value) { @@ -2170,5 +2366,13 @@ public System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> WriteStation_AllowInAsync(int deviceId, bool value, string stationCode) { return base.Channel.WriteStation_AllowInAsync(deviceId, value, stationCode); } + + public iWareCC.StationService.SdaResEntity WriteStation_PersonAllow(int deviceId, bool value, string stationCode) { + return base.Channel.WriteStation_PersonAllow(deviceId, value, stationCode); + } + + public System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> WriteStation_PersonAllowAsync(int deviceId, bool value, string stationCode) { + return base.Channel.WriteStation_PersonAllowAsync(deviceId, value, stationCode); + } } } -- Gitblit v1.9.3