aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.PMR
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2020-04-22 07:41:04 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2020-04-22 07:41:04 +0300
commit34d7201f46c07a6311fcaa9df329ec22c5ebdb49 (patch)
tree798002db029199f2b5b4026296de74035286c4bb /Software/Visual_Studio/Tango.PMR
parentab068d040897420b964efb9f1ce21ce010f1ef4f (diff)
downloadTango-34d7201f46c07a6311fcaa9df329ec22c5ebdb49.tar.gz
Tango-34d7201f46c07a6311fcaa9df329ec22c5ebdb49.zip
PPC: 1.1.12
Firmware: 1.4.6.20 MS: 4.1.8
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR')
-rw-r--r--Software/Visual_Studio/Tango.PMR/Common/MessageType.cs107
-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
-rw-r--r--Software/Visual_Studio/Tango.PMR/Tango.PMR.csproj5
5 files changed, 1522 insertions, 53 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/Common/MessageType.cs b/Software/Visual_Studio/Tango.PMR/Common/MessageType.cs
index c84880d31..d246a5eb7 100644
--- a/Software/Visual_Studio/Tango.PMR/Common/MessageType.cs
+++ b/Software/Visual_Studio/Tango.PMR/Common/MessageType.cs
@@ -22,7 +22,7 @@ namespace Tango.PMR.Common {
static MessageTypeReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
- "ChFNZXNzYWdlVHlwZS5wcm90bxIQVGFuZ28uUE1SLkNvbW1vbiqYOAoLTWVz",
+ "ChFNZXNzYWdlVHlwZS5wcm90bxIQVGFuZ28uUE1SLkNvbW1vbirTOAoLTWVz",
"c2FnZVR5cGUSCAoETm9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dGlvbkRhdGFSZXF1ZXN0EMQ+EiMKHk1h",
+ "Y2hpbmVDYWxpYnJhdGlvbkRhdGFSZXNwb25zZRDFPhIkCh9TdGFydE1hY2hp",
+ "bmVTdGF0dXNVcGRhdGVSZXF1ZXN0EKhGEiUKIFN0YXJ0TWFjaGluZVN0YXR1",
+ "c1VwZGF0ZVJlc3BvbnNlEKlGEiMKHlN0b3BNYWNoaW5lU3RhdHVzVXBkYXRl",
+ "UmVxdWVzdBCqRhIkCh9TdG9wTWFjaGluZVN0YXR1c1VwZGF0ZVJlc3BvbnNl",
+ "EKtGEhoKFVN0YXJ0UG93ZXJEb3duUmVxdWVzdBCQThIbChZTdGFydFBvd2Vy",
+ "RG93blJlc3BvbnNlEJFOEhoKFUFib3J0UG93ZXJEb3duUmVxdWVzdBCSThIb",
+ "ChZBYm9ydFBvd2VyRG93blJlc3BvbnNlEJNOEh4KGVN0YXJ0VGhyZWFkTG9h",
+ "ZGluZ1JlcXVlc3QQ+FUSHwoaU3RhcnRUaHJlYWRMb2FkaW5nUmVzcG9uc2UQ",
+ "+VUSIQocQ29udGludWVUaHJlYWRMb2FkaW5nUmVxdWVzdBD6VRIiCh1Db250",
+ "aW51ZVRocmVhZExvYWRpbmdSZXNwb25zZRD7VRIdChhTdG9wVGhyZWFkTG9h",
+ "ZGluZ1JlcXVlc3QQ/FUSHgoZU3RvcFRocmVhZExvYWRpbmdSZXNwb25zZRD9",
+ "VUIcChpjb20udHdpbmUudGFuZ28ucG1yLmNvbW1vbmIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Tango.PMR.Common.MessageType), }, null));
@@ -380,6 +381,8 @@ namespace Tango.PMR.Common {
[pbr::OriginalName("StopCartridgesUpdateResponse")] StopCartridgesUpdateResponse = 2043,
[pbr::OriginalName("CartridgeValidationRequest")] CartridgeValidationRequest = 2044,
[pbr::OriginalName("CartridgeValidationResponse")] CartridgeValidationResponse = 2045,
+ [pbr::OriginalName("DispenserEEpromRequest")] DispenserEepromRequest = 2046,
+ [pbr::OriginalName("DispenserEEpromResponse")] DispenserEepromResponse = 2047,
/// <summary>
///Printing
/// </summary>
diff --git a/Software/Visual_Studio/Tango.PMR/Diagnostics/DispenserEEPROM.cs b/Software/Visual_Studio/Tango.PMR/Diagnostics/DispenserEEPROM.cs
new file mode 100644
index 000000000..5b8b0e9ee
--- /dev/null
+++ b/Software/Visual_Studio/Tango.PMR/Diagnostics/DispenserEEPROM.cs
@@ -0,0 +1,1043 @@
+// 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
new file mode 100644
index 000000000..a8687ca25
--- /dev/null
+++ b/Software/Visual_Studio/Tango.PMR/Diagnostics/DispenserEEpromRequest.cs
@@ -0,0 +1,224 @@
+// 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
new file mode 100644
index 000000000..32e7aec12
--- /dev/null
+++ b/Software/Visual_Studio/Tango.PMR/Diagnostics/DispenserEEpromResponse.cs
@@ -0,0 +1,196 @@
+// 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
diff --git a/Software/Visual_Studio/Tango.PMR/Tango.PMR.csproj b/Software/Visual_Studio/Tango.PMR/Tango.PMR.csproj
index 8c84db721..bc37502ec 100644
--- a/Software/Visual_Studio/Tango.PMR/Tango.PMR.csproj
+++ b/Software/Visual_Studio/Tango.PMR/Tango.PMR.csproj
@@ -94,6 +94,9 @@
<Compile Include="Diagnostics\DispenserAbortHomingResponse.cs" />
<Compile Include="Diagnostics\DispenserAbortJoggingRequest.cs" />
<Compile Include="Diagnostics\DispenserAbortJoggingResponse.cs" />
+ <Compile Include="Diagnostics\DispenserEEPROM.cs" />
+ <Compile Include="Diagnostics\DispenserEEpromRequest.cs" />
+ <Compile Include="Diagnostics\DispenserEEpromResponse.cs" />
<Compile Include="Diagnostics\DispenserHomingRequest.cs" />
<Compile Include="Diagnostics\DispenserHomingResponse.cs" />
<Compile Include="Diagnostics\DispenserJoggingRequest.cs" />
@@ -331,7 +334,7 @@
</PropertyGroup>
<ProjectExtensions>
<VisualStudio>
- <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" />
+ <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" />
</VisualStudio>
</ProjectExtensions>
</Project> \ No newline at end of file