ke_junjie
2025-06-04 2462b97ab51eb872b1a873cfd6de0b750123123a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
//------------------------------------------------------------------------------
// <auto-generated>
//     此代码由工具生成。
//     运行时版本:4.0.30319.42000
//
//     对此文件的更改可能会导致不正确的行为,并且如果
//     重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
 
namespace WebApi_QQJF.SrmServer {
    using System.Runtime.Serialization;
    using System;
    
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.CollectionDataContractAttribute(Name="ArrayOfInt", Namespace="http://tempuri.org/", ItemName="int")]
    [System.SerializableAttribute()]
    public class ArrayOfInt : System.Collections.Generic.List<int> {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.CollectionDataContractAttribute(Name="ArrayOfString", Namespace="http://tempuri.org/", ItemName="string")]
    [System.SerializableAttribute()]
    public class ArrayOfString : System.Collections.Generic.List<string> {
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(ConfigurationName="SrmServer.ISrmService")]
    public interface ISrmService {
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/GetSrmInfo", ReplyAction="http://tempuri.org/ISrmService/GetSrmInfoResponse")]
        [System.ServiceModel.DataContractFormatAttribute(Style=System.ServiceModel.OperationFormatStyle.Rpc)]
        string GetSrmInfo(int srmId);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/GetSrmInfo", ReplyAction="http://tempuri.org/ISrmService/GetSrmInfoResponse")]
        System.Threading.Tasks.Task<string> GetSrmInfoAsync(int srmId);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SendSrmDelete", ReplyAction="http://tempuri.org/ISrmService/SendSrmDeleteResponse")]
        [System.ServiceModel.DataContractFormatAttribute(Style=System.ServiceModel.OperationFormatStyle.Rpc)]
        int SendSrmDelete(int srmId);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SendSrmDelete", ReplyAction="http://tempuri.org/ISrmService/SendSrmDeleteResponse")]
        System.Threading.Tasks.Task<int> SendSrmDeleteAsync(int srmId);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SendSrmTaskFinishConfirm", ReplyAction="http://tempuri.org/ISrmService/SendSrmTaskFinishConfirmResponse")]
        [System.ServiceModel.DataContractFormatAttribute(Style=System.ServiceModel.OperationFormatStyle.Rpc)]
        int SendSrmTaskFinishConfirm(int srmId);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SendSrmTaskFinishConfirm", ReplyAction="http://tempuri.org/ISrmService/SendSrmTaskFinishConfirmResponse")]
        System.Threading.Tasks.Task<int> SendSrmTaskFinishConfirmAsync(int srmId);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SendSrmEStop", ReplyAction="http://tempuri.org/ISrmService/SendSrmEStopResponse")]
        [System.ServiceModel.DataContractFormatAttribute(Style=System.ServiceModel.OperationFormatStyle.Rpc)]
        int SendSrmEStop(int srmId);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SendSrmEStop", ReplyAction="http://tempuri.org/ISrmService/SendSrmEStopResponse")]
        System.Threading.Tasks.Task<int> SendSrmEStopAsync(int srmId);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SendSrmMove", ReplyAction="http://tempuri.org/ISrmService/SendSrmMoveResponse")]
        [System.ServiceModel.DataContractFormatAttribute(Style=System.ServiceModel.OperationFormatStyle.Rpc)]
        int SendSrmMove(int srmId, int taskId, string toPlace, int command, int palletType, int taskFather);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SendSrmMove", ReplyAction="http://tempuri.org/ISrmService/SendSrmMoveResponse")]
        System.Threading.Tasks.Task<int> SendSrmMoveAsync(int srmId, int taskId, string toPlace, int command, int palletType, int taskFather);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SendSrmTask", ReplyAction="http://tempuri.org/ISrmService/SendSrmTaskResponse")]
        [System.ServiceModel.DataContractFormatAttribute(Style=System.ServiceModel.OperationFormatStyle.Rpc)]
        int SendSrmTask(int srmId, int taskId, string sourcePlace, string toPlace, int pallet, int taskFather);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SendSrmTask", ReplyAction="http://tempuri.org/ISrmService/SendSrmTaskResponse")]
        System.Threading.Tasks.Task<int> SendSrmTaskAsync(int srmId, int taskId, string sourcePlace, string toPlace, int pallet, int taskFather);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SrmRlsAlert", ReplyAction="http://tempuri.org/ISrmService/SrmRlsAlertResponse")]
        [System.ServiceModel.DataContractFormatAttribute(Style=System.ServiceModel.OperationFormatStyle.Rpc)]
        void SrmRlsAlert(int srmId);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/SrmRlsAlert", ReplyAction="http://tempuri.org/ISrmService/SrmRlsAlertResponse")]
        System.Threading.Tasks.Task SrmRlsAlertAsync(int srmId);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/IsTaskFinish", ReplyAction="http://tempuri.org/ISrmService/IsTaskFinishResponse")]
        [System.ServiceModel.DataContractFormatAttribute(Style=System.ServiceModel.OperationFormatStyle.Rpc)]
        int IsTaskFinish(int srmId);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/IsTaskFinish", ReplyAction="http://tempuri.org/ISrmService/IsTaskFinishResponse")]
        System.Threading.Tasks.Task<int> IsTaskFinishAsync(int srmId);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/IsReady", ReplyAction="http://tempuri.org/ISrmService/IsReadyResponse")]
        [System.ServiceModel.DataContractFormatAttribute(Style=System.ServiceModel.OperationFormatStyle.Rpc)]
        bool IsReady(int srmId);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/IsReady", ReplyAction="http://tempuri.org/ISrmService/IsReadyResponse")]
        System.Threading.Tasks.Task<bool> IsReadyAsync(int srmId);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/FinishTask", ReplyAction="http://tempuri.org/ISrmService/FinishTaskResponse")]
        [System.ServiceModel.DataContractFormatAttribute(Style=System.ServiceModel.OperationFormatStyle.Rpc)]
        int FinishTask(int srmId);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/FinishTask", ReplyAction="http://tempuri.org/ISrmService/FinishTaskResponse")]
        System.Threading.Tasks.Task<int> FinishTaskAsync(int srmId);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/DeleteMainTask", ReplyAction="http://tempuri.org/ISrmService/DeleteMainTaskResponse")]
        WebApi_QQJF.SrmServer.DeleteMainTaskResponse DeleteMainTask(WebApi_QQJF.SrmServer.DeleteMainTaskRequest request);
        
        // CODEGEN: 正在生成消息协定,应为该操作具有多个返回值。
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/DeleteMainTask", ReplyAction="http://tempuri.org/ISrmService/DeleteMainTaskResponse")]
        System.Threading.Tasks.Task<WebApi_QQJF.SrmServer.DeleteMainTaskResponse> DeleteMainTaskAsync(WebApi_QQJF.SrmServer.DeleteMainTaskRequest request);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/IsNotAlarm", ReplyAction="http://tempuri.org/ISrmService/IsNotAlarmResponse")]
        [System.ServiceModel.DataContractFormatAttribute(Style=System.ServiceModel.OperationFormatStyle.Rpc)]
        bool IsNotAlarm(int srmId);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISrmService/IsNotAlarm", ReplyAction="http://tempuri.org/ISrmService/IsNotAlarmResponse")]
        System.Threading.Tasks.Task<bool> IsNotAlarmAsync(int srmId);
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.MessageContractAttribute(WrapperName="DeleteMainTask", WrapperNamespace="http://tempuri.org/", IsWrapped=true)]
    public partial class DeleteMainTaskRequest {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=0)]
        public int id;
        
        public DeleteMainTaskRequest() {
        }
        
        public DeleteMainTaskRequest(int id) {
            this.id = id;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.MessageContractAttribute(WrapperName="DeleteMainTaskResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)]
    public partial class DeleteMainTaskResponse {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=0)]
        public bool DeleteMainTaskResult;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=1)]
        public WebApi_QQJF.SrmServer.ArrayOfInt tranDoingId;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=2)]
        public WebApi_QQJF.SrmServer.ArrayOfInt rgvDoingId;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=3)]
        public WebApi_QQJF.SrmServer.ArrayOfInt srmDoingId;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=4)]
        public WebApi_QQJF.SrmServer.ArrayOfString placeList;
        
        public DeleteMainTaskResponse() {
        }
        
        public DeleteMainTaskResponse(bool DeleteMainTaskResult, WebApi_QQJF.SrmServer.ArrayOfInt tranDoingId, WebApi_QQJF.SrmServer.ArrayOfInt rgvDoingId, WebApi_QQJF.SrmServer.ArrayOfInt srmDoingId, WebApi_QQJF.SrmServer.ArrayOfString placeList) {
            this.DeleteMainTaskResult = DeleteMainTaskResult;
            this.tranDoingId = tranDoingId;
            this.rgvDoingId = rgvDoingId;
            this.srmDoingId = srmDoingId;
            this.placeList = placeList;
        }
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface ISrmServiceChannel : WebApi_QQJF.SrmServer.ISrmService, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class SrmServiceClient : System.ServiceModel.ClientBase<WebApi_QQJF.SrmServer.ISrmService>, WebApi_QQJF.SrmServer.ISrmService {
        
        public SrmServiceClient() {
        }
        
        public SrmServiceClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public SrmServiceClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public SrmServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public SrmServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress) {
        }
        
        public string GetSrmInfo(int srmId) {
            return base.Channel.GetSrmInfo(srmId);
        }
        
        public System.Threading.Tasks.Task<string> GetSrmInfoAsync(int srmId) {
            return base.Channel.GetSrmInfoAsync(srmId);
        }
        
        public int SendSrmDelete(int srmId) {
            return base.Channel.SendSrmDelete(srmId);
        }
        
        public System.Threading.Tasks.Task<int> SendSrmDeleteAsync(int srmId) {
            return base.Channel.SendSrmDeleteAsync(srmId);
        }
        
        public int SendSrmTaskFinishConfirm(int srmId) {
            return base.Channel.SendSrmTaskFinishConfirm(srmId);
        }
        
        public System.Threading.Tasks.Task<int> SendSrmTaskFinishConfirmAsync(int srmId) {
            return base.Channel.SendSrmTaskFinishConfirmAsync(srmId);
        }
        
        public int SendSrmEStop(int srmId) {
            return base.Channel.SendSrmEStop(srmId);
        }
        
        public System.Threading.Tasks.Task<int> SendSrmEStopAsync(int srmId) {
            return base.Channel.SendSrmEStopAsync(srmId);
        }
        
        public int SendSrmMove(int srmId, int taskId, string toPlace, int command, int palletType, int taskFather) {
            return base.Channel.SendSrmMove(srmId, taskId, toPlace, command, palletType, taskFather);
        }
        
        public System.Threading.Tasks.Task<int> SendSrmMoveAsync(int srmId, int taskId, string toPlace, int command, int palletType, int taskFather) {
            return base.Channel.SendSrmMoveAsync(srmId, taskId, toPlace, command, palletType, taskFather);
        }
        
        public int SendSrmTask(int srmId, int taskId, string sourcePlace, string toPlace, int pallet, int taskFather) {
            return base.Channel.SendSrmTask(srmId, taskId, sourcePlace, toPlace, pallet, taskFather);
        }
        
        public System.Threading.Tasks.Task<int> SendSrmTaskAsync(int srmId, int taskId, string sourcePlace, string toPlace, int pallet, int taskFather) {
            return base.Channel.SendSrmTaskAsync(srmId, taskId, sourcePlace, toPlace, pallet, taskFather);
        }
        
        public void SrmRlsAlert(int srmId) {
            base.Channel.SrmRlsAlert(srmId);
        }
        
        public System.Threading.Tasks.Task SrmRlsAlertAsync(int srmId) {
            return base.Channel.SrmRlsAlertAsync(srmId);
        }
        
        public int IsTaskFinish(int srmId) {
            return base.Channel.IsTaskFinish(srmId);
        }
        
        public System.Threading.Tasks.Task<int> IsTaskFinishAsync(int srmId) {
            return base.Channel.IsTaskFinishAsync(srmId);
        }
        
        public bool IsReady(int srmId) {
            return base.Channel.IsReady(srmId);
        }
        
        public System.Threading.Tasks.Task<bool> IsReadyAsync(int srmId) {
            return base.Channel.IsReadyAsync(srmId);
        }
        
        public int FinishTask(int srmId) {
            return base.Channel.FinishTask(srmId);
        }
        
        public System.Threading.Tasks.Task<int> FinishTaskAsync(int srmId) {
            return base.Channel.FinishTaskAsync(srmId);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        WebApi_QQJF.SrmServer.DeleteMainTaskResponse WebApi_QQJF.SrmServer.ISrmService.DeleteMainTask(WebApi_QQJF.SrmServer.DeleteMainTaskRequest request) {
            return base.Channel.DeleteMainTask(request);
        }
        
        public bool DeleteMainTask(int id, out WebApi_QQJF.SrmServer.ArrayOfInt tranDoingId, out WebApi_QQJF.SrmServer.ArrayOfInt rgvDoingId, out WebApi_QQJF.SrmServer.ArrayOfInt srmDoingId, out WebApi_QQJF.SrmServer.ArrayOfString placeList) {
            WebApi_QQJF.SrmServer.DeleteMainTaskRequest inValue = new WebApi_QQJF.SrmServer.DeleteMainTaskRequest();
            inValue.id = id;
            WebApi_QQJF.SrmServer.DeleteMainTaskResponse retVal = ((WebApi_QQJF.SrmServer.ISrmService)(this)).DeleteMainTask(inValue);
            tranDoingId = retVal.tranDoingId;
            rgvDoingId = retVal.rgvDoingId;
            srmDoingId = retVal.srmDoingId;
            placeList = retVal.placeList;
            return retVal.DeleteMainTaskResult;
        }
        
        public System.Threading.Tasks.Task<WebApi_QQJF.SrmServer.DeleteMainTaskResponse> DeleteMainTaskAsync(WebApi_QQJF.SrmServer.DeleteMainTaskRequest request) {
            return base.Channel.DeleteMainTaskAsync(request);
        }
        
        public bool IsNotAlarm(int srmId) {
            return base.Channel.IsNotAlarm(srmId);
        }
        
        public System.Threading.Tasks.Task<bool> IsNotAlarmAsync(int srmId) {
            return base.Channel.IsNotAlarmAsync(srmId);
        }
    }
}