From 0e0ff265a99bae19dbf6194483704cfdb7223375 Mon Sep 17 00:00:00 2001
From: liuying <1427574514@qq.com>
Date: 周日, 08 12月 2024 17:15:12 +0800
Subject: [PATCH] 库位视图
---
CC/iWareCC_ASRS/Connected Services/StationService/Reference.cs | 218 +++++++++++++++++++++++++++++++++++++++++++++++++-----
1 files changed, 196 insertions(+), 22 deletions(-)
diff --git a/CC/iWareCC_ASRS/Connected Services/StationService/Reference.cs b/CC/iWareCC_ASRS/Connected Services/StationService/Reference.cs
index 94406fd..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");
}
}
}
@@ -1321,9 +1497,6 @@
private short W_PalletizingTaskIDField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
- private bool W_PersonAllowField;
-
- [System.Runtime.Serialization.OptionalFieldAttribute()]
private bool W_ReqOutField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
@@ -1706,19 +1879,6 @@
}
[System.Runtime.Serialization.DataMemberAttribute()]
- public bool W_PersonAllow {
- get {
- return this.W_PersonAllowField;
- }
- set {
- if ((this.W_PersonAllowField.Equals(value) != true)) {
- this.W_PersonAllowField = value;
- this.RaisePropertyChanged("W_PersonAllow");
- }
- }
- }
-
- [System.Runtime.Serialization.DataMemberAttribute()]
public bool W_ReqOut {
get {
return this.W_ReqOutField;
@@ -1876,6 +2036,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);
@@ -2073,6 +2239,14 @@
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) {
return base.Channel.WriteQiTaoInfo(deviceId, stationCode, value);
}
--
Gitblit v1.9.3