aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.PMR/Diagnostics
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/Diagnostics
parent98c2921a8cf655da3962edafe91bbccc89632e6d (diff)
downloadTango-6999f84d21c1439d87d396fd7e7380cead4d52a2.tar.gz
Tango-6999f84d21c1439d87d396fd7e7380cead4d52a2.zip
Users & Roles !!
Fixed Shlomo PMR.
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/Diagnostics')
-rw-r--r--Software/Visual_Studio/Tango.PMR/Diagnostics/DispenserEEPROM.cs1043
-rw-r--r--Software/Visual_Studio/Tango.PMR/Diagnostics/DispenserEEpromRequest.cs224
-rw-r--r--Software/Visual_Studio/Tango.PMR/Diagnostics/DispenserEEpromResponse.cs196
3 files changed, 0 insertions, 1463 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/Diagnostics/DispenserEEPROM.cs b/Software/Visual_Studio/Tango.PMR/Diagnostics/DispenserEEPROM.cs
deleted file mode 100644
index 5b8b0e9ee..000000000
--- a/Software/Visual_Studio/Tango.PMR/Diagnostics/DispenserEEPROM.cs
+++ /dev/null
@@ -1,1043 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: DispenserEEprom.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.Diagnostics {
-
- /// <summary>Holder for reflection information generated from DispenserEEprom.proto</summary>
- public static partial class DispenserEEpromReflection {
-
- #region Descriptor
- /// <summary>File descriptor for DispenserEEprom.proto</summary>
- public static pbr::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbr::FileDescriptor descriptor;
-
- static DispenserEEpromReflection() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- string.Concat(
- "ChVEaXNwZW5zZXJFRXByb20ucHJvdG8SFVRhbmdvLlBNUi5EaWFnbm9zdGlj",
- "cyLXBQoPRGlzcGVuc2VyRUVwcm9tEg4KBkhlYWRlchgBIAEoDRITCgtUYWJs",
- "ZUxlbmd0aBgCIAEoDRIUCgxUYWJsZXZlcnNpb24YAyABKA0SFAoMRGlzcGVu",
- "c2VyUF9OGAQgASgJEg4KBlBDQlNfThgFIAEoCRIVCg1QQ0JQYXJ0TnVtYmVy",
- "GAYgASgJEhQKDERpc3BlbnNlclNfThgHIAEoCRIXCg9NaW5pbWFsUHJlc3N1",
- "cmUYCCABKA0SFwoPTWF4aW1hbFByZXNzdXJlGAkgASgNEhEKCU1pbmltYWxN",
- "VhgKIAEoDRIRCglNYXhpbWFsTVYYCyABKA0SEwoLVG90YWxDeWNsZXMYDCAB",
- "KA0SEgoKQnViYmxlU2l6ZRgNIAEoDRIcChRBVkdfTmxfc3RlcFZhbHVlXzFf",
- "NBgOIAEoDRIcChRBVkdfTmxfc3RlcFZhbHVlXzJfNBgPIAEoDRIcChRBVkdf",
- "Tmxfc3RlcFZhbHVlXzNfNBgQIAEoDRIcChRBVkdfTmxfc3RlcFZhbHVlXzRf",
- "NBgRIAEoDRISCgpTV19SZXNlcnZlGBIgASgNEhcKD1NwYXJlMV9wcmVzc3Vy",
- "ZRgTIAEoBRIXCg9TcGFyZTJfcHJlc3N1cmUYFCABKAUSGwoTTW90b3JQdWxz",
- "ZXNQZXJDeWNsZRgVIAEoDRINCgVDb2xvchgWIAEoDRIVCg1QcmVzc3VyZVNs",
- "b3BlGBcgASgNEhYKDlByb2R1Y3Rpb25EYXRlGBggASgJEhMKC0FUU2xvY2F0",
- "aW9uGBkgASgNEg4KBlNwYXJlMRgaIAEoDRIOCgZTcGFyZTIYGyABKA0SEgoK",
- "QVRTQ2hhbm5lbBgcIAEoDRIRCglVbml0RW1wdHkYHSABKAgSFwoPRHJ5UnVu",
- "UGFzc19GYWlsGB4gASgIEhUKDUZsb3dQYXNzX0ZhaWwYHyABKAgSEAoIQ2hl",
- "Y2tTdW0YICABKAhCIQofY29tLnR3aW5lLnRhbmdvLnBtci5kaWFnbm9zdGlj",
- "c2IGcHJvdG8z"));
- descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { },
- new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Diagnostics.DispenserEEprom), global::Tango.PMR.Diagnostics.DispenserEEprom.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 DispenserEEprom : pb::IMessage<DispenserEEprom> {
- private static readonly pb::MessageParser<DispenserEEprom> _parser = new pb::MessageParser<DispenserEEprom>(() => new DispenserEEprom());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser<DispenserEEprom> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Tango.PMR.Diagnostics.DispenserEEpromReflection.Descriptor.MessageTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public DispenserEEprom() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public DispenserEEprom(DispenserEEprom 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 DispenserEEprom Clone() {
- return new DispenserEEprom(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 bool checkSum_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool CheckSum {
- get { return checkSum_; }
- set {
- checkSum_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as DispenserEEprom);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(DispenserEEprom 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 != false) 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 != false) {
- output.WriteRawTag(128, 2);
- output.WriteBool(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 != false) {
- size += 2 + 1;
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(DispenserEEprom 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 != false) {
- 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.ReadBool();
- break;
- }
- }
- }
- }
-
- }
-
- #endregion
-
-}
-
-#endregion Designer generated code
diff --git a/Software/Visual_Studio/Tango.PMR/Diagnostics/DispenserEEpromRequest.cs b/Software/Visual_Studio/Tango.PMR/Diagnostics/DispenserEEpromRequest.cs
deleted file mode 100644
index a8687ca25..000000000
--- a/Software/Visual_Studio/Tango.PMR/Diagnostics/DispenserEEpromRequest.cs
+++ /dev/null
@@ -1,224 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: DispenserEEpromRequest.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.Diagnostics {
-
- /// <summary>Holder for reflection information generated from DispenserEEpromRequest.proto</summary>
- public static partial class DispenserEEpromRequestReflection {
-
- #region Descriptor
- /// <summary>File descriptor for DispenserEEpromRequest.proto</summary>
- public static pbr::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbr::FileDescriptor descriptor;
-
- static DispenserEEpromRequestReflection() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- string.Concat(
- "ChxEaXNwZW5zZXJFRXByb21SZXF1ZXN0LnByb3RvEhVUYW5nby5QTVIuRGlh",
- "Z25vc3RpY3MaFURpc3BlbnNlckVFcHJvbS5wcm90byKDAQoWRGlzcGVuc2Vy",
- "RUVwcm9tUmVxdWVzdBITCgtEaXNwZW5zZXJJZBgBIAEoDRITCgtCdXJuUmVx",
- "dWVzdBgCIAEoCBI/Cg9EaXNwZW5zZXJFRXByb20YAyABKAsyJi5UYW5nby5Q",
- "TVIuRGlhZ25vc3RpY3MuRGlzcGVuc2VyRUVwcm9tQiEKH2NvbS50d2luZS50",
- "YW5nby5wbXIuZGlhZ25vc3RpY3NiBnByb3RvMw=="));
- descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { global::Tango.PMR.Diagnostics.DispenserEEpromReflection.Descriptor, },
- new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Diagnostics.DispenserEEpromRequest), global::Tango.PMR.Diagnostics.DispenserEEpromRequest.Parser, new[]{ "DispenserId", "BurnRequest", "DispenserEEprom" }, null, null, null)
- }));
- }
- #endregion
-
- }
- #region Messages
- public sealed partial class DispenserEEpromRequest : pb::IMessage<DispenserEEpromRequest> {
- private static readonly pb::MessageParser<DispenserEEpromRequest> _parser = new pb::MessageParser<DispenserEEpromRequest>(() => new DispenserEEpromRequest());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser<DispenserEEpromRequest> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Tango.PMR.Diagnostics.DispenserEEpromRequestReflection.Descriptor.MessageTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public DispenserEEpromRequest() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public DispenserEEpromRequest(DispenserEEpromRequest other) : this() {
- dispenserId_ = other.dispenserId_;
- burnRequest_ = other.burnRequest_;
- DispenserEEprom = other.dispenserEEprom_ != null ? other.DispenserEEprom.Clone() : null;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public DispenserEEpromRequest Clone() {
- return new DispenserEEpromRequest(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.Diagnostics.DispenserEEprom dispenserEEprom_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::Tango.PMR.Diagnostics.DispenserEEprom DispenserEEprom {
- get { return dispenserEEprom_; }
- set {
- dispenserEEprom_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as DispenserEEpromRequest);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(DispenserEEpromRequest 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(DispenserEEpromRequest 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.Diagnostics.DispenserEEprom();
- }
- 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.Diagnostics.DispenserEEprom();
- }
- input.ReadMessage(dispenserEEprom_);
- break;
- }
- }
- }
- }
-
- }
-
- #endregion
-
-}
-
-#endregion Designer generated code
diff --git a/Software/Visual_Studio/Tango.PMR/Diagnostics/DispenserEEpromResponse.cs b/Software/Visual_Studio/Tango.PMR/Diagnostics/DispenserEEpromResponse.cs
deleted file mode 100644
index 32e7aec12..000000000
--- a/Software/Visual_Studio/Tango.PMR/Diagnostics/DispenserEEpromResponse.cs
+++ /dev/null
@@ -1,196 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: DispenserEEpromResponse.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.Diagnostics {
-
- /// <summary>Holder for reflection information generated from DispenserEEpromResponse.proto</summary>
- public static partial class DispenserEEpromResponseReflection {
-
- #region Descriptor
- /// <summary>File descriptor for DispenserEEpromResponse.proto</summary>
- public static pbr::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbr::FileDescriptor descriptor;
-
- static DispenserEEpromResponseReflection() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- string.Concat(
- "Ch1EaXNwZW5zZXJFRXByb21SZXNwb25zZS5wcm90bxIVVGFuZ28uUE1SLkRp",
- "YWdub3N0aWNzGhVEaXNwZW5zZXJFRXByb20ucHJvdG8ibwoXRGlzcGVuc2Vy",
- "RUVwcm9tUmVzcG9uc2USEwoLRGlzcGVuc2VySWQYASABKA0SPwoPRGlzcGVu",
- "c2VyRUVwcm9tGAIgASgLMiYuVGFuZ28uUE1SLkRpYWdub3N0aWNzLkRpc3Bl",
- "bnNlckVFcHJvbUIhCh9jb20udHdpbmUudGFuZ28ucG1yLmRpYWdub3N0aWNz",
- "YgZwcm90bzM="));
- descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { global::Tango.PMR.Diagnostics.DispenserEEpromReflection.Descriptor, },
- new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Diagnostics.DispenserEEpromResponse), global::Tango.PMR.Diagnostics.DispenserEEpromResponse.Parser, new[]{ "DispenserId", "DispenserEEprom" }, null, null, null)
- }));
- }
- #endregion
-
- }
- #region Messages
- public sealed partial class DispenserEEpromResponse : pb::IMessage<DispenserEEpromResponse> {
- private static readonly pb::MessageParser<DispenserEEpromResponse> _parser = new pb::MessageParser<DispenserEEpromResponse>(() => new DispenserEEpromResponse());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser<DispenserEEpromResponse> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Tango.PMR.Diagnostics.DispenserEEpromResponseReflection.Descriptor.MessageTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public DispenserEEpromResponse() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public DispenserEEpromResponse(DispenserEEpromResponse other) : this() {
- dispenserId_ = other.dispenserId_;
- DispenserEEprom = other.dispenserEEprom_ != null ? other.DispenserEEprom.Clone() : null;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public DispenserEEpromResponse Clone() {
- return new DispenserEEpromResponse(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.Diagnostics.DispenserEEprom dispenserEEprom_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::Tango.PMR.Diagnostics.DispenserEEprom DispenserEEprom {
- get { return dispenserEEprom_; }
- set {
- dispenserEEprom_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as DispenserEEpromResponse);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(DispenserEEpromResponse 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(DispenserEEpromResponse other) {
- if (other == null) {
- return;
- }
- if (other.DispenserId != 0) {
- DispenserId = other.DispenserId;
- }
- if (other.dispenserEEprom_ != null) {
- if (dispenserEEprom_ == null) {
- dispenserEEprom_ = new global::Tango.PMR.Diagnostics.DispenserEEprom();
- }
- 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.Diagnostics.DispenserEEprom();
- }
- input.ReadMessage(dispenserEEprom_);
- break;
- }
- }
- }
- }
-
- }
-
- #endregion
-
-}
-
-#endregion Designer generated code