From 272ea6040258a7adfc807123036378915860fb90 Mon Sep 17 00:00:00 2001 From: zongzhibin <zongzhibin@weben-smart.com> Date: 周日, 24 11月 2024 14:23:31 +0800 Subject: [PATCH] add --- CC/iWareCC_ASRS/Connected Services/StationService/Reference.cs | 390 ++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 366 insertions(+), 24 deletions(-) diff --git a/CC/iWareCC_ASRS/Connected Services/StationService/Reference.cs b/CC/iWareCC_ASRS/Connected Services/StationService/Reference.cs index 647c159..15f96cd 100644 --- a/CC/iWareCC_ASRS/Connected Services/StationService/Reference.cs +++ b/CC/iWareCC_ASRS/Connected Services/StationService/Reference.cs @@ -194,10 +194,16 @@ private short R_DestinationField; [System.Runtime.Serialization.OptionalFieldAttribute()] + private bool R_ForceOutboundModeField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] private bool R_InboundFinishField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string R_InboundNumberField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private short R_Inbound_TaskIDField; [System.Runtime.Serialization.OptionalFieldAttribute()] private short R_ModelField; @@ -207,6 +213,21 @@ [System.Runtime.Serialization.OptionalFieldAttribute()] private string R_OutboundNumberField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private short R_Outbound_TaskIDField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private bool R_PalletizingFinishField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private short R_PalletizingStation1Field; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private short R_PalletizingStation2Field; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private short R_PalletizingTaskNoField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string R_ReadCodeResultField; @@ -289,6 +310,19 @@ } [System.Runtime.Serialization.DataMemberAttribute()] + public bool R_ForceOutboundMode { + get { + return this.R_ForceOutboundModeField; + } + set { + if ((this.R_ForceOutboundModeField.Equals(value) != true)) { + this.R_ForceOutboundModeField = value; + this.RaisePropertyChanged("R_ForceOutboundMode"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] public bool R_InboundFinish { get { return this.R_InboundFinishField; @@ -310,6 +344,19 @@ if ((object.ReferenceEquals(this.R_InboundNumberField, value) != true)) { this.R_InboundNumberField = value; this.RaisePropertyChanged("R_InboundNumber"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public short R_Inbound_TaskID { + get { + return this.R_Inbound_TaskIDField; + } + set { + if ((this.R_Inbound_TaskIDField.Equals(value) != true)) { + this.R_Inbound_TaskIDField = value; + this.RaisePropertyChanged("R_Inbound_TaskID"); } } } @@ -349,6 +396,71 @@ if ((object.ReferenceEquals(this.R_OutboundNumberField, value) != true)) { this.R_OutboundNumberField = value; this.RaisePropertyChanged("R_OutboundNumber"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public short R_Outbound_TaskID { + get { + return this.R_Outbound_TaskIDField; + } + set { + if ((this.R_Outbound_TaskIDField.Equals(value) != true)) { + this.R_Outbound_TaskIDField = value; + this.RaisePropertyChanged("R_Outbound_TaskID"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public bool R_PalletizingFinish { + get { + return this.R_PalletizingFinishField; + } + set { + if ((this.R_PalletizingFinishField.Equals(value) != true)) { + this.R_PalletizingFinishField = value; + this.RaisePropertyChanged("R_PalletizingFinish"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public short R_PalletizingStation1 { + get { + return this.R_PalletizingStation1Field; + } + set { + if ((this.R_PalletizingStation1Field.Equals(value) != true)) { + this.R_PalletizingStation1Field = value; + this.RaisePropertyChanged("R_PalletizingStation1"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public short R_PalletizingStation2 { + get { + return this.R_PalletizingStation2Field; + } + set { + if ((this.R_PalletizingStation2Field.Equals(value) != true)) { + this.R_PalletizingStation2Field = value; + this.RaisePropertyChanged("R_PalletizingStation2"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public short R_PalletizingTaskNo { + get { + return this.R_PalletizingTaskNoField; + } + set { + if ((this.R_PalletizingTaskNoField.Equals(value) != true)) { + this.R_PalletizingTaskNoField = value; + this.RaisePropertyChanged("R_PalletizingTaskNo"); } } } @@ -466,7 +578,10 @@ private int W_Destination_InField; [System.Runtime.Serialization.OptionalFieldAttribute()] - private string W_Destination_OutField; + private int W_Destination_OutField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private bool W_EndMarkField; [System.Runtime.Serialization.OptionalFieldAttribute()] private short W_HeightField; @@ -475,13 +590,25 @@ private bool W_InboundFinishConfirmField; [System.Runtime.Serialization.OptionalFieldAttribute()] + private short W_Inbound_TaskIDField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] private bool W_IsRotateField; [System.Runtime.Serialization.OptionalFieldAttribute()] - private string W_KittingInfoField; + private short W_KittingInfoField; [System.Runtime.Serialization.OptionalFieldAttribute()] private short W_LengthField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private short W_ModeField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private bool W_OutboundFinishConfirmField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private short W_Outbound_TaskIDField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string W_PackageLengthField; @@ -490,10 +617,25 @@ private string W_PackageWidthField; [System.Runtime.Serialization.OptionalFieldAttribute()] + private short W_PalletizingPlaceXField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private short W_PalletizingPlaceYField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private short W_PalletizingStationField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private bool W_PalletizingTaskFinishField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private short W_PalletizingTaskIDField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] private bool W_ReqOutField; [System.Runtime.Serialization.OptionalFieldAttribute()] - private string W_TaskIDField; + private short W_RotateField; [System.Runtime.Serialization.OptionalFieldAttribute()] private short W_WidthField; @@ -580,14 +722,27 @@ } [System.Runtime.Serialization.DataMemberAttribute()] - public string W_Destination_Out { + public int W_Destination_Out { get { return this.W_Destination_OutField; } set { - if ((object.ReferenceEquals(this.W_Destination_OutField, value) != true)) { + if ((this.W_Destination_OutField.Equals(value) != true)) { this.W_Destination_OutField = value; this.RaisePropertyChanged("W_Destination_Out"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public bool W_EndMark { + get { + return this.W_EndMarkField; + } + set { + if ((this.W_EndMarkField.Equals(value) != true)) { + this.W_EndMarkField = value; + this.RaisePropertyChanged("W_EndMark"); } } } @@ -619,6 +774,19 @@ } [System.Runtime.Serialization.DataMemberAttribute()] + public short W_Inbound_TaskID { + get { + return this.W_Inbound_TaskIDField; + } + set { + if ((this.W_Inbound_TaskIDField.Equals(value) != true)) { + this.W_Inbound_TaskIDField = value; + this.RaisePropertyChanged("W_Inbound_TaskID"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] public bool W_IsRotate { get { return this.W_IsRotateField; @@ -632,12 +800,12 @@ } [System.Runtime.Serialization.DataMemberAttribute()] - public string W_KittingInfo { + public short W_KittingInfo { get { return this.W_KittingInfoField; } set { - if ((object.ReferenceEquals(this.W_KittingInfoField, value) != true)) { + if ((this.W_KittingInfoField.Equals(value) != true)) { this.W_KittingInfoField = value; this.RaisePropertyChanged("W_KittingInfo"); } @@ -653,6 +821,45 @@ if ((this.W_LengthField.Equals(value) != true)) { this.W_LengthField = value; this.RaisePropertyChanged("W_Length"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public short W_Mode { + get { + return this.W_ModeField; + } + set { + if ((this.W_ModeField.Equals(value) != true)) { + this.W_ModeField = value; + this.RaisePropertyChanged("W_Mode"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public bool W_OutboundFinishConfirm { + get { + return this.W_OutboundFinishConfirmField; + } + set { + if ((this.W_OutboundFinishConfirmField.Equals(value) != true)) { + this.W_OutboundFinishConfirmField = value; + this.RaisePropertyChanged("W_OutboundFinishConfirm"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public short W_Outbound_TaskID { + get { + return this.W_Outbound_TaskIDField; + } + set { + if ((this.W_Outbound_TaskIDField.Equals(value) != true)) { + this.W_Outbound_TaskIDField = value; + this.RaisePropertyChanged("W_Outbound_TaskID"); } } } @@ -684,6 +891,71 @@ } [System.Runtime.Serialization.DataMemberAttribute()] + public short W_PalletizingPlaceX { + get { + return this.W_PalletizingPlaceXField; + } + set { + if ((this.W_PalletizingPlaceXField.Equals(value) != true)) { + this.W_PalletizingPlaceXField = value; + this.RaisePropertyChanged("W_PalletizingPlaceX"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public short W_PalletizingPlaceY { + get { + return this.W_PalletizingPlaceYField; + } + set { + if ((this.W_PalletizingPlaceYField.Equals(value) != true)) { + this.W_PalletizingPlaceYField = value; + this.RaisePropertyChanged("W_PalletizingPlaceY"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public short W_PalletizingStation { + get { + return this.W_PalletizingStationField; + } + set { + if ((this.W_PalletizingStationField.Equals(value) != true)) { + this.W_PalletizingStationField = value; + this.RaisePropertyChanged("W_PalletizingStation"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public bool W_PalletizingTaskFinish { + get { + return this.W_PalletizingTaskFinishField; + } + set { + if ((this.W_PalletizingTaskFinishField.Equals(value) != true)) { + this.W_PalletizingTaskFinishField = value; + this.RaisePropertyChanged("W_PalletizingTaskFinish"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public short W_PalletizingTaskID { + get { + return this.W_PalletizingTaskIDField; + } + set { + if ((this.W_PalletizingTaskIDField.Equals(value) != true)) { + this.W_PalletizingTaskIDField = value; + this.RaisePropertyChanged("W_PalletizingTaskID"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] public bool W_ReqOut { get { return this.W_ReqOutField; @@ -697,14 +969,14 @@ } [System.Runtime.Serialization.DataMemberAttribute()] - public string W_TaskID { + public short W_Rotate { get { - return this.W_TaskIDField; + return this.W_RotateField; } set { - if ((object.ReferenceEquals(this.W_TaskIDField, value) != true)) { - this.W_TaskIDField = value; - this.RaisePropertyChanged("W_TaskID"); + if ((this.W_RotateField.Equals(value) != true)) { + this.W_RotateField = value; + this.RaisePropertyChanged("W_Rotate"); } } } @@ -1436,16 +1708,46 @@ System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> WriteQiTaoInfoAsync(int deviceId, string stationCode, bool value); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/InboundFinishConfirm", ReplyAction="http://tempuri.org/IStationService/InboundFinishConfirmResponse")] - iWareCC.StationService.SdaResEntity InboundFinishConfirm(int deviceId, string stationCode); + iWareCC.StationService.SdaResEntity InboundFinishConfirm(int deviceId, bool value, string stationCode); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/InboundFinishConfirm", ReplyAction="http://tempuri.org/IStationService/InboundFinishConfirmResponse")] - System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> InboundFinishConfirmAsync(int deviceId, string stationCode); + 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); + + [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.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/ChangeMode", ReplyAction="http://tempuri.org/IStationService/ChangeModeResponse")] + iWareCC.StationService.SdaResEntity ChangeMode(int deviceId, int value, string stationCode); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/ChangeMode", ReplyAction="http://tempuri.org/IStationService/ChangeModeResponse")] + System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> ChangeModeAsync(int deviceId, int value, string stationCode); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/WriteInStoreTaskInfo", ReplyAction="http://tempuri.org/IStationService/WriteInStoreTaskInfoResponse")] - iWareCC.StationService.SdaResEntity WriteInStoreTaskInfo(int deviceId, string stationCode, string toPlaceNo, short length, short width, short height); + iWareCC.StationService.SdaResEntity WriteInStoreTaskInfo(int deviceId, string stationCode, string toPlaceNo, short length, short width, short height, int inbound_TaskID); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/WriteInStoreTaskInfo", ReplyAction="http://tempuri.org/IStationService/WriteInStoreTaskInfoResponse")] - System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> WriteInStoreTaskInfoAsync(int deviceId, string stationCode, string toPlaceNo, short length, short width, short height); + System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> WriteInStoreTaskInfoAsync(int deviceId, string stationCode, string toPlaceNo, short length, short width, short height, int inbound_TaskID); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/WriteOutStoreTaskInfo", ReplyAction="http://tempuri.org/IStationService/WriteOutStoreTaskInfoResponse")] + iWareCC.StationService.SdaResEntity WriteOutStoreTaskInfo(int deviceId, string stationCode, string sourcePlaceNo, int outbound_TaskID); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/WriteOutStoreTaskInfo", ReplyAction="http://tempuri.org/IStationService/WriteOutStoreTaskInfoResponse")] + System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> WriteOutStoreTaskInfoAsync(int deviceId, string stationCode, string sourcePlaceNo, int outbound_TaskID); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/WritePalletizingTaskInfo", ReplyAction="http://tempuri.org/IStationService/WritePalletizingTaskInfoResponse")] + iWareCC.StationService.SdaResEntity WritePalletizingTaskInfo(int deviceId, string stationCode, int taskID, bool isLast, short length, short width, short height, short rotate, short toplace, short placeX, short placeY); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/WritePalletizingTaskInfo", ReplyAction="http://tempuri.org/IStationService/WritePalletizingTaskInfoResponse")] + System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> WritePalletizingTaskInfoAsync(int deviceId, string stationCode, int taskID, bool isLast, short length, short width, short height, short rotate, short toplace, short placeX, short placeY); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/SetPalletizingTaskFinishAck", ReplyAction="http://tempuri.org/IStationService/SetPalletizingTaskFinishAckResponse")] + iWareCC.StationService.SdaResEntity SetPalletizingTaskFinishAck(int deviceId, bool value, string stationCode); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/SetPalletizingTaskFinishAck", ReplyAction="http://tempuri.org/IStationService/SetPalletizingTaskFinishAckResponse")] + System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> SetPalletizingTaskFinishAckAsync(int deviceId, bool value, string stationCode); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/WriteStation_FinishACK", ReplyAction="http://tempuri.org/IStationService/WriteStation_FinishACKResponse")] iWareCC.StationService.SdaResEntity WriteStation_FinishACK(int deviceId, bool value, int plcTaskId); @@ -1573,20 +1875,60 @@ return base.Channel.WriteQiTaoInfoAsync(deviceId, stationCode, value); } - public iWareCC.StationService.SdaResEntity InboundFinishConfirm(int deviceId, string stationCode) { - return base.Channel.InboundFinishConfirm(deviceId, stationCode); + public iWareCC.StationService.SdaResEntity InboundFinishConfirm(int deviceId, bool value, string stationCode) { + return base.Channel.InboundFinishConfirm(deviceId, value, stationCode); } - public System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> InboundFinishConfirmAsync(int deviceId, string stationCode) { - return base.Channel.InboundFinishConfirmAsync(deviceId, stationCode); + public System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> InboundFinishConfirmAsync(int deviceId, bool value, string stationCode) { + return base.Channel.InboundFinishConfirmAsync(deviceId, value, stationCode); } - public iWareCC.StationService.SdaResEntity WriteInStoreTaskInfo(int deviceId, string stationCode, string toPlaceNo, short length, short width, short height) { - return base.Channel.WriteInStoreTaskInfo(deviceId, stationCode, toPlaceNo, length, width, height); + public iWareCC.StationService.SdaResEntity OutboundFinishConfirm(int deviceId, bool value, string stationCode) { + return base.Channel.OutboundFinishConfirm(deviceId, value, stationCode); } - public System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> WriteInStoreTaskInfoAsync(int deviceId, string stationCode, string toPlaceNo, short length, short width, short height) { - return base.Channel.WriteInStoreTaskInfoAsync(deviceId, stationCode, toPlaceNo, length, width, height); + public System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> OutboundFinishConfirmAsync(int deviceId, bool value, string stationCode) { + return base.Channel.OutboundFinishConfirmAsync(deviceId, value, stationCode); + } + + public iWareCC.StationService.SdaResEntity ChangeMode(int deviceId, int value, string stationCode) { + return base.Channel.ChangeMode(deviceId, value, stationCode); + } + + public System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> ChangeModeAsync(int deviceId, int value, string stationCode) { + return base.Channel.ChangeModeAsync(deviceId, value, stationCode); + } + + public iWareCC.StationService.SdaResEntity WriteInStoreTaskInfo(int deviceId, string stationCode, string toPlaceNo, short length, short width, short height, int inbound_TaskID) { + return base.Channel.WriteInStoreTaskInfo(deviceId, stationCode, toPlaceNo, length, width, height, inbound_TaskID); + } + + public System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> WriteInStoreTaskInfoAsync(int deviceId, string stationCode, string toPlaceNo, short length, short width, short height, int inbound_TaskID) { + return base.Channel.WriteInStoreTaskInfoAsync(deviceId, stationCode, toPlaceNo, length, width, height, inbound_TaskID); + } + + public iWareCC.StationService.SdaResEntity WriteOutStoreTaskInfo(int deviceId, string stationCode, string sourcePlaceNo, int outbound_TaskID) { + return base.Channel.WriteOutStoreTaskInfo(deviceId, stationCode, sourcePlaceNo, outbound_TaskID); + } + + public System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> WriteOutStoreTaskInfoAsync(int deviceId, string stationCode, string sourcePlaceNo, int outbound_TaskID) { + return base.Channel.WriteOutStoreTaskInfoAsync(deviceId, stationCode, sourcePlaceNo, outbound_TaskID); + } + + public iWareCC.StationService.SdaResEntity WritePalletizingTaskInfo(int deviceId, string stationCode, int taskID, bool isLast, short length, short width, short height, short rotate, short toplace, short placeX, short placeY) { + return base.Channel.WritePalletizingTaskInfo(deviceId, stationCode, taskID, isLast, length, width, height, rotate, toplace, placeX, placeY); + } + + public System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> WritePalletizingTaskInfoAsync(int deviceId, string stationCode, int taskID, bool isLast, short length, short width, short height, short rotate, short toplace, short placeX, short placeY) { + return base.Channel.WritePalletizingTaskInfoAsync(deviceId, stationCode, taskID, isLast, length, width, height, rotate, toplace, placeX, placeY); + } + + public iWareCC.StationService.SdaResEntity SetPalletizingTaskFinishAck(int deviceId, bool value, string stationCode) { + return base.Channel.SetPalletizingTaskFinishAck(deviceId, value, stationCode); + } + + public System.Threading.Tasks.Task<iWareCC.StationService.SdaResEntity> SetPalletizingTaskFinishAckAsync(int deviceId, bool value, string stationCode) { + return base.Channel.SetPalletizingTaskFinishAckAsync(deviceId, value, stationCode); } public iWareCC.StationService.SdaResEntity WriteStation_FinishACK(int deviceId, bool value, int plcTaskId) { -- Gitblit v1.9.3