aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.PMR/Stubs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-05-08 00:32:36 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-05-08 00:32:36 +0300
commit6999f84d21c1439d87d396fd7e7380cead4d52a2 (patch)
tree2ac3a88e8d08e7cc3dda946868559151a61c88f9 /Software/Visual_Studio/Tango.PMR/Stubs
parent98c2921a8cf655da3962edafe91bbccc89632e6d (diff)
downloadTango-6999f84d21c1439d87d396fd7e7380cead4d52a2.tar.gz
Tango-6999f84d21c1439d87d396fd7e7380cead4d52a2.zip
Users & Roles !!
Fixed Shlomo PMR.
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/Stubs')
-rw-r--r--Software/Visual_Studio/Tango.PMR/Stubs/StubDispenserEEpromData.cs1043
-rw-r--r--Software/Visual_Studio/Tango.PMR/Stubs/StubDispenserEEpromRequest.cs224
-rw-r--r--Software/Visual_Studio/Tango.PMR/Stubs/StubDispenserEEpromResponse.cs196
-rw-r--r--Software/Visual_Studio/Tango.PMR/Stubs/StubWhsEEpromData.cs672
-rw-r--r--Software/Visual_Studio/Tango.PMR/Stubs/StubWhsEEpromRequest.cs195
-rw-r--r--Software/Visual_Studio/Tango.PMR/Stubs/StubWhsEEpromResponse.cs167
6 files changed, 2497 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubDispenserEEpromData.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubDispenserEEpromData.cs
new file mode 100644
index 000000000..2be7cdb89
--- /dev/null
+++ b/Software/Visual_Studio/Tango.PMR/Stubs/StubDispenserEEpromData.cs
@@ -0,0 +1,1043 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: StubDispenserEEpromData.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 StubDispenserEEpromData.proto</summary>
+ public static partial class StubDispenserEEpromDataReflection {
+
+ #region Descriptor
+ /// <summary>File descriptor for StubDispenserEEpromData.proto</summary>
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static StubDispenserEEpromDataReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "Ch1TdHViRGlzcGVuc2VyRUVwcm9tRGF0YS5wcm90bxIPVGFuZ28uUE1SLlN0",
+ "dWJzIt8FChdTdHViRGlzcGVuc2VyRUVwcm9tRGF0YRIOCgZIZWFkZXIYASAB",
+ "KA0SEwoLVGFibGVMZW5ndGgYAiABKA0SFAoMVGFibGV2ZXJzaW9uGAMgASgN",
+ "EhQKDERpc3BlbnNlclBfThgEIAEoCRIOCgZQQ0JTX04YBSABKAkSFQoNUENC",
+ "UGFydE51bWJlchgGIAEoCRIUCgxEaXNwZW5zZXJTX04YByABKAkSFwoPTWlu",
+ "aW1hbFByZXNzdXJlGAggASgNEhcKD01heGltYWxQcmVzc3VyZRgJIAEoDRIR",
+ "CglNaW5pbWFsTVYYCiABKA0SEQoJTWF4aW1hbE1WGAsgASgNEhMKC1RvdGFs",
+ "Q3ljbGVzGAwgASgNEhIKCkJ1YmJsZVNpemUYDSABKA0SHAoUQVZHX05sX3N0",
+ "ZXBWYWx1ZV8xXzQYDiABKA0SHAoUQVZHX05sX3N0ZXBWYWx1ZV8yXzQYDyAB",
+ "KA0SHAoUQVZHX05sX3N0ZXBWYWx1ZV8zXzQYECABKA0SHAoUQVZHX05sX3N0",
+ "ZXBWYWx1ZV80XzQYESABKA0SEgoKU1dfUmVzZXJ2ZRgSIAEoDRIXCg9TcGFy",
+ "ZTFfcHJlc3N1cmUYEyABKAUSFwoPU3BhcmUyX3ByZXNzdXJlGBQgASgFEhsK",
+ "E01vdG9yUHVsc2VzUGVyQ3ljbGUYFSABKA0SDQoFQ29sb3IYFiABKA0SFQoN",
+ "UHJlc3N1cmVTbG9wZRgXIAEoDRIWCg5Qcm9kdWN0aW9uRGF0ZRgYIAEoCRIT",
+ "CgtBVFNsb2NhdGlvbhgZIAEoDRIOCgZTcGFyZTEYGiABKA0SDgoGU3BhcmUy",
+ "GBsgASgNEhIKCkFUU0NoYW5uZWwYHCABKA0SEQoJVW5pdEVtcHR5GB0gASgI",
+ "EhcKD0RyeVJ1blBhc3NfRmFpbBgeIAEoCBIVCg1GbG93UGFzc19GYWlsGB8g",
+ "ASgIEhAKCENoZWNrU3VtGCAgASgNQhsKGWNvbS50d2luZS50YW5nby5wbXIu",
+ "c3R1YnNiBnByb3RvMw=="));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { },
+ new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
+ new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubDispenserEEpromData), global::Tango.PMR.Stubs.StubDispenserEEpromData.Parser, new[]{ "Header", "TableLength", "Tableversion", "DispenserPN", "PCBSN", "PCBPartNumber", "DispenserSN", "MinimalPressure", "MaximalPressure", "MinimalMV", "MaximalMV", "TotalCycles", "BubbleSize", "AVGNlStepValue14", "AVGNlStepValue24", "AVGNlStepValue34", "AVGNlStepValue44", "SWReserve", "Spare1Pressure", "Spare2Pressure", "MotorPulsesPerCycle", "Color", "PressureSlope", "ProductionDate", "ATSlocation", "Spare1", "Spare2", "ATSChannel", "UnitEmpty", "DryRunPassFail", "FlowPassFail", "CheckSum" }, null, null, null)
+ }));
+ }
+ #endregion
+
+ }
+ #region Messages
+ public sealed partial class StubDispenserEEpromData : pb::IMessage<StubDispenserEEpromData> {
+ private static readonly pb::MessageParser<StubDispenserEEpromData> _parser = new pb::MessageParser<StubDispenserEEpromData>(() => new StubDispenserEEpromData());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser<StubDispenserEEpromData> Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Tango.PMR.Stubs.StubDispenserEEpromDataReflection.Descriptor.MessageTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubDispenserEEpromData() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubDispenserEEpromData(StubDispenserEEpromData other) : this() {
+ header_ = other.header_;
+ tableLength_ = other.tableLength_;
+ tableversion_ = other.tableversion_;
+ dispenserPN_ = other.dispenserPN_;
+ pCBSN_ = other.pCBSN_;
+ pCBPartNumber_ = other.pCBPartNumber_;
+ dispenserSN_ = other.dispenserSN_;
+ minimalPressure_ = other.minimalPressure_;
+ maximalPressure_ = other.maximalPressure_;
+ minimalMV_ = other.minimalMV_;
+ maximalMV_ = other.maximalMV_;
+ totalCycles_ = other.totalCycles_;
+ bubbleSize_ = other.bubbleSize_;
+ aVGNlStepValue14_ = other.aVGNlStepValue14_;
+ aVGNlStepValue24_ = other.aVGNlStepValue24_;
+ aVGNlStepValue34_ = other.aVGNlStepValue34_;
+ aVGNlStepValue44_ = other.aVGNlStepValue44_;
+ sWReserve_ = other.sWReserve_;
+ spare1Pressure_ = other.spare1Pressure_;
+ spare2Pressure_ = other.spare2Pressure_;
+ motorPulsesPerCycle_ = other.motorPulsesPerCycle_;
+ color_ = other.color_;
+ pressureSlope_ = other.pressureSlope_;
+ productionDate_ = other.productionDate_;
+ aTSlocation_ = other.aTSlocation_;
+ spare1_ = other.spare1_;
+ spare2_ = other.spare2_;
+ aTSChannel_ = other.aTSChannel_;
+ unitEmpty_ = other.unitEmpty_;
+ dryRunPassFail_ = other.dryRunPassFail_;
+ flowPassFail_ = other.flowPassFail_;
+ checkSum_ = other.checkSum_;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubDispenserEEpromData Clone() {
+ return new StubDispenserEEpromData(this);
+ }
+
+ /// <summary>Field number for the "Header" field.</summary>
+ public const int HeaderFieldNumber = 1;
+ private uint header_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint Header {
+ get { return header_; }
+ set {
+ header_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "TableLength" field.</summary>
+ public const int TableLengthFieldNumber = 2;
+ private uint tableLength_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint TableLength {
+ get { return tableLength_; }
+ set {
+ tableLength_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "Tableversion" field.</summary>
+ public const int TableversionFieldNumber = 3;
+ private uint tableversion_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint Tableversion {
+ get { return tableversion_; }
+ set {
+ tableversion_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "DispenserP_N" field.</summary>
+ public const int DispenserPNFieldNumber = 4;
+ private string dispenserPN_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string DispenserPN {
+ get { return dispenserPN_; }
+ set {
+ dispenserPN_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// <summary>Field number for the "PCBS_N" field.</summary>
+ public const int PCBSNFieldNumber = 5;
+ private string pCBSN_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string PCBSN {
+ get { return pCBSN_; }
+ set {
+ pCBSN_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// <summary>Field number for the "PCBPartNumber" field.</summary>
+ public const int PCBPartNumberFieldNumber = 6;
+ private string pCBPartNumber_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string PCBPartNumber {
+ get { return pCBPartNumber_; }
+ set {
+ pCBPartNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// <summary>Field number for the "DispenserS_N" field.</summary>
+ public const int DispenserSNFieldNumber = 7;
+ private string dispenserSN_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string DispenserSN {
+ get { return dispenserSN_; }
+ set {
+ dispenserSN_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// <summary>Field number for the "MinimalPressure" field.</summary>
+ public const int MinimalPressureFieldNumber = 8;
+ private uint minimalPressure_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint MinimalPressure {
+ get { return minimalPressure_; }
+ set {
+ minimalPressure_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "MaximalPressure" field.</summary>
+ public const int MaximalPressureFieldNumber = 9;
+ private uint maximalPressure_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint MaximalPressure {
+ get { return maximalPressure_; }
+ set {
+ maximalPressure_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "MinimalMV" field.</summary>
+ public const int MinimalMVFieldNumber = 10;
+ private uint minimalMV_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint MinimalMV {
+ get { return minimalMV_; }
+ set {
+ minimalMV_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "MaximalMV" field.</summary>
+ public const int MaximalMVFieldNumber = 11;
+ private uint maximalMV_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint MaximalMV {
+ get { return maximalMV_; }
+ set {
+ maximalMV_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "TotalCycles" field.</summary>
+ public const int TotalCyclesFieldNumber = 12;
+ private uint totalCycles_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint TotalCycles {
+ get { return totalCycles_; }
+ set {
+ totalCycles_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "BubbleSize" field.</summary>
+ public const int BubbleSizeFieldNumber = 13;
+ private uint bubbleSize_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint BubbleSize {
+ get { return bubbleSize_; }
+ set {
+ bubbleSize_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "AVG_Nl_stepValue_1_4" field.</summary>
+ public const int AVGNlStepValue14FieldNumber = 14;
+ private uint aVGNlStepValue14_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint AVGNlStepValue14 {
+ get { return aVGNlStepValue14_; }
+ set {
+ aVGNlStepValue14_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "AVG_Nl_stepValue_2_4" field.</summary>
+ public const int AVGNlStepValue24FieldNumber = 15;
+ private uint aVGNlStepValue24_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint AVGNlStepValue24 {
+ get { return aVGNlStepValue24_; }
+ set {
+ aVGNlStepValue24_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "AVG_Nl_stepValue_3_4" field.</summary>
+ public const int AVGNlStepValue34FieldNumber = 16;
+ private uint aVGNlStepValue34_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint AVGNlStepValue34 {
+ get { return aVGNlStepValue34_; }
+ set {
+ aVGNlStepValue34_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "AVG_Nl_stepValue_4_4" field.</summary>
+ public const int AVGNlStepValue44FieldNumber = 17;
+ private uint aVGNlStepValue44_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint AVGNlStepValue44 {
+ get { return aVGNlStepValue44_; }
+ set {
+ aVGNlStepValue44_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "SW_Reserve" field.</summary>
+ public const int SWReserveFieldNumber = 18;
+ private uint sWReserve_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint SWReserve {
+ get { return sWReserve_; }
+ set {
+ sWReserve_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "Spare1_pressure" field.</summary>
+ public const int Spare1PressureFieldNumber = 19;
+ private int spare1Pressure_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int Spare1Pressure {
+ get { return spare1Pressure_; }
+ set {
+ spare1Pressure_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "Spare2_pressure" field.</summary>
+ public const int Spare2PressureFieldNumber = 20;
+ private int spare2Pressure_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int Spare2Pressure {
+ get { return spare2Pressure_; }
+ set {
+ spare2Pressure_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "MotorPulsesPerCycle" field.</summary>
+ public const int MotorPulsesPerCycleFieldNumber = 21;
+ private uint motorPulsesPerCycle_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint MotorPulsesPerCycle {
+ get { return motorPulsesPerCycle_; }
+ set {
+ motorPulsesPerCycle_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "Color" field.</summary>
+ public const int ColorFieldNumber = 22;
+ private uint color_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint Color {
+ get { return color_; }
+ set {
+ color_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "PressureSlope" field.</summary>
+ public const int PressureSlopeFieldNumber = 23;
+ private uint pressureSlope_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint PressureSlope {
+ get { return pressureSlope_; }
+ set {
+ pressureSlope_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "ProductionDate" field.</summary>
+ public const int ProductionDateFieldNumber = 24;
+ private string productionDate_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string ProductionDate {
+ get { return productionDate_; }
+ set {
+ productionDate_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// <summary>Field number for the "ATSlocation" field.</summary>
+ public const int ATSlocationFieldNumber = 25;
+ private uint aTSlocation_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint ATSlocation {
+ get { return aTSlocation_; }
+ set {
+ aTSlocation_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "Spare1" field.</summary>
+ public const int Spare1FieldNumber = 26;
+ private uint spare1_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint Spare1 {
+ get { return spare1_; }
+ set {
+ spare1_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "Spare2" field.</summary>
+ public const int Spare2FieldNumber = 27;
+ private uint spare2_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint Spare2 {
+ get { return spare2_; }
+ set {
+ spare2_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "ATSChannel" field.</summary>
+ public const int ATSChannelFieldNumber = 28;
+ private uint aTSChannel_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint ATSChannel {
+ get { return aTSChannel_; }
+ set {
+ aTSChannel_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "UnitEmpty" field.</summary>
+ public const int UnitEmptyFieldNumber = 29;
+ private bool unitEmpty_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool UnitEmpty {
+ get { return unitEmpty_; }
+ set {
+ unitEmpty_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "DryRunPass_Fail" field.</summary>
+ public const int DryRunPassFailFieldNumber = 30;
+ private bool dryRunPassFail_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool DryRunPassFail {
+ get { return dryRunPassFail_; }
+ set {
+ dryRunPassFail_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "FlowPass_Fail" field.</summary>
+ public const int FlowPassFailFieldNumber = 31;
+ private bool flowPassFail_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool FlowPassFail {
+ get { return flowPassFail_; }
+ set {
+ flowPassFail_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "CheckSum" field.</summary>
+ public const int CheckSumFieldNumber = 32;
+ private uint checkSum_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint CheckSum {
+ get { return checkSum_; }
+ set {
+ checkSum_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as StubDispenserEEpromData);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(StubDispenserEEpromData other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Header != other.Header) return false;
+ if (TableLength != other.TableLength) return false;
+ if (Tableversion != other.Tableversion) return false;
+ if (DispenserPN != other.DispenserPN) return false;
+ if (PCBSN != other.PCBSN) return false;
+ if (PCBPartNumber != other.PCBPartNumber) return false;
+ if (DispenserSN != other.DispenserSN) return false;
+ if (MinimalPressure != other.MinimalPressure) return false;
+ if (MaximalPressure != other.MaximalPressure) return false;
+ if (MinimalMV != other.MinimalMV) return false;
+ if (MaximalMV != other.MaximalMV) return false;
+ if (TotalCycles != other.TotalCycles) return false;
+ if (BubbleSize != other.BubbleSize) return false;
+ if (AVGNlStepValue14 != other.AVGNlStepValue14) return false;
+ if (AVGNlStepValue24 != other.AVGNlStepValue24) return false;
+ if (AVGNlStepValue34 != other.AVGNlStepValue34) return false;
+ if (AVGNlStepValue44 != other.AVGNlStepValue44) return false;
+ if (SWReserve != other.SWReserve) return false;
+ if (Spare1Pressure != other.Spare1Pressure) return false;
+ if (Spare2Pressure != other.Spare2Pressure) return false;
+ if (MotorPulsesPerCycle != other.MotorPulsesPerCycle) return false;
+ if (Color != other.Color) return false;
+ if (PressureSlope != other.PressureSlope) return false;
+ if (ProductionDate != other.ProductionDate) return false;
+ if (ATSlocation != other.ATSlocation) return false;
+ if (Spare1 != other.Spare1) return false;
+ if (Spare2 != other.Spare2) return false;
+ if (ATSChannel != other.ATSChannel) return false;
+ if (UnitEmpty != other.UnitEmpty) return false;
+ if (DryRunPassFail != other.DryRunPassFail) return false;
+ if (FlowPassFail != other.FlowPassFail) return false;
+ if (CheckSum != other.CheckSum) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Header != 0) hash ^= Header.GetHashCode();
+ if (TableLength != 0) hash ^= TableLength.GetHashCode();
+ if (Tableversion != 0) hash ^= Tableversion.GetHashCode();
+ if (DispenserPN.Length != 0) hash ^= DispenserPN.GetHashCode();
+ if (PCBSN.Length != 0) hash ^= PCBSN.GetHashCode();
+ if (PCBPartNumber.Length != 0) hash ^= PCBPartNumber.GetHashCode();
+ if (DispenserSN.Length != 0) hash ^= DispenserSN.GetHashCode();
+ if (MinimalPressure != 0) hash ^= MinimalPressure.GetHashCode();
+ if (MaximalPressure != 0) hash ^= MaximalPressure.GetHashCode();
+ if (MinimalMV != 0) hash ^= MinimalMV.GetHashCode();
+ if (MaximalMV != 0) hash ^= MaximalMV.GetHashCode();
+ if (TotalCycles != 0) hash ^= TotalCycles.GetHashCode();
+ if (BubbleSize != 0) hash ^= BubbleSize.GetHashCode();
+ if (AVGNlStepValue14 != 0) hash ^= AVGNlStepValue14.GetHashCode();
+ if (AVGNlStepValue24 != 0) hash ^= AVGNlStepValue24.GetHashCode();
+ if (AVGNlStepValue34 != 0) hash ^= AVGNlStepValue34.GetHashCode();
+ if (AVGNlStepValue44 != 0) hash ^= AVGNlStepValue44.GetHashCode();
+ if (SWReserve != 0) hash ^= SWReserve.GetHashCode();
+ if (Spare1Pressure != 0) hash ^= Spare1Pressure.GetHashCode();
+ if (Spare2Pressure != 0) hash ^= Spare2Pressure.GetHashCode();
+ if (MotorPulsesPerCycle != 0) hash ^= MotorPulsesPerCycle.GetHashCode();
+ if (Color != 0) hash ^= Color.GetHashCode();
+ if (PressureSlope != 0) hash ^= PressureSlope.GetHashCode();
+ if (ProductionDate.Length != 0) hash ^= ProductionDate.GetHashCode();
+ if (ATSlocation != 0) hash ^= ATSlocation.GetHashCode();
+ if (Spare1 != 0) hash ^= Spare1.GetHashCode();
+ if (Spare2 != 0) hash ^= Spare2.GetHashCode();
+ if (ATSChannel != 0) hash ^= ATSChannel.GetHashCode();
+ if (UnitEmpty != false) hash ^= UnitEmpty.GetHashCode();
+ if (DryRunPassFail != false) hash ^= DryRunPassFail.GetHashCode();
+ if (FlowPassFail != false) hash ^= FlowPassFail.GetHashCode();
+ if (CheckSum != 0) hash ^= CheckSum.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 (Header != 0) {
+ output.WriteRawTag(8);
+ output.WriteUInt32(Header);
+ }
+ if (TableLength != 0) {
+ output.WriteRawTag(16);
+ output.WriteUInt32(TableLength);
+ }
+ if (Tableversion != 0) {
+ output.WriteRawTag(24);
+ output.WriteUInt32(Tableversion);
+ }
+ if (DispenserPN.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(DispenserPN);
+ }
+ if (PCBSN.Length != 0) {
+ output.WriteRawTag(42);
+ output.WriteString(PCBSN);
+ }
+ if (PCBPartNumber.Length != 0) {
+ output.WriteRawTag(50);
+ output.WriteString(PCBPartNumber);
+ }
+ if (DispenserSN.Length != 0) {
+ output.WriteRawTag(58);
+ output.WriteString(DispenserSN);
+ }
+ if (MinimalPressure != 0) {
+ output.WriteRawTag(64);
+ output.WriteUInt32(MinimalPressure);
+ }
+ if (MaximalPressure != 0) {
+ output.WriteRawTag(72);
+ output.WriteUInt32(MaximalPressure);
+ }
+ if (MinimalMV != 0) {
+ output.WriteRawTag(80);
+ output.WriteUInt32(MinimalMV);
+ }
+ if (MaximalMV != 0) {
+ output.WriteRawTag(88);
+ output.WriteUInt32(MaximalMV);
+ }
+ if (TotalCycles != 0) {
+ output.WriteRawTag(96);
+ output.WriteUInt32(TotalCycles);
+ }
+ if (BubbleSize != 0) {
+ output.WriteRawTag(104);
+ output.WriteUInt32(BubbleSize);
+ }
+ if (AVGNlStepValue14 != 0) {
+ output.WriteRawTag(112);
+ output.WriteUInt32(AVGNlStepValue14);
+ }
+ if (AVGNlStepValue24 != 0) {
+ output.WriteRawTag(120);
+ output.WriteUInt32(AVGNlStepValue24);
+ }
+ if (AVGNlStepValue34 != 0) {
+ output.WriteRawTag(128, 1);
+ output.WriteUInt32(AVGNlStepValue34);
+ }
+ if (AVGNlStepValue44 != 0) {
+ output.WriteRawTag(136, 1);
+ output.WriteUInt32(AVGNlStepValue44);
+ }
+ if (SWReserve != 0) {
+ output.WriteRawTag(144, 1);
+ output.WriteUInt32(SWReserve);
+ }
+ if (Spare1Pressure != 0) {
+ output.WriteRawTag(152, 1);
+ output.WriteInt32(Spare1Pressure);
+ }
+ if (Spare2Pressure != 0) {
+ output.WriteRawTag(160, 1);
+ output.WriteInt32(Spare2Pressure);
+ }
+ if (MotorPulsesPerCycle != 0) {
+ output.WriteRawTag(168, 1);
+ output.WriteUInt32(MotorPulsesPerCycle);
+ }
+ if (Color != 0) {
+ output.WriteRawTag(176, 1);
+ output.WriteUInt32(Color);
+ }
+ if (PressureSlope != 0) {
+ output.WriteRawTag(184, 1);
+ output.WriteUInt32(PressureSlope);
+ }
+ if (ProductionDate.Length != 0) {
+ output.WriteRawTag(194, 1);
+ output.WriteString(ProductionDate);
+ }
+ if (ATSlocation != 0) {
+ output.WriteRawTag(200, 1);
+ output.WriteUInt32(ATSlocation);
+ }
+ if (Spare1 != 0) {
+ output.WriteRawTag(208, 1);
+ output.WriteUInt32(Spare1);
+ }
+ if (Spare2 != 0) {
+ output.WriteRawTag(216, 1);
+ output.WriteUInt32(Spare2);
+ }
+ if (ATSChannel != 0) {
+ output.WriteRawTag(224, 1);
+ output.WriteUInt32(ATSChannel);
+ }
+ if (UnitEmpty != false) {
+ output.WriteRawTag(232, 1);
+ output.WriteBool(UnitEmpty);
+ }
+ if (DryRunPassFail != false) {
+ output.WriteRawTag(240, 1);
+ output.WriteBool(DryRunPassFail);
+ }
+ if (FlowPassFail != false) {
+ output.WriteRawTag(248, 1);
+ output.WriteBool(FlowPassFail);
+ }
+ if (CheckSum != 0) {
+ output.WriteRawTag(128, 2);
+ output.WriteUInt32(CheckSum);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (Header != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Header);
+ }
+ if (TableLength != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TableLength);
+ }
+ if (Tableversion != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tableversion);
+ }
+ if (DispenserPN.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(DispenserPN);
+ }
+ if (PCBSN.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(PCBSN);
+ }
+ if (PCBPartNumber.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(PCBPartNumber);
+ }
+ if (DispenserSN.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(DispenserSN);
+ }
+ if (MinimalPressure != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MinimalPressure);
+ }
+ if (MaximalPressure != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaximalPressure);
+ }
+ if (MinimalMV != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MinimalMV);
+ }
+ if (MaximalMV != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaximalMV);
+ }
+ if (TotalCycles != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TotalCycles);
+ }
+ if (BubbleSize != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BubbleSize);
+ }
+ if (AVGNlStepValue14 != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AVGNlStepValue14);
+ }
+ if (AVGNlStepValue24 != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AVGNlStepValue24);
+ }
+ if (AVGNlStepValue34 != 0) {
+ size += 2 + pb::CodedOutputStream.ComputeUInt32Size(AVGNlStepValue34);
+ }
+ if (AVGNlStepValue44 != 0) {
+ size += 2 + pb::CodedOutputStream.ComputeUInt32Size(AVGNlStepValue44);
+ }
+ if (SWReserve != 0) {
+ size += 2 + pb::CodedOutputStream.ComputeUInt32Size(SWReserve);
+ }
+ if (Spare1Pressure != 0) {
+ size += 2 + pb::CodedOutputStream.ComputeInt32Size(Spare1Pressure);
+ }
+ if (Spare2Pressure != 0) {
+ size += 2 + pb::CodedOutputStream.ComputeInt32Size(Spare2Pressure);
+ }
+ if (MotorPulsesPerCycle != 0) {
+ size += 2 + pb::CodedOutputStream.ComputeUInt32Size(MotorPulsesPerCycle);
+ }
+ if (Color != 0) {
+ size += 2 + pb::CodedOutputStream.ComputeUInt32Size(Color);
+ }
+ if (PressureSlope != 0) {
+ size += 2 + pb::CodedOutputStream.ComputeUInt32Size(PressureSlope);
+ }
+ if (ProductionDate.Length != 0) {
+ size += 2 + pb::CodedOutputStream.ComputeStringSize(ProductionDate);
+ }
+ if (ATSlocation != 0) {
+ size += 2 + pb::CodedOutputStream.ComputeUInt32Size(ATSlocation);
+ }
+ if (Spare1 != 0) {
+ size += 2 + pb::CodedOutputStream.ComputeUInt32Size(Spare1);
+ }
+ if (Spare2 != 0) {
+ size += 2 + pb::CodedOutputStream.ComputeUInt32Size(Spare2);
+ }
+ if (ATSChannel != 0) {
+ size += 2 + pb::CodedOutputStream.ComputeUInt32Size(ATSChannel);
+ }
+ if (UnitEmpty != false) {
+ size += 2 + 1;
+ }
+ if (DryRunPassFail != false) {
+ size += 2 + 1;
+ }
+ if (FlowPassFail != false) {
+ size += 2 + 1;
+ }
+ if (CheckSum != 0) {
+ size += 2 + pb::CodedOutputStream.ComputeUInt32Size(CheckSum);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(StubDispenserEEpromData other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Header != 0) {
+ Header = other.Header;
+ }
+ if (other.TableLength != 0) {
+ TableLength = other.TableLength;
+ }
+ if (other.Tableversion != 0) {
+ Tableversion = other.Tableversion;
+ }
+ if (other.DispenserPN.Length != 0) {
+ DispenserPN = other.DispenserPN;
+ }
+ if (other.PCBSN.Length != 0) {
+ PCBSN = other.PCBSN;
+ }
+ if (other.PCBPartNumber.Length != 0) {
+ PCBPartNumber = other.PCBPartNumber;
+ }
+ if (other.DispenserSN.Length != 0) {
+ DispenserSN = other.DispenserSN;
+ }
+ if (other.MinimalPressure != 0) {
+ MinimalPressure = other.MinimalPressure;
+ }
+ if (other.MaximalPressure != 0) {
+ MaximalPressure = other.MaximalPressure;
+ }
+ if (other.MinimalMV != 0) {
+ MinimalMV = other.MinimalMV;
+ }
+ if (other.MaximalMV != 0) {
+ MaximalMV = other.MaximalMV;
+ }
+ if (other.TotalCycles != 0) {
+ TotalCycles = other.TotalCycles;
+ }
+ if (other.BubbleSize != 0) {
+ BubbleSize = other.BubbleSize;
+ }
+ if (other.AVGNlStepValue14 != 0) {
+ AVGNlStepValue14 = other.AVGNlStepValue14;
+ }
+ if (other.AVGNlStepValue24 != 0) {
+ AVGNlStepValue24 = other.AVGNlStepValue24;
+ }
+ if (other.AVGNlStepValue34 != 0) {
+ AVGNlStepValue34 = other.AVGNlStepValue34;
+ }
+ if (other.AVGNlStepValue44 != 0) {
+ AVGNlStepValue44 = other.AVGNlStepValue44;
+ }
+ if (other.SWReserve != 0) {
+ SWReserve = other.SWReserve;
+ }
+ if (other.Spare1Pressure != 0) {
+ Spare1Pressure = other.Spare1Pressure;
+ }
+ if (other.Spare2Pressure != 0) {
+ Spare2Pressure = other.Spare2Pressure;
+ }
+ if (other.MotorPulsesPerCycle != 0) {
+ MotorPulsesPerCycle = other.MotorPulsesPerCycle;
+ }
+ if (other.Color != 0) {
+ Color = other.Color;
+ }
+ if (other.PressureSlope != 0) {
+ PressureSlope = other.PressureSlope;
+ }
+ if (other.ProductionDate.Length != 0) {
+ ProductionDate = other.ProductionDate;
+ }
+ if (other.ATSlocation != 0) {
+ ATSlocation = other.ATSlocation;
+ }
+ if (other.Spare1 != 0) {
+ Spare1 = other.Spare1;
+ }
+ if (other.Spare2 != 0) {
+ Spare2 = other.Spare2;
+ }
+ if (other.ATSChannel != 0) {
+ ATSChannel = other.ATSChannel;
+ }
+ if (other.UnitEmpty != false) {
+ UnitEmpty = other.UnitEmpty;
+ }
+ if (other.DryRunPassFail != false) {
+ DryRunPassFail = other.DryRunPassFail;
+ }
+ if (other.FlowPassFail != false) {
+ FlowPassFail = other.FlowPassFail;
+ }
+ if (other.CheckSum != 0) {
+ CheckSum = other.CheckSum;
+ }
+ }
+
+ [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: {
+ Header = input.ReadUInt32();
+ break;
+ }
+ case 16: {
+ TableLength = input.ReadUInt32();
+ break;
+ }
+ case 24: {
+ Tableversion = input.ReadUInt32();
+ break;
+ }
+ case 34: {
+ DispenserPN = input.ReadString();
+ break;
+ }
+ case 42: {
+ PCBSN = input.ReadString();
+ break;
+ }
+ case 50: {
+ PCBPartNumber = input.ReadString();
+ break;
+ }
+ case 58: {
+ DispenserSN = input.ReadString();
+ break;
+ }
+ case 64: {
+ MinimalPressure = input.ReadUInt32();
+ break;
+ }
+ case 72: {
+ MaximalPressure = input.ReadUInt32();
+ break;
+ }
+ case 80: {
+ MinimalMV = input.ReadUInt32();
+ break;
+ }
+ case 88: {
+ MaximalMV = input.ReadUInt32();
+ break;
+ }
+ case 96: {
+ TotalCycles = input.ReadUInt32();
+ break;
+ }
+ case 104: {
+ BubbleSize = input.ReadUInt32();
+ break;
+ }
+ case 112: {
+ AVGNlStepValue14 = input.ReadUInt32();
+ break;
+ }
+ case 120: {
+ AVGNlStepValue24 = input.ReadUInt32();
+ break;
+ }
+ case 128: {
+ AVGNlStepValue34 = input.ReadUInt32();
+ break;
+ }
+ case 136: {
+ AVGNlStepValue44 = input.ReadUInt32();
+ break;
+ }
+ case 144: {
+ SWReserve = input.ReadUInt32();
+ break;
+ }
+ case 152: {
+ Spare1Pressure = input.ReadInt32();
+ break;
+ }
+ case 160: {
+ Spare2Pressure = input.ReadInt32();
+ break;
+ }
+ case 168: {
+ MotorPulsesPerCycle = input.ReadUInt32();
+ break;
+ }
+ case 176: {
+ Color = input.ReadUInt32();
+ break;
+ }
+ case 184: {
+ PressureSlope = input.ReadUInt32();
+ break;
+ }
+ case 194: {
+ ProductionDate = input.ReadString();
+ break;
+ }
+ case 200: {
+ ATSlocation = input.ReadUInt32();
+ break;
+ }
+ case 208: {
+ Spare1 = input.ReadUInt32();
+ break;
+ }
+ case 216: {
+ Spare2 = input.ReadUInt32();
+ break;
+ }
+ case 224: {
+ ATSChannel = input.ReadUInt32();
+ break;
+ }
+ case 232: {
+ UnitEmpty = input.ReadBool();
+ break;
+ }
+ case 240: {
+ DryRunPassFail = input.ReadBool();
+ break;
+ }
+ case 248: {
+ FlowPassFail = input.ReadBool();
+ break;
+ }
+ case 256: {
+ CheckSum = input.ReadUInt32();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ #endregion
+
+}
+
+#endregion Designer generated code
diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubDispenserEEpromRequest.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubDispenserEEpromRequest.cs
new file mode 100644
index 000000000..9c0f82c27
--- /dev/null
+++ b/Software/Visual_Studio/Tango.PMR/Stubs/StubDispenserEEpromRequest.cs
@@ -0,0 +1,224 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: StubDispenserEEpromRequest.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 StubDispenserEEpromRequest.proto</summary>
+ public static partial class StubDispenserEEpromRequestReflection {
+
+ #region Descriptor
+ /// <summary>File descriptor for StubDispenserEEpromRequest.proto</summary>
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static StubDispenserEEpromRequestReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "CiBTdHViRGlzcGVuc2VyRUVwcm9tUmVxdWVzdC5wcm90bxIPVGFuZ28uUE1S",
+ "LlN0dWJzGh1TdHViRGlzcGVuc2VyRUVwcm9tRGF0YS5wcm90byKJAQoaU3R1",
+ "YkRpc3BlbnNlckVFcHJvbVJlcXVlc3QSEwoLRGlzcGVuc2VySWQYASABKA0S",
+ "EwoLQnVyblJlcXVlc3QYAiABKAgSQQoPRGlzcGVuc2VyRUVwcm9tGAMgASgL",
+ "MiguVGFuZ28uUE1SLlN0dWJzLlN0dWJEaXNwZW5zZXJFRXByb21EYXRhQhsK",
+ "GWNvbS50d2luZS50YW5nby5wbXIuc3R1YnNiBnByb3RvMw=="));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { global::Tango.PMR.Stubs.StubDispenserEEpromDataReflection.Descriptor, },
+ new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
+ new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubDispenserEEpromRequest), global::Tango.PMR.Stubs.StubDispenserEEpromRequest.Parser, new[]{ "DispenserId", "BurnRequest", "DispenserEEprom" }, null, null, null)
+ }));
+ }
+ #endregion
+
+ }
+ #region Messages
+ public sealed partial class StubDispenserEEpromRequest : pb::IMessage<StubDispenserEEpromRequest> {
+ private static readonly pb::MessageParser<StubDispenserEEpromRequest> _parser = new pb::MessageParser<StubDispenserEEpromRequest>(() => new StubDispenserEEpromRequest());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser<StubDispenserEEpromRequest> Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Tango.PMR.Stubs.StubDispenserEEpromRequestReflection.Descriptor.MessageTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubDispenserEEpromRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubDispenserEEpromRequest(StubDispenserEEpromRequest other) : this() {
+ dispenserId_ = other.dispenserId_;
+ burnRequest_ = other.burnRequest_;
+ DispenserEEprom = other.dispenserEEprom_ != null ? other.DispenserEEprom.Clone() : null;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubDispenserEEpromRequest Clone() {
+ return new StubDispenserEEpromRequest(this);
+ }
+
+ /// <summary>Field number for the "DispenserId" field.</summary>
+ public const int DispenserIdFieldNumber = 1;
+ private uint dispenserId_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint DispenserId {
+ get { return dispenserId_; }
+ set {
+ dispenserId_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "BurnRequest" field.</summary>
+ public const int BurnRequestFieldNumber = 2;
+ private bool burnRequest_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool BurnRequest {
+ get { return burnRequest_; }
+ set {
+ burnRequest_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "DispenserEEprom" field.</summary>
+ public const int DispenserEEpromFieldNumber = 3;
+ private global::Tango.PMR.Stubs.StubDispenserEEpromData dispenserEEprom_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::Tango.PMR.Stubs.StubDispenserEEpromData DispenserEEprom {
+ get { return dispenserEEprom_; }
+ set {
+ dispenserEEprom_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as StubDispenserEEpromRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(StubDispenserEEpromRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (DispenserId != other.DispenserId) return false;
+ if (BurnRequest != other.BurnRequest) return false;
+ if (!object.Equals(DispenserEEprom, other.DispenserEEprom)) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (DispenserId != 0) hash ^= DispenserId.GetHashCode();
+ if (BurnRequest != false) hash ^= BurnRequest.GetHashCode();
+ if (dispenserEEprom_ != null) hash ^= DispenserEEprom.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 (DispenserId != 0) {
+ output.WriteRawTag(8);
+ output.WriteUInt32(DispenserId);
+ }
+ if (BurnRequest != false) {
+ output.WriteRawTag(16);
+ output.WriteBool(BurnRequest);
+ }
+ if (dispenserEEprom_ != null) {
+ output.WriteRawTag(26);
+ output.WriteMessage(DispenserEEprom);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (DispenserId != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DispenserId);
+ }
+ if (BurnRequest != false) {
+ size += 1 + 1;
+ }
+ if (dispenserEEprom_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(DispenserEEprom);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(StubDispenserEEpromRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.DispenserId != 0) {
+ DispenserId = other.DispenserId;
+ }
+ if (other.BurnRequest != false) {
+ BurnRequest = other.BurnRequest;
+ }
+ if (other.dispenserEEprom_ != null) {
+ if (dispenserEEprom_ == null) {
+ dispenserEEprom_ = new global::Tango.PMR.Stubs.StubDispenserEEpromData();
+ }
+ DispenserEEprom.MergeFrom(other.DispenserEEprom);
+ }
+ }
+
+ [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: {
+ DispenserId = input.ReadUInt32();
+ break;
+ }
+ case 16: {
+ BurnRequest = input.ReadBool();
+ break;
+ }
+ case 26: {
+ if (dispenserEEprom_ == null) {
+ dispenserEEprom_ = new global::Tango.PMR.Stubs.StubDispenserEEpromData();
+ }
+ input.ReadMessage(dispenserEEprom_);
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ #endregion
+
+}
+
+#endregion Designer generated code
diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubDispenserEEpromResponse.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubDispenserEEpromResponse.cs
new file mode 100644
index 000000000..452a97cf4
--- /dev/null
+++ b/Software/Visual_Studio/Tango.PMR/Stubs/StubDispenserEEpromResponse.cs
@@ -0,0 +1,196 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: StubDispenserEEpromResponse.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 StubDispenserEEpromResponse.proto</summary>
+ public static partial class StubDispenserEEpromResponseReflection {
+
+ #region Descriptor
+ /// <summary>File descriptor for StubDispenserEEpromResponse.proto</summary>
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static StubDispenserEEpromResponseReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "CiFTdHViRGlzcGVuc2VyRUVwcm9tUmVzcG9uc2UucHJvdG8SD1RhbmdvLlBN",
+ "Ui5TdHVicxodU3R1YkRpc3BlbnNlckVFcHJvbURhdGEucHJvdG8idQobU3R1",
+ "YkRpc3BlbnNlckVFcHJvbVJlc3BvbnNlEhMKC0Rpc3BlbnNlcklkGAEgASgN",
+ "EkEKD0Rpc3BlbnNlckVFcHJvbRgCIAEoCzIoLlRhbmdvLlBNUi5TdHVicy5T",
+ "dHViRGlzcGVuc2VyRUVwcm9tRGF0YUIbChljb20udHdpbmUudGFuZ28ucG1y",
+ "LnN0dWJzYgZwcm90bzM="));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { global::Tango.PMR.Stubs.StubDispenserEEpromDataReflection.Descriptor, },
+ new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
+ new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubDispenserEEpromResponse), global::Tango.PMR.Stubs.StubDispenserEEpromResponse.Parser, new[]{ "DispenserId", "DispenserEEprom" }, null, null, null)
+ }));
+ }
+ #endregion
+
+ }
+ #region Messages
+ public sealed partial class StubDispenserEEpromResponse : pb::IMessage<StubDispenserEEpromResponse> {
+ private static readonly pb::MessageParser<StubDispenserEEpromResponse> _parser = new pb::MessageParser<StubDispenserEEpromResponse>(() => new StubDispenserEEpromResponse());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser<StubDispenserEEpromResponse> Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Tango.PMR.Stubs.StubDispenserEEpromResponseReflection.Descriptor.MessageTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubDispenserEEpromResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubDispenserEEpromResponse(StubDispenserEEpromResponse other) : this() {
+ dispenserId_ = other.dispenserId_;
+ DispenserEEprom = other.dispenserEEprom_ != null ? other.DispenserEEprom.Clone() : null;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubDispenserEEpromResponse Clone() {
+ return new StubDispenserEEpromResponse(this);
+ }
+
+ /// <summary>Field number for the "DispenserId" field.</summary>
+ public const int DispenserIdFieldNumber = 1;
+ private uint dispenserId_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint DispenserId {
+ get { return dispenserId_; }
+ set {
+ dispenserId_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "DispenserEEprom" field.</summary>
+ public const int DispenserEEpromFieldNumber = 2;
+ private global::Tango.PMR.Stubs.StubDispenserEEpromData dispenserEEprom_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::Tango.PMR.Stubs.StubDispenserEEpromData DispenserEEprom {
+ get { return dispenserEEprom_; }
+ set {
+ dispenserEEprom_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as StubDispenserEEpromResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(StubDispenserEEpromResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (DispenserId != other.DispenserId) return false;
+ if (!object.Equals(DispenserEEprom, other.DispenserEEprom)) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (DispenserId != 0) hash ^= DispenserId.GetHashCode();
+ if (dispenserEEprom_ != null) hash ^= DispenserEEprom.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 (DispenserId != 0) {
+ output.WriteRawTag(8);
+ output.WriteUInt32(DispenserId);
+ }
+ if (dispenserEEprom_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(DispenserEEprom);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (DispenserId != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DispenserId);
+ }
+ if (dispenserEEprom_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(DispenserEEprom);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(StubDispenserEEpromResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.DispenserId != 0) {
+ DispenserId = other.DispenserId;
+ }
+ if (other.dispenserEEprom_ != null) {
+ if (dispenserEEprom_ == null) {
+ dispenserEEprom_ = new global::Tango.PMR.Stubs.StubDispenserEEpromData();
+ }
+ DispenserEEprom.MergeFrom(other.DispenserEEprom);
+ }
+ }
+
+ [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: {
+ DispenserId = input.ReadUInt32();
+ break;
+ }
+ case 18: {
+ if (dispenserEEprom_ == null) {
+ dispenserEEprom_ = new global::Tango.PMR.Stubs.StubDispenserEEpromData();
+ }
+ input.ReadMessage(dispenserEEprom_);
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ #endregion
+
+}
+
+#endregion Designer generated code
diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubWhsEEpromData.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubWhsEEpromData.cs
new file mode 100644
index 000000000..f34cebdc9
--- /dev/null
+++ b/Software/Visual_Studio/Tango.PMR/Stubs/StubWhsEEpromData.cs
@@ -0,0 +1,672 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: StubWhsEEpromData.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 StubWhsEEpromData.proto</summary>
+ public static partial class StubWhsEEpromDataReflection {
+
+ #region Descriptor
+ /// <summary>File descriptor for StubWhsEEpromData.proto</summary>
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static StubWhsEEpromDataReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "ChdTdHViV2hzRUVwcm9tRGF0YS5wcm90bxIPVGFuZ28uUE1SLlN0dWJzIrgD",
+ "ChFTdHViV2hzRUVwcm9tRGF0YRIOCgZIZWFkZXIYASABKA0SEwoLVGFibGVM",
+ "ZW5ndGgYAiABKA0SFAoMVGFibGV2ZXJzaW9uGAMgASgNEg4KBldoc1BfThgE",
+ "IAEoCRIOCgZQQ0JTX04YBSABKAkSFQoNUENCUGFydE51bWJlchgGIAEoCRIO",
+ "CgZXaHNTX04YByABKAkSFAoMT3JpZmljZTFGbG93GAggASgBEhUKDU9yaWZp",
+ "Y2UxU2xvcGUYCSABKAESFAoMT3JpZmljZTJGbG93GAogASgBEhUKDU9yaWZp",
+ "Y2UyU2xvcGUYCyABKAESFAoMT3JpZmljZTNGbG93GAwgASgBEhUKDU9yaWZp",
+ "Y2UzU2xvcGUYDSABKAESGAoQT3JpZmljZVZhbHZlRmxvdxgOIAEoARIZChFP",
+ "cmlmaWNlVmFsdmVTbG9wZRgPIAEoARIbChNWT0NJbnN0YWxsYXRpb25EYXRl",
+ "GBAgASgJEh4KFkZpbHRlckluc3RhbGxhdGlvbkRhdGUYESABKAkSFgoOUHJv",
+ "ZHVjdGlvbkRhdGUYEiABKAkSEAoIQ2hlY2tTdW0YEyABKA1CGwoZY29tLnR3",
+ "aW5lLnRhbmdvLnBtci5zdHVic2IGcHJvdG8z"));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { },
+ new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
+ new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubWhsEEpromData), global::Tango.PMR.Stubs.StubWhsEEpromData.Parser, new[]{ "Header", "TableLength", "Tableversion", "WhsPN", "PCBSN", "PCBPartNumber", "WhsSN", "Orifice1Flow", "Orifice1Slope", "Orifice2Flow", "Orifice2Slope", "Orifice3Flow", "Orifice3Slope", "OrificeValveFlow", "OrificeValveSlope", "VOCInstallationDate", "FilterInstallationDate", "ProductionDate", "CheckSum" }, null, null, null)
+ }));
+ }
+ #endregion
+
+ }
+ #region Messages
+ public sealed partial class StubWhsEEpromData : pb::IMessage<StubWhsEEpromData> {
+ private static readonly pb::MessageParser<StubWhsEEpromData> _parser = new pb::MessageParser<StubWhsEEpromData>(() => new StubWhsEEpromData());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser<StubWhsEEpromData> Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Tango.PMR.Stubs.StubWhsEEpromDataReflection.Descriptor.MessageTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubWhsEEpromData() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubWhsEEpromData(StubWhsEEpromData other) : this() {
+ header_ = other.header_;
+ tableLength_ = other.tableLength_;
+ tableversion_ = other.tableversion_;
+ whsPN_ = other.whsPN_;
+ pCBSN_ = other.pCBSN_;
+ pCBPartNumber_ = other.pCBPartNumber_;
+ whsSN_ = other.whsSN_;
+ orifice1Flow_ = other.orifice1Flow_;
+ orifice1Slope_ = other.orifice1Slope_;
+ orifice2Flow_ = other.orifice2Flow_;
+ orifice2Slope_ = other.orifice2Slope_;
+ orifice3Flow_ = other.orifice3Flow_;
+ orifice3Slope_ = other.orifice3Slope_;
+ orificeValveFlow_ = other.orificeValveFlow_;
+ orificeValveSlope_ = other.orificeValveSlope_;
+ vOCInstallationDate_ = other.vOCInstallationDate_;
+ filterInstallationDate_ = other.filterInstallationDate_;
+ productionDate_ = other.productionDate_;
+ checkSum_ = other.checkSum_;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubWhsEEpromData Clone() {
+ return new StubWhsEEpromData(this);
+ }
+
+ /// <summary>Field number for the "Header" field.</summary>
+ public const int HeaderFieldNumber = 1;
+ private uint header_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint Header {
+ get { return header_; }
+ set {
+ header_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "TableLength" field.</summary>
+ public const int TableLengthFieldNumber = 2;
+ private uint tableLength_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint TableLength {
+ get { return tableLength_; }
+ set {
+ tableLength_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "Tableversion" field.</summary>
+ public const int TableversionFieldNumber = 3;
+ private uint tableversion_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint Tableversion {
+ get { return tableversion_; }
+ set {
+ tableversion_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "WhsP_N" field.</summary>
+ public const int WhsPNFieldNumber = 4;
+ private string whsPN_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string WhsPN {
+ get { return whsPN_; }
+ set {
+ whsPN_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// <summary>Field number for the "PCBS_N" field.</summary>
+ public const int PCBSNFieldNumber = 5;
+ private string pCBSN_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string PCBSN {
+ get { return pCBSN_; }
+ set {
+ pCBSN_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// <summary>Field number for the "PCBPartNumber" field.</summary>
+ public const int PCBPartNumberFieldNumber = 6;
+ private string pCBPartNumber_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string PCBPartNumber {
+ get { return pCBPartNumber_; }
+ set {
+ pCBPartNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// <summary>Field number for the "WhsS_N" field.</summary>
+ public const int WhsSNFieldNumber = 7;
+ private string whsSN_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string WhsSN {
+ get { return whsSN_; }
+ set {
+ whsSN_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// <summary>Field number for the "Orifice1Flow" field.</summary>
+ public const int Orifice1FlowFieldNumber = 8;
+ private double orifice1Flow_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double Orifice1Flow {
+ get { return orifice1Flow_; }
+ set {
+ orifice1Flow_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "Orifice1Slope" field.</summary>
+ public const int Orifice1SlopeFieldNumber = 9;
+ private double orifice1Slope_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double Orifice1Slope {
+ get { return orifice1Slope_; }
+ set {
+ orifice1Slope_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "Orifice2Flow" field.</summary>
+ public const int Orifice2FlowFieldNumber = 10;
+ private double orifice2Flow_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double Orifice2Flow {
+ get { return orifice2Flow_; }
+ set {
+ orifice2Flow_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "Orifice2Slope" field.</summary>
+ public const int Orifice2SlopeFieldNumber = 11;
+ private double orifice2Slope_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double Orifice2Slope {
+ get { return orifice2Slope_; }
+ set {
+ orifice2Slope_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "Orifice3Flow" field.</summary>
+ public const int Orifice3FlowFieldNumber = 12;
+ private double orifice3Flow_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double Orifice3Flow {
+ get { return orifice3Flow_; }
+ set {
+ orifice3Flow_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "Orifice3Slope" field.</summary>
+ public const int Orifice3SlopeFieldNumber = 13;
+ private double orifice3Slope_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double Orifice3Slope {
+ get { return orifice3Slope_; }
+ set {
+ orifice3Slope_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "OrificeValveFlow" field.</summary>
+ public const int OrificeValveFlowFieldNumber = 14;
+ private double orificeValveFlow_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double OrificeValveFlow {
+ get { return orificeValveFlow_; }
+ set {
+ orificeValveFlow_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "OrificeValveSlope" field.</summary>
+ public const int OrificeValveSlopeFieldNumber = 15;
+ private double orificeValveSlope_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double OrificeValveSlope {
+ get { return orificeValveSlope_; }
+ set {
+ orificeValveSlope_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "VOCInstallationDate" field.</summary>
+ public const int VOCInstallationDateFieldNumber = 16;
+ private string vOCInstallationDate_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string VOCInstallationDate {
+ get { return vOCInstallationDate_; }
+ set {
+ vOCInstallationDate_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// <summary>Field number for the "FilterInstallationDate" field.</summary>
+ public const int FilterInstallationDateFieldNumber = 17;
+ private string filterInstallationDate_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string FilterInstallationDate {
+ get { return filterInstallationDate_; }
+ set {
+ filterInstallationDate_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// <summary>Field number for the "ProductionDate" field.</summary>
+ public const int ProductionDateFieldNumber = 18;
+ private string productionDate_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string ProductionDate {
+ get { return productionDate_; }
+ set {
+ productionDate_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// <summary>Field number for the "CheckSum" field.</summary>
+ public const int CheckSumFieldNumber = 19;
+ private uint checkSum_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint CheckSum {
+ get { return checkSum_; }
+ set {
+ checkSum_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as StubWhsEEpromData);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(StubWhsEEpromData other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Header != other.Header) return false;
+ if (TableLength != other.TableLength) return false;
+ if (Tableversion != other.Tableversion) return false;
+ if (WhsPN != other.WhsPN) return false;
+ if (PCBSN != other.PCBSN) return false;
+ if (PCBPartNumber != other.PCBPartNumber) return false;
+ if (WhsSN != other.WhsSN) return false;
+ if (Orifice1Flow != other.Orifice1Flow) return false;
+ if (Orifice1Slope != other.Orifice1Slope) return false;
+ if (Orifice2Flow != other.Orifice2Flow) return false;
+ if (Orifice2Slope != other.Orifice2Slope) return false;
+ if (Orifice3Flow != other.Orifice3Flow) return false;
+ if (Orifice3Slope != other.Orifice3Slope) return false;
+ if (OrificeValveFlow != other.OrificeValveFlow) return false;
+ if (OrificeValveSlope != other.OrificeValveSlope) return false;
+ if (VOCInstallationDate != other.VOCInstallationDate) return false;
+ if (FilterInstallationDate != other.FilterInstallationDate) return false;
+ if (ProductionDate != other.ProductionDate) return false;
+ if (CheckSum != other.CheckSum) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Header != 0) hash ^= Header.GetHashCode();
+ if (TableLength != 0) hash ^= TableLength.GetHashCode();
+ if (Tableversion != 0) hash ^= Tableversion.GetHashCode();
+ if (WhsPN.Length != 0) hash ^= WhsPN.GetHashCode();
+ if (PCBSN.Length != 0) hash ^= PCBSN.GetHashCode();
+ if (PCBPartNumber.Length != 0) hash ^= PCBPartNumber.GetHashCode();
+ if (WhsSN.Length != 0) hash ^= WhsSN.GetHashCode();
+ if (Orifice1Flow != 0D) hash ^= Orifice1Flow.GetHashCode();
+ if (Orifice1Slope != 0D) hash ^= Orifice1Slope.GetHashCode();
+ if (Orifice2Flow != 0D) hash ^= Orifice2Flow.GetHashCode();
+ if (Orifice2Slope != 0D) hash ^= Orifice2Slope.GetHashCode();
+ if (Orifice3Flow != 0D) hash ^= Orifice3Flow.GetHashCode();
+ if (Orifice3Slope != 0D) hash ^= Orifice3Slope.GetHashCode();
+ if (OrificeValveFlow != 0D) hash ^= OrificeValveFlow.GetHashCode();
+ if (OrificeValveSlope != 0D) hash ^= OrificeValveSlope.GetHashCode();
+ if (VOCInstallationDate.Length != 0) hash ^= VOCInstallationDate.GetHashCode();
+ if (FilterInstallationDate.Length != 0) hash ^= FilterInstallationDate.GetHashCode();
+ if (ProductionDate.Length != 0) hash ^= ProductionDate.GetHashCode();
+ if (CheckSum != 0) hash ^= CheckSum.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 (Header != 0) {
+ output.WriteRawTag(8);
+ output.WriteUInt32(Header);
+ }
+ if (TableLength != 0) {
+ output.WriteRawTag(16);
+ output.WriteUInt32(TableLength);
+ }
+ if (Tableversion != 0) {
+ output.WriteRawTag(24);
+ output.WriteUInt32(Tableversion);
+ }
+ if (WhsPN.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(WhsPN);
+ }
+ if (PCBSN.Length != 0) {
+ output.WriteRawTag(42);
+ output.WriteString(PCBSN);
+ }
+ if (PCBPartNumber.Length != 0) {
+ output.WriteRawTag(50);
+ output.WriteString(PCBPartNumber);
+ }
+ if (WhsSN.Length != 0) {
+ output.WriteRawTag(58);
+ output.WriteString(WhsSN);
+ }
+ if (Orifice1Flow != 0D) {
+ output.WriteRawTag(65);
+ output.WriteDouble(Orifice1Flow);
+ }
+ if (Orifice1Slope != 0D) {
+ output.WriteRawTag(73);
+ output.WriteDouble(Orifice1Slope);
+ }
+ if (Orifice2Flow != 0D) {
+ output.WriteRawTag(81);
+ output.WriteDouble(Orifice2Flow);
+ }
+ if (Orifice2Slope != 0D) {
+ output.WriteRawTag(89);
+ output.WriteDouble(Orifice2Slope);
+ }
+ if (Orifice3Flow != 0D) {
+ output.WriteRawTag(97);
+ output.WriteDouble(Orifice3Flow);
+ }
+ if (Orifice3Slope != 0D) {
+ output.WriteRawTag(105);
+ output.WriteDouble(Orifice3Slope);
+ }
+ if (OrificeValveFlow != 0D) {
+ output.WriteRawTag(113);
+ output.WriteDouble(OrificeValveFlow);
+ }
+ if (OrificeValveSlope != 0D) {
+ output.WriteRawTag(121);
+ output.WriteDouble(OrificeValveSlope);
+ }
+ if (VOCInstallationDate.Length != 0) {
+ output.WriteRawTag(130, 1);
+ output.WriteString(VOCInstallationDate);
+ }
+ if (FilterInstallationDate.Length != 0) {
+ output.WriteRawTag(138, 1);
+ output.WriteString(FilterInstallationDate);
+ }
+ if (ProductionDate.Length != 0) {
+ output.WriteRawTag(146, 1);
+ output.WriteString(ProductionDate);
+ }
+ if (CheckSum != 0) {
+ output.WriteRawTag(152, 1);
+ output.WriteUInt32(CheckSum);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (Header != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Header);
+ }
+ if (TableLength != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TableLength);
+ }
+ if (Tableversion != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tableversion);
+ }
+ if (WhsPN.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(WhsPN);
+ }
+ if (PCBSN.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(PCBSN);
+ }
+ if (PCBPartNumber.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(PCBPartNumber);
+ }
+ if (WhsSN.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(WhsSN);
+ }
+ if (Orifice1Flow != 0D) {
+ size += 1 + 8;
+ }
+ if (Orifice1Slope != 0D) {
+ size += 1 + 8;
+ }
+ if (Orifice2Flow != 0D) {
+ size += 1 + 8;
+ }
+ if (Orifice2Slope != 0D) {
+ size += 1 + 8;
+ }
+ if (Orifice3Flow != 0D) {
+ size += 1 + 8;
+ }
+ if (Orifice3Slope != 0D) {
+ size += 1 + 8;
+ }
+ if (OrificeValveFlow != 0D) {
+ size += 1 + 8;
+ }
+ if (OrificeValveSlope != 0D) {
+ size += 1 + 8;
+ }
+ if (VOCInstallationDate.Length != 0) {
+ size += 2 + pb::CodedOutputStream.ComputeStringSize(VOCInstallationDate);
+ }
+ if (FilterInstallationDate.Length != 0) {
+ size += 2 + pb::CodedOutputStream.ComputeStringSize(FilterInstallationDate);
+ }
+ if (ProductionDate.Length != 0) {
+ size += 2 + pb::CodedOutputStream.ComputeStringSize(ProductionDate);
+ }
+ if (CheckSum != 0) {
+ size += 2 + pb::CodedOutputStream.ComputeUInt32Size(CheckSum);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(StubWhsEEpromData other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Header != 0) {
+ Header = other.Header;
+ }
+ if (other.TableLength != 0) {
+ TableLength = other.TableLength;
+ }
+ if (other.Tableversion != 0) {
+ Tableversion = other.Tableversion;
+ }
+ if (other.WhsPN.Length != 0) {
+ WhsPN = other.WhsPN;
+ }
+ if (other.PCBSN.Length != 0) {
+ PCBSN = other.PCBSN;
+ }
+ if (other.PCBPartNumber.Length != 0) {
+ PCBPartNumber = other.PCBPartNumber;
+ }
+ if (other.WhsSN.Length != 0) {
+ WhsSN = other.WhsSN;
+ }
+ if (other.Orifice1Flow != 0D) {
+ Orifice1Flow = other.Orifice1Flow;
+ }
+ if (other.Orifice1Slope != 0D) {
+ Orifice1Slope = other.Orifice1Slope;
+ }
+ if (other.Orifice2Flow != 0D) {
+ Orifice2Flow = other.Orifice2Flow;
+ }
+ if (other.Orifice2Slope != 0D) {
+ Orifice2Slope = other.Orifice2Slope;
+ }
+ if (other.Orifice3Flow != 0D) {
+ Orifice3Flow = other.Orifice3Flow;
+ }
+ if (other.Orifice3Slope != 0D) {
+ Orifice3Slope = other.Orifice3Slope;
+ }
+ if (other.OrificeValveFlow != 0D) {
+ OrificeValveFlow = other.OrificeValveFlow;
+ }
+ if (other.OrificeValveSlope != 0D) {
+ OrificeValveSlope = other.OrificeValveSlope;
+ }
+ if (other.VOCInstallationDate.Length != 0) {
+ VOCInstallationDate = other.VOCInstallationDate;
+ }
+ if (other.FilterInstallationDate.Length != 0) {
+ FilterInstallationDate = other.FilterInstallationDate;
+ }
+ if (other.ProductionDate.Length != 0) {
+ ProductionDate = other.ProductionDate;
+ }
+ if (other.CheckSum != 0) {
+ CheckSum = other.CheckSum;
+ }
+ }
+
+ [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: {
+ Header = input.ReadUInt32();
+ break;
+ }
+ case 16: {
+ TableLength = input.ReadUInt32();
+ break;
+ }
+ case 24: {
+ Tableversion = input.ReadUInt32();
+ break;
+ }
+ case 34: {
+ WhsPN = input.ReadString();
+ break;
+ }
+ case 42: {
+ PCBSN = input.ReadString();
+ break;
+ }
+ case 50: {
+ PCBPartNumber = input.ReadString();
+ break;
+ }
+ case 58: {
+ WhsSN = input.ReadString();
+ break;
+ }
+ case 65: {
+ Orifice1Flow = input.ReadDouble();
+ break;
+ }
+ case 73: {
+ Orifice1Slope = input.ReadDouble();
+ break;
+ }
+ case 81: {
+ Orifice2Flow = input.ReadDouble();
+ break;
+ }
+ case 89: {
+ Orifice2Slope = input.ReadDouble();
+ break;
+ }
+ case 97: {
+ Orifice3Flow = input.ReadDouble();
+ break;
+ }
+ case 105: {
+ Orifice3Slope = input.ReadDouble();
+ break;
+ }
+ case 113: {
+ OrificeValveFlow = input.ReadDouble();
+ break;
+ }
+ case 121: {
+ OrificeValveSlope = input.ReadDouble();
+ break;
+ }
+ case 130: {
+ VOCInstallationDate = input.ReadString();
+ break;
+ }
+ case 138: {
+ FilterInstallationDate = input.ReadString();
+ break;
+ }
+ case 146: {
+ ProductionDate = input.ReadString();
+ break;
+ }
+ case 152: {
+ CheckSum = input.ReadUInt32();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ #endregion
+
+}
+
+#endregion Designer generated code
diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubWhsEEpromRequest.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubWhsEEpromRequest.cs
new file mode 100644
index 000000000..54c735b3f
--- /dev/null
+++ b/Software/Visual_Studio/Tango.PMR/Stubs/StubWhsEEpromRequest.cs
@@ -0,0 +1,195 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: StubWhsEEpromRequest.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 StubWhsEEpromRequest.proto</summary>
+ public static partial class StubWhsEEpromRequestReflection {
+
+ #region Descriptor
+ /// <summary>File descriptor for StubWhsEEpromRequest.proto</summary>
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static StubWhsEEpromRequestReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "ChpTdHViV2hzRUVwcm9tUmVxdWVzdC5wcm90bxIPVGFuZ28uUE1SLlN0dWJz",
+ "GhdTdHViV2hzRUVwcm9tRGF0YS5wcm90byJiChRTdHViV2hzRUVwcm9tUmVx",
+ "dWVzdBITCgtCdXJuUmVxdWVzdBgBIAEoCBI1CglXaHNFRXByb20YAiABKAsy",
+ "Ii5UYW5nby5QTVIuU3R1YnMuU3R1Yldoc0VFcHJvbURhdGFCGwoZY29tLnR3",
+ "aW5lLnRhbmdvLnBtci5zdHVic2IGcHJvdG8z"));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { global::Tango.PMR.Stubs.StubWhsEEpromDataReflection.Descriptor, },
+ new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
+ new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubWhsEEpromRequest), global::Tango.PMR.Stubs.StubWhsEEpromRequest.Parser, new[]{ "BurnRequest", "WhsEEprom" }, null, null, null)
+ }));
+ }
+ #endregion
+
+ }
+ #region Messages
+ public sealed partial class StubWhsEEpromRequest : pb::IMessage<StubWhsEEpromRequest> {
+ private static readonly pb::MessageParser<StubWhsEEpromRequest> _parser = new pb::MessageParser<StubWhsEEpromRequest>(() => new StubWhsEEpromRequest());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser<StubWhsEEpromRequest> Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Tango.PMR.Stubs.StubWhsEEpromRequestReflection.Descriptor.MessageTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubWhsEEpromRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubWhsEEpromRequest(StubWhsEEpromRequest other) : this() {
+ burnRequest_ = other.burnRequest_;
+ WhsEEprom = other.whsEEprom_ != null ? other.WhsEEprom.Clone() : null;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubWhsEEpromRequest Clone() {
+ return new StubWhsEEpromRequest(this);
+ }
+
+ /// <summary>Field number for the "BurnRequest" field.</summary>
+ public const int BurnRequestFieldNumber = 1;
+ private bool burnRequest_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool BurnRequest {
+ get { return burnRequest_; }
+ set {
+ burnRequest_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "WhsEEprom" field.</summary>
+ public const int WhsEEpromFieldNumber = 2;
+ private global::Tango.PMR.Stubs.StubWhsEEpromData whsEEprom_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::Tango.PMR.Stubs.StubWhsEEpromData WhsEEprom {
+ get { return whsEEprom_; }
+ set {
+ whsEEprom_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as StubWhsEEpromRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(StubWhsEEpromRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (BurnRequest != other.BurnRequest) return false;
+ if (!object.Equals(WhsEEprom, other.WhsEEprom)) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (BurnRequest != false) hash ^= BurnRequest.GetHashCode();
+ if (whsEEprom_ != null) hash ^= WhsEEprom.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 (BurnRequest != false) {
+ output.WriteRawTag(8);
+ output.WriteBool(BurnRequest);
+ }
+ if (whsEEprom_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(WhsEEprom);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (BurnRequest != false) {
+ size += 1 + 1;
+ }
+ if (whsEEprom_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(WhsEEprom);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(StubWhsEEpromRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.BurnRequest != false) {
+ BurnRequest = other.BurnRequest;
+ }
+ if (other.whsEEprom_ != null) {
+ if (whsEEprom_ == null) {
+ whsEEprom_ = new global::Tango.PMR.Stubs.StubWhsEEpromData();
+ }
+ WhsEEprom.MergeFrom(other.WhsEEprom);
+ }
+ }
+
+ [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: {
+ BurnRequest = input.ReadBool();
+ break;
+ }
+ case 18: {
+ if (whsEEprom_ == null) {
+ whsEEprom_ = new global::Tango.PMR.Stubs.StubWhsEEpromData();
+ }
+ input.ReadMessage(whsEEprom_);
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ #endregion
+
+}
+
+#endregion Designer generated code
diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubWhsEEpromResponse.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubWhsEEpromResponse.cs
new file mode 100644
index 000000000..6e67fc661
--- /dev/null
+++ b/Software/Visual_Studio/Tango.PMR/Stubs/StubWhsEEpromResponse.cs
@@ -0,0 +1,167 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: StubWhsEEpromResponse.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 StubWhsEEpromResponse.proto</summary>
+ public static partial class StubWhsEEpromResponseReflection {
+
+ #region Descriptor
+ /// <summary>File descriptor for StubWhsEEpromResponse.proto</summary>
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static StubWhsEEpromResponseReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "ChtTdHViV2hzRUVwcm9tUmVzcG9uc2UucHJvdG8SD1RhbmdvLlBNUi5TdHVi",
+ "cxoXU3R1Yldoc0VFcHJvbURhdGEucHJvdG8iTgoVU3R1Yldoc0VFcHJvbVJl",
+ "c3BvbnNlEjUKCVdoc0VFcHJvbRgBIAEoCzIiLlRhbmdvLlBNUi5TdHVicy5T",
+ "dHViV2hzRUVwcm9tRGF0YUIbChljb20udHdpbmUudGFuZ28ucG1yLnN0dWJz",
+ "YgZwcm90bzM="));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { global::Tango.PMR.Stubs.StubWhsEEpromDataReflection.Descriptor, },
+ new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
+ new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubWhsEEpromResponse), global::Tango.PMR.Stubs.StubWhsEEpromResponse.Parser, new[]{ "WhsEEprom" }, null, null, null)
+ }));
+ }
+ #endregion
+
+ }
+ #region Messages
+ public sealed partial class StubWhsEEpromResponse : pb::IMessage<StubWhsEEpromResponse> {
+ private static readonly pb::MessageParser<StubWhsEEpromResponse> _parser = new pb::MessageParser<StubWhsEEpromResponse>(() => new StubWhsEEpromResponse());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser<StubWhsEEpromResponse> Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Tango.PMR.Stubs.StubWhsEEpromResponseReflection.Descriptor.MessageTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubWhsEEpromResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubWhsEEpromResponse(StubWhsEEpromResponse other) : this() {
+ WhsEEprom = other.whsEEprom_ != null ? other.WhsEEprom.Clone() : null;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubWhsEEpromResponse Clone() {
+ return new StubWhsEEpromResponse(this);
+ }
+
+ /// <summary>Field number for the "WhsEEprom" field.</summary>
+ public const int WhsEEpromFieldNumber = 1;
+ private global::Tango.PMR.Stubs.StubWhsEEpromData whsEEprom_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::Tango.PMR.Stubs.StubWhsEEpromData WhsEEprom {
+ get { return whsEEprom_; }
+ set {
+ whsEEprom_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as StubWhsEEpromResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(StubWhsEEpromResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(WhsEEprom, other.WhsEEprom)) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (whsEEprom_ != null) hash ^= WhsEEprom.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 (whsEEprom_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(WhsEEprom);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (whsEEprom_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(WhsEEprom);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(StubWhsEEpromResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.whsEEprom_ != null) {
+ if (whsEEprom_ == null) {
+ whsEEprom_ = new global::Tango.PMR.Stubs.StubWhsEEpromData();
+ }
+ WhsEEprom.MergeFrom(other.WhsEEprom);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ case 10: {
+ if (whsEEprom_ == null) {
+ whsEEprom_ = new global::Tango.PMR.Stubs.StubWhsEEpromData();
+ }
+ input.ReadMessage(whsEEprom_);
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ #endregion
+
+}
+
+#endregion Designer generated code