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
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: StubF3Gpo01WriteRequest.proto
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace Tango.PMR.Stubs {
/// <summary>Holder for reflection information generated from StubF3Gpo01WriteRequest.proto</summary>
public static partial class StubF3Gpo01WriteRequestReflection {
#region Descriptor
/// <summary>File descriptor for StubF3Gpo01WriteRequest.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static StubF3Gpo01WriteRequestReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ch1TdHViRjNHcG8wMVdyaXRlUmVxdWVzdC5wcm90bxIPVGFuZ28uUE1SLlN0",
"dWJzIt0CChdTdHViRjNHcG8wMVdyaXRlUmVxdWVzdBITCgtGM19HUE9fTEVE",
"NBgBIAEoCBIZChFXcml0ZV9GM19HUE9fTEVENBgCIAEoCBITCgtGM19HUE9f",
"TEVEMxgDIAEoCBIZChFXcml0ZV9GM19HUE9fTEVEMxgEIAEoCBITCgtGM19H",
"UE9fTEVEMhgFIAEoCBIZChFXcml0ZV9GM19HUE9fTEVEMhgGIAEoCBITCgtG",
"M19HUE9fTEVEMRgHIAEoCBIZChFXcml0ZV9GM19HUE9fTEVEMRgIIAEoCBIj",
"ChtGM19HUE9fRVhUV0lOREVSX1NTUjExX0NUUkwYCSABKAgSKQohV3JpdGVf",
"RjNfR1BPX0VYVFdJTkRFUl9TU1IxMV9DVFJMGAogASgIEhUKDUYzX0dQT19C",
"VVpaRVIYCyABKAgSGwoTV3JpdGVfRjNfR1BPX0JVWlpFUhgMIAEoCEIbChlj",
"b20udHdpbmUudGFuZ28ucG1yLnN0dWJzYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubF3Gpo01WriteRequest), global::Tango.PMR.Stubs.StubF3Gpo01WriteRequest.Parser, new[]{ "F3GPOLED4", "WriteF3GPOLED4", "F3GPOLED3", "WriteF3GPOLED3", "F3GPOLED2", "WriteF3GPOLED2", "F3GPOLED1", "WriteF3GPOLED1", "F3GPOEXTWINDERSSR11CTRL", "WriteF3GPOEXTWINDERSSR11CTRL", "F3GPOBUZZER", "WriteF3GPOBUZZER" }, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class StubF3Gpo01WriteRequest : pb::IMessage<StubF3Gpo01WriteRequest> {
private static readonly pb::MessageParser<StubF3Gpo01WriteRequest> _parser = new pb::MessageParser<StubF3Gpo01WriteRequest>(() => new StubF3Gpo01WriteRequest());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<StubF3Gpo01WriteRequest> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Tango.PMR.Stubs.StubF3Gpo01WriteRequestReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StubF3Gpo01WriteRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StubF3Gpo01WriteRequest(StubF3Gpo01WriteRequest other) : this() {
f3GPOLED4_ = other.f3GPOLED4_;
writeF3GPOLED4_ = other.writeF3GPOLED4_;
f3GPOLED3_ = other.f3GPOLED3_;
writeF3GPOLED3_ = other.writeF3GPOLED3_;
f3GPOLED2_ = other.f3GPOLED2_;
writeF3GPOLED2_ = other.writeF3GPOLED2_;
f3GPOLED1_ = other.f3GPOLED1_;
writeF3GPOLED1_ = other.writeF3GPOLED1_;
f3GPOEXTWINDERSSR11CTRL_ = other.f3GPOEXTWINDERSSR11CTRL_;
writeF3GPOEXTWINDERSSR11CTRL_ = other.writeF3GPOEXTWINDERSSR11CTRL_;
f3GPOBUZZER_ = other.f3GPOBUZZER_;
writeF3GPOBUZZER_ = other.writeF3GPOBUZZER_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StubF3Gpo01WriteRequest Clone() {
return new StubF3Gpo01WriteRequest(this);
}
/// <summary>Field number for the "F3_GPO_LED4" field.</summary>
public const int F3GPOLED4FieldNumber = 1;
private bool f3GPOLED4_;
/// <summary>
///value
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool F3GPOLED4 {
get { return f3GPOLED4_; }
set {
f3GPOLED4_ = value;
}
}
/// <summary>Field number for the "Write_F3_GPO_LED4" field.</summary>
public const int WriteF3GPOLED4FieldNumber = 2;
private bool writeF3GPOLED4_;
/// <summary>
///write
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool WriteF3GPOLED4 {
get { return writeF3GPOLED4_; }
set {
writeF3GPOLED4_ = value;
}
}
/// <summary>Field number for the "F3_GPO_LED3" field.</summary>
public const int F3GPOLED3FieldNumber = 3;
private bool f3GPOLED3_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool F3GPOLED3 {
get { return f3GPOLED3_; }
set {
f3GPOLED3_ = value;
}
}
/// <summary>Field number for the "Write_F3_GPO_LED3" field.</summary>
public const int WriteF3GPOLED3FieldNumber = 4;
private bool writeF3GPOLED3_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool WriteF3GPOLED3 {
get { return writeF3GPOLED3_; }
set {
writeF3GPOLED3_ = value;
}
}
/// <summary>Field number for the "F3_GPO_LED2" field.</summary>
public const int F3GPOLED2FieldNumber = 5;
private bool f3GPOLED2_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool F3GPOLED2 {
get { return f3GPOLED2_; }
set {
f3GPOLED2_ = value;
}
}
/// <summary>Field number for the "Write_F3_GPO_LED2" field.</summary>
public const int WriteF3GPOLED2FieldNumber = 6;
private bool writeF3GPOLED2_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool WriteF3GPOLED2 {
get { return writeF3GPOLED2_; }
set {
writeF3GPOLED2_ = value;
}
}
/// <summary>Field number for the "F3_GPO_LED1" field.</summary>
public const int F3GPOLED1FieldNumber = 7;
private bool f3GPOLED1_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool F3GPOLED1 {
get { return f3GPOLED1_; }
set {
f3GPOLED1_ = value;
}
}
/// <summary>Field number for the "Write_F3_GPO_LED1" field.</summary>
public const int WriteF3GPOLED1FieldNumber = 8;
private bool writeF3GPOLED1_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool WriteF3GPOLED1 {
get { return writeF3GPOLED1_; }
set {
writeF3GPOLED1_ = value;
}
}
/// <summary>Field number for the "F3_GPO_EXTWINDER_SSR11_CTRL" field.</summary>
public const int F3GPOEXTWINDERSSR11CTRLFieldNumber = 9;
private bool f3GPOEXTWINDERSSR11CTRL_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool F3GPOEXTWINDERSSR11CTRL {
get { return f3GPOEXTWINDERSSR11CTRL_; }
set {
f3GPOEXTWINDERSSR11CTRL_ = value;
}
}
/// <summary>Field number for the "Write_F3_GPO_EXTWINDER_SSR11_CTRL" field.</summary>
public const int WriteF3GPOEXTWINDERSSR11CTRLFieldNumber = 10;
private bool writeF3GPOEXTWINDERSSR11CTRL_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool WriteF3GPOEXTWINDERSSR11CTRL {
get { return writeF3GPOEXTWINDERSSR11CTRL_; }
set {
writeF3GPOEXTWINDERSSR11CTRL_ = value;
}
}
/// <summary>Field number for the "F3_GPO_BUZZER" field.</summary>
public const int F3GPOBUZZERFieldNumber = 11;
private bool f3GPOBUZZER_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool F3GPOBUZZER {
get { return f3GPOBUZZER_; }
set {
f3GPOBUZZER_ = value;
}
}
/// <summary>Field number for the "Write_F3_GPO_BUZZER" field.</summary>
public const int WriteF3GPOBUZZERFieldNumber = 12;
private bool writeF3GPOBUZZER_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool WriteF3GPOBUZZER {
get { return writeF3GPOBUZZER_; }
set {
writeF3GPOBUZZER_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as StubF3Gpo01WriteRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(StubF3Gpo01WriteRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (F3GPOLED4 != other.F3GPOLED4) return false;
if (WriteF3GPOLED4 != other.WriteF3GPOLED4) return false;
if (F3GPOLED3 != other.F3GPOLED3) return false;
if (WriteF3GPOLED3 != other.WriteF3GPOLED3) return false;
if (F3GPOLED2 != other.F3GPOLED2) return false;
if (WriteF3GPOLED2 != other.WriteF3GPOLED2) return false;
if (F3GPOLED1 != other.F3GPOLED1) return false;
if (WriteF3GPOLED1 != other.WriteF3GPOLED1) return false;
if (F3GPOEXTWINDERSSR11CTRL != other.F3GPOEXTWINDERSSR11CTRL) return false;
if (WriteF3GPOEXTWINDERSSR11CTRL != other.WriteF3GPOEXTWINDERSSR11CTRL) return false;
if (F3GPOBUZZER != other.F3GPOBUZZER) return false;
if (WriteF3GPOBUZZER != other.WriteF3GPOBUZZER) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (F3GPOLED4 != false) hash ^= F3GPOLED4.GetHashCode();
if (WriteF3GPOLED4 != false) hash ^= WriteF3GPOLED4.GetHashCode();
if (F3GPOLED3 != false) hash ^= F3GPOLED3.GetHashCode();
if (WriteF3GPOLED3 != false) hash ^= WriteF3GPOLED3.GetHashCode();
if (F3GPOLED2 != false) hash ^= F3GPOLED2.GetHashCode();
if (WriteF3GPOLED2 != false) hash ^= WriteF3GPOLED2.GetHashCode();
if (F3GPOLED1 != false) hash ^= F3GPOLED1.GetHashCode();
if (WriteF3GPOLED1 != false) hash ^= WriteF3GPOLED1.GetHashCode();
if (F3GPOEXTWINDERSSR11CTRL != false) hash ^= F3GPOEXTWINDERSSR11CTRL.GetHashCode();
if (WriteF3GPOEXTWINDERSSR11CTRL != false) hash ^= WriteF3GPOEXTWINDERSSR11CTRL.GetHashCode();
if (F3GPOBUZZER != false) hash ^= F3GPOBUZZER.GetHashCode();
if (WriteF3GPOBUZZER != false) hash ^= WriteF3GPOBUZZER.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (F3GPOLED4 != false) {
output.WriteRawTag(8);
output.WriteBool(F3GPOLED4);
}
if (WriteF3GPOLED4 != false) {
output.WriteRawTag(16);
output.WriteBool(WriteF3GPOLED4);
}
if (F3GPOLED3 != false) {
output.WriteRawTag(24);
output.WriteBool(F3GPOLED3);
}
if (WriteF3GPOLED3 != false) {
output.WriteRawTag(32);
output.WriteBool(WriteF3GPOLED3);
}
if (F3GPOLED2 != false) {
output.WriteRawTag(40);
output.WriteBool(F3GPOLED2);
}
if (WriteF3GPOLED2 != false) {
output.WriteRawTag(48);
output.WriteBool(WriteF3GPOLED2);
}
if (F3GPOLED1 != false) {
output.WriteRawTag(56);
output.WriteBool(F3GPOLED1);
}
if (WriteF3GPOLED1 != false) {
output.WriteRawTag(64);
output.WriteBool(WriteF3GPOLED1);
}
if (F3GPOEXTWINDERSSR11CTRL != false) {
output.WriteRawTag(72);
output.WriteBool(F3GPOEXTWINDERSSR11CTRL);
}
if (WriteF3GPOEXTWINDERSSR11CTRL != false) {
output.WriteRawTag(80);
output.WriteBool(WriteF3GPOEXTWINDERSSR11CTRL);
}
if (F3GPOBUZZER != false) {
output.WriteRawTag(88);
output.WriteBool(F3GPOBUZZER);
}
if (WriteF3GPOBUZZER != false) {
output.WriteRawTag(96);
output.WriteBool(WriteF3GPOBUZZER);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (F3GPOLED4 != false) {
size += 1 + 1;
}
if (WriteF3GPOLED4 != false) {
size += 1 + 1;
}
if (F3GPOLED3 != false) {
size += 1 + 1;
}
if (WriteF3GPOLED3 != false) {
size += 1 + 1;
}
if (F3GPOLED2 != false) {
size += 1 + 1;
}
if (WriteF3GPOLED2 != false) {
size += 1 + 1;
}
if (F3GPOLED1 != false) {
size += 1 + 1;
}
if (WriteF3GPOLED1 != false) {
size += 1 + 1;
}
if (F3GPOEXTWINDERSSR11CTRL != false) {
size += 1 + 1;
}
if (WriteF3GPOEXTWINDERSSR11CTRL != false) {
size += 1 + 1;
}
if (F3GPOBUZZER != false) {
size += 1 + 1;
}
if (WriteF3GPOBUZZER != false) {
size += 1 + 1;
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(StubF3Gpo01WriteRequest other) {
if (other == null) {
return;
}
if (other.F3GPOLED4 != false) {
F3GPOLED4 = other.F3GPOLED4;
}
if (other.WriteF3GPOLED4 != false) {
WriteF3GPOLED4 = other.WriteF3GPOLED4;
}
if (other.F3GPOLED3 != false) {
F3GPOLED3 = other.F3GPOLED3;
}
if (other.WriteF3GPOLED3 != false) {
WriteF3GPOLED3 = other.WriteF3GPOLED3;
}
if (other.F3GPOLED2 != false) {
F3GPOLED2 = other.F3GPOLED2;
}
if (other.WriteF3GPOLED2 != false) {
WriteF3GPOLED2 = other.WriteF3GPOLED2;
}
if (other.F3GPOLED1 != false) {
F3GPOLED1 = other.F3GPOLED1;
}
if (other.WriteF3GPOLED1 != false) {
WriteF3GPOLED1 = other.WriteF3GPOLED1;
}
if (other.F3GPOEXTWINDERSSR11CTRL != false) {
F3GPOEXTWINDERSSR11CTRL = other.F3GPOEXTWINDERSSR11CTRL;
}
if (other.WriteF3GPOEXTWINDERSSR11CTRL != false) {
WriteF3GPOEXTWINDERSSR11CTRL = other.WriteF3GPOEXTWINDERSSR11CTRL;
}
if (other.F3GPOBUZZER != false) {
F3GPOBUZZER = other.F3GPOBUZZER;
}
if (other.WriteF3GPOBUZZER != false) {
WriteF3GPOBUZZER = other.WriteF3GPOBUZZER;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
F3GPOLED4 = input.ReadBool();
break;
}
case 16: {
WriteF3GPOLED4 = input.ReadBool();
break;
}
case 24: {
F3GPOLED3 = input.ReadBool();
break;
}
case 32: {
WriteF3GPOLED3 = input.ReadBool();
break;
}
case 40: {
F3GPOLED2 = input.ReadBool();
break;
}
case 48: {
WriteF3GPOLED2 = input.ReadBool();
break;
}
case 56: {
F3GPOLED1 = input.ReadBool();
break;
}
case 64: {
WriteF3GPOLED1 = input.ReadBool();
break;
}
case 72: {
F3GPOEXTWINDERSSR11CTRL = input.ReadBool();
break;
}
case 80: {
WriteF3GPOEXTWINDERSSR11CTRL = input.ReadBool();
break;
}
case 88: {
F3GPOBUZZER = input.ReadBool();
break;
}
case 96: {
WriteF3GPOBUZZER = input.ReadBool();
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code
|