From 7e469b73ac4f022cb78689c6d2b0c4ddee26d18c Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周一, 02 12月 2024 15:37:34 +0800 Subject: [PATCH] 优化 --- CC/iWareCC_ASRS/Connected Services/StationService/Reference.cs | 60 ++++++++++++++++++++++++++++++------------------------------ 1 files changed, 30 insertions(+), 30 deletions(-) diff --git a/CC/iWareCC_ASRS/Connected Services/StationService/Reference.cs b/CC/iWareCC_ASRS/Connected Services/StationService/Reference.cs index 6e4ecf8..16710eb 100644 --- a/CC/iWareCC_ASRS/Connected Services/StationService/Reference.cs +++ b/CC/iWareCC_ASRS/Connected Services/StationService/Reference.cs @@ -614,10 +614,10 @@ private string StationCodeField; [System.Runtime.Serialization.OptionalFieldAttribute()] - private string W_CartonHeightField; + private short W_CartonHeightField; [System.Runtime.Serialization.OptionalFieldAttribute()] - private string W_CartonWidthField; + private short W_CartonWidthField; [System.Runtime.Serialization.OptionalFieldAttribute()] private bool W_DataFinishField; @@ -662,10 +662,10 @@ private short W_Outbound_TaskIDField; [System.Runtime.Serialization.OptionalFieldAttribute()] - private string W_PackageLengthField; + private short W_PackageLengthField; [System.Runtime.Serialization.OptionalFieldAttribute()] - private string W_PackageWidthField; + private short W_PackageWidthField; [System.Runtime.Serialization.OptionalFieldAttribute()] private short W_PalletizingBucketTypeField; @@ -698,16 +698,16 @@ private bool W_SurroundTaskFinishField; [System.Runtime.Serialization.OptionalFieldAttribute()] - private int W_SurroundTaskNoField; + private short W_SurroundTaskNoField; [System.Runtime.Serialization.OptionalFieldAttribute()] private short W_WidthField; [System.Runtime.Serialization.OptionalFieldAttribute()] - private string W_X_OffsetField; + private short W_X_OffsetField; [System.Runtime.Serialization.OptionalFieldAttribute()] - private string W_Y_OffsetField; + private short W_Y_OffsetField; [global::System.ComponentModel.BrowsableAttribute(false)] public System.Runtime.Serialization.ExtensionDataObject ExtensionData { @@ -733,12 +733,12 @@ } [System.Runtime.Serialization.DataMemberAttribute()] - public string W_CartonHeight { + public short W_CartonHeight { get { return this.W_CartonHeightField; } set { - if ((object.ReferenceEquals(this.W_CartonHeightField, value) != true)) { + if ((this.W_CartonHeightField.Equals(value) != true)) { this.W_CartonHeightField = value; this.RaisePropertyChanged("W_CartonHeight"); } @@ -746,12 +746,12 @@ } [System.Runtime.Serialization.DataMemberAttribute()] - public string W_CartonWidth { + public short W_CartonWidth { get { return this.W_CartonWidthField; } set { - if ((object.ReferenceEquals(this.W_CartonWidthField, value) != true)) { + if ((this.W_CartonWidthField.Equals(value) != true)) { this.W_CartonWidthField = value; this.RaisePropertyChanged("W_CartonWidth"); } @@ -941,12 +941,12 @@ } [System.Runtime.Serialization.DataMemberAttribute()] - public string W_PackageLength { + public short W_PackageLength { get { return this.W_PackageLengthField; } set { - if ((object.ReferenceEquals(this.W_PackageLengthField, value) != true)) { + if ((this.W_PackageLengthField.Equals(value) != true)) { this.W_PackageLengthField = value; this.RaisePropertyChanged("W_PackageLength"); } @@ -954,12 +954,12 @@ } [System.Runtime.Serialization.DataMemberAttribute()] - public string W_PackageWidth { + public short W_PackageWidth { get { return this.W_PackageWidthField; } set { - if ((object.ReferenceEquals(this.W_PackageWidthField, value) != true)) { + if ((this.W_PackageWidthField.Equals(value) != true)) { this.W_PackageWidthField = value; this.RaisePropertyChanged("W_PackageWidth"); } @@ -1097,7 +1097,7 @@ } [System.Runtime.Serialization.DataMemberAttribute()] - public int W_SurroundTaskNo { + public short W_SurroundTaskNo { get { return this.W_SurroundTaskNoField; } @@ -1123,12 +1123,12 @@ } [System.Runtime.Serialization.DataMemberAttribute()] - public string W_X_Offset { + public short W_X_Offset { get { return this.W_X_OffsetField; } set { - if ((object.ReferenceEquals(this.W_X_OffsetField, value) != true)) { + if ((this.W_X_OffsetField.Equals(value) != true)) { this.W_X_OffsetField = value; this.RaisePropertyChanged("W_X_Offset"); } @@ -1136,12 +1136,12 @@ } [System.Runtime.Serialization.DataMemberAttribute()] - public string W_Y_Offset { + public short W_Y_Offset { get { return this.W_Y_OffsetField; } set { - if ((object.ReferenceEquals(this.W_Y_OffsetField, value) != true)) { + if ((this.W_Y_OffsetField.Equals(value) != true)) { this.W_Y_OffsetField = value; this.RaisePropertyChanged("W_Y_Offset"); } @@ -1842,10 +1842,10 @@ System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> InboundFinishConfirmAsync(int deviceId, bool value, string stationCode); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/OutboundFinishConfirm", ReplyAction="http://tempuri.org/IStationService/OutboundFinishConfirmResponse")] - iWareCC.StationService.SdaResEntity OutboundFinishConfirm(int deviceId, bool value, string stationCode); + iWareCC.StationService.SdaResEntity OutboundFinishConfirm(int deviceId, bool value, string stationCode, bool isClearData); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/OutboundFinishConfirm", ReplyAction="http://tempuri.org/IStationService/OutboundFinishConfirmResponse")] - System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> OutboundFinishConfirmAsync(int deviceId, bool value, string stationCode); + System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> OutboundFinishConfirmAsync(int deviceId, bool value, string stationCode, bool isClearData); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/ChangeMode", ReplyAction="http://tempuri.org/IStationService/ChangeModeResponse")] iWareCC.StationService.SdaResEntity ChangeMode(int deviceId, int value, string stationCode); @@ -1878,10 +1878,10 @@ System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> SetPalletizingTaskFinishAckAsync(int deviceId, bool value, string stationCode); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/WriteSurroundTaskInfo", ReplyAction="http://tempuri.org/IStationService/WriteSurroundTaskInfoResponse")] - iWareCC.StationService.SdaResEntity WriteSurroundTaskInfo(int deviceId, string stationCode, int taskID, short length, short width, short cartonhigh, short cartonwidth, short placex, short placey); + iWareCC.StationService.SdaResEntity WriteSurroundTaskInfo(int deviceId, string stationCode, short taskID, short length, short width, short cartonhigh, short cartonwidth, short placex, short placey); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/WriteSurroundTaskInfo", ReplyAction="http://tempuri.org/IStationService/WriteSurroundTaskInfoResponse")] - System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> WriteSurroundTaskInfoAsync(int deviceId, string stationCode, int taskID, short length, short width, short cartonhigh, short cartonwidth, short placex, short placey); + System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> WriteSurroundTaskInfoAsync(int deviceId, string stationCode, short taskID, short length, short width, short cartonhigh, short cartonwidth, short placex, short placey); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/SetSurroundTaskFinishAck", ReplyAction="http://tempuri.org/IStationService/SetSurroundTaskFinishAckResponse")] iWareCC.StationService.SdaResEntity SetSurroundTaskFinishAck(int deviceId, bool value, string stationCode); @@ -2029,12 +2029,12 @@ return base.Channel.InboundFinishConfirmAsync(deviceId, value, stationCode); } - public iWareCC.StationService.SdaResEntity OutboundFinishConfirm(int deviceId, bool value, string stationCode) { - return base.Channel.OutboundFinishConfirm(deviceId, value, stationCode); + public iWareCC.StationService.SdaResEntity OutboundFinishConfirm(int deviceId, bool value, string stationCode, bool isClearData) { + return base.Channel.OutboundFinishConfirm(deviceId, value, stationCode, isClearData); } - public System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> OutboundFinishConfirmAsync(int deviceId, bool value, string stationCode) { - return base.Channel.OutboundFinishConfirmAsync(deviceId, value, stationCode); + public System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> OutboundFinishConfirmAsync(int deviceId, bool value, string stationCode, bool isClearData) { + return base.Channel.OutboundFinishConfirmAsync(deviceId, value, stationCode, isClearData); } public iWareCC.StationService.SdaResEntity ChangeMode(int deviceId, int value, string stationCode) { @@ -2077,11 +2077,11 @@ return base.Channel.SetPalletizingTaskFinishAckAsync(deviceId, value, stationCode); } - public iWareCC.StationService.SdaResEntity WriteSurroundTaskInfo(int deviceId, string stationCode, int taskID, short length, short width, short cartonhigh, short cartonwidth, short placex, short placey) { + public iWareCC.StationService.SdaResEntity WriteSurroundTaskInfo(int deviceId, string stationCode, short taskID, short length, short width, short cartonhigh, short cartonwidth, short placex, short placey) { return base.Channel.WriteSurroundTaskInfo(deviceId, stationCode, taskID, length, width, cartonhigh, cartonwidth, placex, placey); } - public System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> WriteSurroundTaskInfoAsync(int deviceId, string stationCode, int taskID, short length, short width, short cartonhigh, short cartonwidth, short placex, short placey) { + public System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> WriteSurroundTaskInfoAsync(int deviceId, string stationCode, short taskID, short length, short width, short cartonhigh, short cartonwidth, short placex, short placey) { return base.Channel.WriteSurroundTaskInfoAsync(deviceId, stationCode, taskID, length, width, cartonhigh, cartonwidth, placex, placey); } -- Gitblit v1.9.3