diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/Stubs')
20 files changed, 410 insertions, 7834 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/ProcedureRequest.cs b/Software/Visual_Studio/Tango.PMR/Stubs/ProcedureRequest.cs deleted file mode 100644 index 0070fbe33..000000000 --- a/Software/Visual_Studio/Tango.PMR/Stubs/ProcedureRequest.cs +++ /dev/null @@ -1,237 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ProcedureRequest.proto -#pragma warning disable 1591, 0612, 3021 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -namespace Tango.PMR.Stubs { - - /// <summary>Holder for reflection information generated from ProcedureRequest.proto</summary> - public static partial class ProcedureRequestReflection { - - #region Descriptor - /// <summary>File descriptor for ProcedureRequest.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ProcedureRequestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZQcm9jZWR1cmVSZXF1ZXN0LnByb3RvEg9UYW5nby5QTVIuU3R1YnMiUgoQ", - "UHJvY2VkdXJlUmVxdWVzdBIMCgRUeXBlGAEgASgFEg8KB1RpbWVvdXQYAiAB", - "KAUSEAoIVGVzdE5hbWUYAyABKAkSDQoFUGFyYW0YBCADKAJCGwoZY29tLnR3", - "aW5lLnRhbmdvLnBtci5zdHVic2IGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.ProcedureRequest), global::Tango.PMR.Stubs.ProcedureRequest.Parser, new[]{ "Type", "Timeout", "TestName", "Param" }, null, null, null) - })); - } - #endregion - - } - #region Messages - public sealed partial class ProcedureRequest : pb::IMessage<ProcedureRequest> { - private static readonly pb::MessageParser<ProcedureRequest> _parser = new pb::MessageParser<ProcedureRequest>(() => new ProcedureRequest()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<ProcedureRequest> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tango.PMR.Stubs.ProcedureRequestReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ProcedureRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ProcedureRequest(ProcedureRequest other) : this() { - type_ = other.type_; - timeout_ = other.timeout_; - testName_ = other.testName_; - param_ = other.param_.Clone(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ProcedureRequest Clone() { - return new ProcedureRequest(this); - } - - /// <summary>Field number for the "Type" field.</summary> - public const int TypeFieldNumber = 1; - private int type_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Type { - get { return type_; } - set { - type_ = value; - } - } - - /// <summary>Field number for the "Timeout" field.</summary> - public const int TimeoutFieldNumber = 2; - private int timeout_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Timeout { - get { return timeout_; } - set { - timeout_ = value; - } - } - - /// <summary>Field number for the "TestName" field.</summary> - public const int TestNameFieldNumber = 3; - private string testName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string TestName { - get { return testName_; } - set { - testName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "Param" field.</summary> - public const int ParamFieldNumber = 4; - private static readonly pb::FieldCodec<float> _repeated_param_codec - = pb::FieldCodec.ForFloat(34); - private readonly pbc::RepeatedField<float> param_ = new pbc::RepeatedField<float>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField<float> Param { - get { return param_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as ProcedureRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ProcedureRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Type != other.Type) return false; - if (Timeout != other.Timeout) return false; - if (TestName != other.TestName) return false; - if(!param_.Equals(other.param_)) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (Type != 0) hash ^= Type.GetHashCode(); - if (Timeout != 0) hash ^= Timeout.GetHashCode(); - if (TestName.Length != 0) hash ^= TestName.GetHashCode(); - hash ^= param_.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 (Type != 0) { - output.WriteRawTag(8); - output.WriteInt32(Type); - } - if (Timeout != 0) { - output.WriteRawTag(16); - output.WriteInt32(Timeout); - } - if (TestName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(TestName); - } - param_.WriteTo(output, _repeated_param_codec); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (Type != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); - } - if (Timeout != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Timeout); - } - if (TestName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(TestName); - } - size += param_.CalculateSize(_repeated_param_codec); - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ProcedureRequest other) { - if (other == null) { - return; - } - if (other.Type != 0) { - Type = other.Type; - } - if (other.Timeout != 0) { - Timeout = other.Timeout; - } - if (other.TestName.Length != 0) { - TestName = other.TestName; - } - param_.Add(other.param_); - } - - [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: { - Type = input.ReadInt32(); - break; - } - case 16: { - Timeout = input.ReadInt32(); - break; - } - case 26: { - TestName = input.ReadString(); - break; - } - case 34: - case 37: { - param_.AddEntriesFrom(input, _repeated_param_codec); - break; - } - } - } - } - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/ProcedureResponse.cs b/Software/Visual_Studio/Tango.PMR/Stubs/ProcedureResponse.cs deleted file mode 100644 index 85c14a6a1..000000000 --- a/Software/Visual_Studio/Tango.PMR/Stubs/ProcedureResponse.cs +++ /dev/null @@ -1,237 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ProcedureResponse.proto -#pragma warning disable 1591, 0612, 3021 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -namespace Tango.PMR.Stubs { - - /// <summary>Holder for reflection information generated from ProcedureResponse.proto</summary> - public static partial class ProcedureResponseReflection { - - #region Descriptor - /// <summary>File descriptor for ProcedureResponse.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ProcedureResponseReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChdQcm9jZWR1cmVSZXNwb25zZS5wcm90bxIPVGFuZ28uUE1SLlN0dWJzIlkK", - "EVByb2NlZHVyZVJlc3BvbnNlEgwKBFR5cGUYASABKAUSDAoEVGltZRgCIAEo", - "BRIUCgxSZXBseU1lc3NhZ2UYAyABKAkSEgoKUmVwbHlWYWx1ZRgEIAMoAkIb", - "Chljb20udHdpbmUudGFuZ28ucG1yLnN0dWJzYgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.ProcedureResponse), global::Tango.PMR.Stubs.ProcedureResponse.Parser, new[]{ "Type", "Time", "ReplyMessage", "ReplyValue" }, null, null, null) - })); - } - #endregion - - } - #region Messages - public sealed partial class ProcedureResponse : pb::IMessage<ProcedureResponse> { - private static readonly pb::MessageParser<ProcedureResponse> _parser = new pb::MessageParser<ProcedureResponse>(() => new ProcedureResponse()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<ProcedureResponse> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tango.PMR.Stubs.ProcedureResponseReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ProcedureResponse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ProcedureResponse(ProcedureResponse other) : this() { - type_ = other.type_; - time_ = other.time_; - replyMessage_ = other.replyMessage_; - replyValue_ = other.replyValue_.Clone(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public ProcedureResponse Clone() { - return new ProcedureResponse(this); - } - - /// <summary>Field number for the "Type" field.</summary> - public const int TypeFieldNumber = 1; - private int type_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Type { - get { return type_; } - set { - type_ = value; - } - } - - /// <summary>Field number for the "Time" field.</summary> - public const int TimeFieldNumber = 2; - private int time_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Time { - get { return time_; } - set { - time_ = value; - } - } - - /// <summary>Field number for the "ReplyMessage" field.</summary> - public const int ReplyMessageFieldNumber = 3; - private string replyMessage_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string ReplyMessage { - get { return replyMessage_; } - set { - replyMessage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "ReplyValue" field.</summary> - public const int ReplyValueFieldNumber = 4; - private static readonly pb::FieldCodec<float> _repeated_replyValue_codec - = pb::FieldCodec.ForFloat(34); - private readonly pbc::RepeatedField<float> replyValue_ = new pbc::RepeatedField<float>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField<float> ReplyValue { - get { return replyValue_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as ProcedureResponse); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(ProcedureResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Type != other.Type) return false; - if (Time != other.Time) return false; - if (ReplyMessage != other.ReplyMessage) return false; - if(!replyValue_.Equals(other.replyValue_)) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (Type != 0) hash ^= Type.GetHashCode(); - if (Time != 0) hash ^= Time.GetHashCode(); - if (ReplyMessage.Length != 0) hash ^= ReplyMessage.GetHashCode(); - hash ^= replyValue_.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 (Type != 0) { - output.WriteRawTag(8); - output.WriteInt32(Type); - } - if (Time != 0) { - output.WriteRawTag(16); - output.WriteInt32(Time); - } - if (ReplyMessage.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ReplyMessage); - } - replyValue_.WriteTo(output, _repeated_replyValue_codec); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (Type != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); - } - if (Time != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Time); - } - if (ReplyMessage.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ReplyMessage); - } - size += replyValue_.CalculateSize(_repeated_replyValue_codec); - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(ProcedureResponse other) { - if (other == null) { - return; - } - if (other.Type != 0) { - Type = other.Type; - } - if (other.Time != 0) { - Time = other.Time; - } - if (other.ReplyMessage.Length != 0) { - ReplyMessage = other.ReplyMessage; - } - replyValue_.Add(other.replyValue_); - } - - [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: { - Type = input.ReadInt32(); - break; - } - case 16: { - Time = input.ReadInt32(); - break; - } - case 26: { - ReplyMessage = input.ReadString(); - break; - } - case 34: - case 37: { - replyValue_.AddEntriesFrom(input, _repeated_replyValue_codec); - break; - } - } - } - } - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubAllHardwareRequest.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubAllHardwareRequest.cs deleted file mode 100644 index ec037ee4c..000000000 --- a/Software/Visual_Studio/Tango.PMR/Stubs/StubAllHardwareRequest.cs +++ /dev/null @@ -1,131 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StubAllHardwareRequest.proto -#pragma warning disable 1591, 0612, 3021 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -namespace Tango.PMR.Stubs { - - /// <summary>Holder for reflection information generated from StubAllHardwareRequest.proto</summary> - public static partial class StubAllHardwareRequestReflection { - - #region Descriptor - /// <summary>File descriptor for StubAllHardwareRequest.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StubAllHardwareRequestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChxTdHViQWxsSGFyZHdhcmVSZXF1ZXN0LnByb3RvEg9UYW5nby5QTVIuU3R1", - "YnMiGAoWU3R1YkFsbEhhcmR3YXJlUmVxdWVzdEIbChljb20udHdpbmUudGFu", - "Z28ucG1yLnN0dWJzYgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubAllHardwareRequest), global::Tango.PMR.Stubs.StubAllHardwareRequest.Parser, null, null, null, null) - })); - } - #endregion - - } - #region Messages - public sealed partial class StubAllHardwareRequest : pb::IMessage<StubAllHardwareRequest> { - private static readonly pb::MessageParser<StubAllHardwareRequest> _parser = new pb::MessageParser<StubAllHardwareRequest>(() => new StubAllHardwareRequest()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<StubAllHardwareRequest> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tango.PMR.Stubs.StubAllHardwareRequestReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubAllHardwareRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubAllHardwareRequest(StubAllHardwareRequest other) : this() { - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubAllHardwareRequest Clone() { - return new StubAllHardwareRequest(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as StubAllHardwareRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(StubAllHardwareRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - 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) { - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(StubAllHardwareRequest other) { - if (other == null) { - return; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - } - } - } - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubAllHardwareResponse.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubAllHardwareResponse.cs deleted file mode 100644 index d63b6c0bb..000000000 --- a/Software/Visual_Studio/Tango.PMR/Stubs/StubAllHardwareResponse.cs +++ /dev/null @@ -1,276 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StubAllHardwareResponse.proto -#pragma warning disable 1591, 0612, 3021 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -namespace Tango.PMR.Stubs { - - /// <summary>Holder for reflection information generated from StubAllHardwareResponse.proto</summary> - public static partial class StubAllHardwareResponseReflection { - - #region Descriptor - /// <summary>File descriptor for StubAllHardwareResponse.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StubAllHardwareResponseReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch1TdHViQWxsSGFyZHdhcmVSZXNwb25zZS5wcm90bxIPVGFuZ28uUE1SLlN0", - "dWJzGhhTdHViSGVhZEVFcHJvbURhdGEucHJvdG8aF1N0dWJXaHNFRXByb21E", - "YXRhLnByb3RvGiFTdHViRGlzcGVuc2VyRUVwcm9tUmVzcG9uc2UucHJvdG8a", - "JFN0dWJNYWluQ2FyZEVFcHJvbVJlYWRSZXNwb25zZS5wcm90byK1AgoXU3R1", - "YkFsbEhhcmR3YXJlUmVzcG9uc2USEgoKTUNVX1NlcmlhbBgBIAEoCRI3CgpI", - "ZWFkRUVwcm9tGAIgASgLMiMuVGFuZ28uUE1SLlN0dWJzLlN0dWJIZWFkRUVw", - "cm9tRGF0YRI1CglXaHNFRXByb20YAyABKAsyIi5UYW5nby5QTVIuU3R1YnMu", - "U3R1Yldoc0VFcHJvbURhdGESSwoSTWFpbkNhcmRFRXByb21EYXRhGAQgAygL", - "Mi8uVGFuZ28uUE1SLlN0dWJzLlN0dWJNYWluQ2FyZEVFcHJvbVJlYWRSZXNw", - "b25zZRJJChNEaXNwZW5zZXJFRXByb21EYXRhGAUgAygLMiwuVGFuZ28uUE1S", - "LlN0dWJzLlN0dWJEaXNwZW5zZXJFRXByb21SZXNwb25zZUIbChljb20udHdp", - "bmUudGFuZ28ucG1yLnN0dWJzYgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Tango.PMR.Stubs.StubHeadEEpromDataReflection.Descriptor, global::Tango.PMR.Stubs.StubWhsEEpromDataReflection.Descriptor, global::Tango.PMR.Stubs.StubDispenserEEpromResponseReflection.Descriptor, global::Tango.PMR.Stubs.StubMainCardEEpromReadResponseReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubAllHardwareResponse), global::Tango.PMR.Stubs.StubAllHardwareResponse.Parser, new[]{ "MCUSerial", "HeadEEprom", "WhsEEprom", "MainCardEEpromData", "DispenserEEpromData" }, null, null, null) - })); - } - #endregion - - } - #region Messages - public sealed partial class StubAllHardwareResponse : pb::IMessage<StubAllHardwareResponse> { - private static readonly pb::MessageParser<StubAllHardwareResponse> _parser = new pb::MessageParser<StubAllHardwareResponse>(() => new StubAllHardwareResponse()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<StubAllHardwareResponse> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tango.PMR.Stubs.StubAllHardwareResponseReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubAllHardwareResponse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubAllHardwareResponse(StubAllHardwareResponse other) : this() { - mCUSerial_ = other.mCUSerial_; - HeadEEprom = other.headEEprom_ != null ? other.HeadEEprom.Clone() : null; - WhsEEprom = other.whsEEprom_ != null ? other.WhsEEprom.Clone() : null; - mainCardEEpromData_ = other.mainCardEEpromData_.Clone(); - dispenserEEpromData_ = other.dispenserEEpromData_.Clone(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubAllHardwareResponse Clone() { - return new StubAllHardwareResponse(this); - } - - /// <summary>Field number for the "MCU_Serial" field.</summary> - public const int MCUSerialFieldNumber = 1; - private string mCUSerial_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string MCUSerial { - get { return mCUSerial_; } - set { - mCUSerial_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "HeadEEprom" field.</summary> - public const int HeadEEpromFieldNumber = 2; - private global::Tango.PMR.Stubs.StubHeadEEpromData headEEprom_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Tango.PMR.Stubs.StubHeadEEpromData HeadEEprom { - get { return headEEprom_; } - set { - headEEprom_ = value; - } - } - - /// <summary>Field number for the "WhsEEprom" field.</summary> - public const int WhsEEpromFieldNumber = 3; - private global::Tango.PMR.Stubs.StubWhsEEpromData whsEEprom_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Tango.PMR.Stubs.StubWhsEEpromData WhsEEprom { - get { return whsEEprom_; } - set { - whsEEprom_ = value; - } - } - - /// <summary>Field number for the "MainCardEEpromData" field.</summary> - public const int MainCardEEpromDataFieldNumber = 4; - private static readonly pb::FieldCodec<global::Tango.PMR.Stubs.StubMainCardEEpromReadResponse> _repeated_mainCardEEpromData_codec - = pb::FieldCodec.ForMessage(34, global::Tango.PMR.Stubs.StubMainCardEEpromReadResponse.Parser); - private readonly pbc::RepeatedField<global::Tango.PMR.Stubs.StubMainCardEEpromReadResponse> mainCardEEpromData_ = new pbc::RepeatedField<global::Tango.PMR.Stubs.StubMainCardEEpromReadResponse>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField<global::Tango.PMR.Stubs.StubMainCardEEpromReadResponse> MainCardEEpromData { - get { return mainCardEEpromData_; } - } - - /// <summary>Field number for the "DispenserEEpromData" field.</summary> - public const int DispenserEEpromDataFieldNumber = 5; - private static readonly pb::FieldCodec<global::Tango.PMR.Stubs.StubDispenserEEpromResponse> _repeated_dispenserEEpromData_codec - = pb::FieldCodec.ForMessage(42, global::Tango.PMR.Stubs.StubDispenserEEpromResponse.Parser); - private readonly pbc::RepeatedField<global::Tango.PMR.Stubs.StubDispenserEEpromResponse> dispenserEEpromData_ = new pbc::RepeatedField<global::Tango.PMR.Stubs.StubDispenserEEpromResponse>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField<global::Tango.PMR.Stubs.StubDispenserEEpromResponse> DispenserEEpromData { - get { return dispenserEEpromData_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as StubAllHardwareResponse); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(StubAllHardwareResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (MCUSerial != other.MCUSerial) return false; - if (!object.Equals(HeadEEprom, other.HeadEEprom)) return false; - if (!object.Equals(WhsEEprom, other.WhsEEprom)) return false; - if(!mainCardEEpromData_.Equals(other.mainCardEEpromData_)) return false; - if(!dispenserEEpromData_.Equals(other.dispenserEEpromData_)) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (MCUSerial.Length != 0) hash ^= MCUSerial.GetHashCode(); - if (headEEprom_ != null) hash ^= HeadEEprom.GetHashCode(); - if (whsEEprom_ != null) hash ^= WhsEEprom.GetHashCode(); - hash ^= mainCardEEpromData_.GetHashCode(); - hash ^= dispenserEEpromData_.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 (MCUSerial.Length != 0) { - output.WriteRawTag(10); - output.WriteString(MCUSerial); - } - if (headEEprom_ != null) { - output.WriteRawTag(18); - output.WriteMessage(HeadEEprom); - } - if (whsEEprom_ != null) { - output.WriteRawTag(26); - output.WriteMessage(WhsEEprom); - } - mainCardEEpromData_.WriteTo(output, _repeated_mainCardEEpromData_codec); - dispenserEEpromData_.WriteTo(output, _repeated_dispenserEEpromData_codec); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (MCUSerial.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(MCUSerial); - } - if (headEEprom_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(HeadEEprom); - } - if (whsEEprom_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(WhsEEprom); - } - size += mainCardEEpromData_.CalculateSize(_repeated_mainCardEEpromData_codec); - size += dispenserEEpromData_.CalculateSize(_repeated_dispenserEEpromData_codec); - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(StubAllHardwareResponse other) { - if (other == null) { - return; - } - if (other.MCUSerial.Length != 0) { - MCUSerial = other.MCUSerial; - } - if (other.headEEprom_ != null) { - if (headEEprom_ == null) { - headEEprom_ = new global::Tango.PMR.Stubs.StubHeadEEpromData(); - } - HeadEEprom.MergeFrom(other.HeadEEprom); - } - if (other.whsEEprom_ != null) { - if (whsEEprom_ == null) { - whsEEprom_ = new global::Tango.PMR.Stubs.StubWhsEEpromData(); - } - WhsEEprom.MergeFrom(other.WhsEEprom); - } - mainCardEEpromData_.Add(other.mainCardEEpromData_); - dispenserEEpromData_.Add(other.dispenserEEpromData_); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 10: { - MCUSerial = input.ReadString(); - break; - } - case 18: { - if (headEEprom_ == null) { - headEEprom_ = new global::Tango.PMR.Stubs.StubHeadEEpromData(); - } - input.ReadMessage(headEEprom_); - break; - } - case 26: { - if (whsEEprom_ == null) { - whsEEprom_ = new global::Tango.PMR.Stubs.StubWhsEEpromData(); - } - input.ReadMessage(whsEEprom_); - break; - } - case 34: { - mainCardEEpromData_.AddEntriesFrom(input, _repeated_mainCardEEpromData_codec); - break; - } - case 42: { - dispenserEEpromData_.AddEntriesFrom(input, _repeated_dispenserEEpromData_codec); - break; - } - } - } - } - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubCartridgeReadResponse.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubCartridgeReadResponse.cs index a956a4fb5..fd2427a6c 100644 --- a/Software/Visual_Studio/Tango.PMR/Stubs/StubCartridgeReadResponse.cs +++ b/Software/Visual_Studio/Tango.PMR/Stubs/StubCartridgeReadResponse.cs @@ -23,14 +23,15 @@ namespace Tango.PMR.Stubs { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Ch9TdHViQ2FydHJpZGdlUmVhZFJlc3BvbnNlLnByb3RvEg9UYW5nby5QTVIu", - "U3R1YnMaD0NhcnRyaWRnZS5wcm90byJQChlTdHViQ2FydHJpZGdlUmVhZFJl", - "c3BvbnNlEjMKCUNhcnRyaWRnZRgBIAEoCzIgLlRhbmdvLlBNUi5EaWFnbm9z", - "dGljcy5DYXJ0cmlkZ2VCGwoZY29tLnR3aW5lLnRhbmdvLnBtci5zdHVic2IG", - "cHJvdG8z")); + "U3R1YnMitAEKGVN0dWJDYXJ0cmlkZ2VSZWFkUmVzcG9uc2USEwoLQ2FydHJp", + "ZGdlSWQYASABKA0SFgoOQ2FydHJpZGdlQ29sb3IYAiABKA0SGAoQQ2FydHJp", + "ZGdlVmVyc2lvbhgDIAEoDRIVCg1DYXJ0cmlkZ2VEYXRhGAQgASgFEhUKDUNh", + "cnRyaWRnZVVzZWQYBSABKAgSDgoGU3RhdHVzGAYgASgJEhIKClN0YXR1c1dv", + "cmQYByABKA1CGwoZY29tLnR3aW5lLnRhbmdvLnBtci5zdHVic2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Tango.PMR.Diagnostics.CartridgeReflection.Descriptor, }, + new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubCartridgeReadResponse), global::Tango.PMR.Stubs.StubCartridgeReadResponse.Parser, new[]{ "Cartridge" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubCartridgeReadResponse), global::Tango.PMR.Stubs.StubCartridgeReadResponse.Parser, new[]{ "CartridgeId", "CartridgeColor", "CartridgeVersion", "CartridgeData", "CartridgeUsed", "Status", "StatusWord" }, null, null, null) })); } #endregion @@ -61,7 +62,13 @@ namespace Tango.PMR.Stubs { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public StubCartridgeReadResponse(StubCartridgeReadResponse other) : this() { - Cartridge = other.cartridge_ != null ? other.Cartridge.Clone() : null; + cartridgeId_ = other.cartridgeId_; + cartridgeColor_ = other.cartridgeColor_; + cartridgeVersion_ = other.cartridgeVersion_; + cartridgeData_ = other.cartridgeData_; + cartridgeUsed_ = other.cartridgeUsed_; + status_ = other.status_; + statusWord_ = other.statusWord_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -69,14 +76,86 @@ namespace Tango.PMR.Stubs { return new StubCartridgeReadResponse(this); } - /// <summary>Field number for the "Cartridge" field.</summary> - public const int CartridgeFieldNumber = 1; - private global::Tango.PMR.Diagnostics.Cartridge cartridge_; + /// <summary>Field number for the "CartridgeId" field.</summary> + public const int CartridgeIdFieldNumber = 1; + private uint cartridgeId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Tango.PMR.Diagnostics.Cartridge Cartridge { - get { return cartridge_; } + public uint CartridgeId { + get { return cartridgeId_; } set { - cartridge_ = value; + cartridgeId_ = value; + } + } + + /// <summary>Field number for the "CartridgeColor" field.</summary> + public const int CartridgeColorFieldNumber = 2; + private uint cartridgeColor_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public uint CartridgeColor { + get { return cartridgeColor_; } + set { + cartridgeColor_ = value; + } + } + + /// <summary>Field number for the "CartridgeVersion" field.</summary> + public const int CartridgeVersionFieldNumber = 3; + private uint cartridgeVersion_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public uint CartridgeVersion { + get { return cartridgeVersion_; } + set { + cartridgeVersion_ = value; + } + } + + /// <summary>Field number for the "CartridgeData" field.</summary> + public const int CartridgeDataFieldNumber = 4; + private int cartridgeData_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CartridgeData { + get { return cartridgeData_; } + set { + cartridgeData_ = value; + } + } + + /// <summary>Field number for the "CartridgeUsed" field.</summary> + public const int CartridgeUsedFieldNumber = 5; + private bool cartridgeUsed_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool CartridgeUsed { + get { return cartridgeUsed_; } + set { + cartridgeUsed_ = value; + } + } + + /// <summary>Field number for the "Status" field.</summary> + public const int StatusFieldNumber = 6; + private string status_ = ""; + /// <summary> + /// Passed/Failed + /// </summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public string Status { + get { return status_; } + set { + status_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "StatusWord" field.</summary> + public const int StatusWordFieldNumber = 7; + private uint statusWord_; + /// <summary> + /// Error number/bit when the status is Failed + /// </summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public uint StatusWord { + get { return statusWord_; } + set { + statusWord_ = value; } } @@ -93,14 +172,26 @@ namespace Tango.PMR.Stubs { if (ReferenceEquals(other, this)) { return true; } - if (!object.Equals(Cartridge, other.Cartridge)) return false; + if (CartridgeId != other.CartridgeId) return false; + if (CartridgeColor != other.CartridgeColor) return false; + if (CartridgeVersion != other.CartridgeVersion) return false; + if (CartridgeData != other.CartridgeData) return false; + if (CartridgeUsed != other.CartridgeUsed) return false; + if (Status != other.Status) return false; + if (StatusWord != other.StatusWord) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; - if (cartridge_ != null) hash ^= Cartridge.GetHashCode(); + if (CartridgeId != 0) hash ^= CartridgeId.GetHashCode(); + if (CartridgeColor != 0) hash ^= CartridgeColor.GetHashCode(); + if (CartridgeVersion != 0) hash ^= CartridgeVersion.GetHashCode(); + if (CartridgeData != 0) hash ^= CartridgeData.GetHashCode(); + if (CartridgeUsed != false) hash ^= CartridgeUsed.GetHashCode(); + if (Status.Length != 0) hash ^= Status.GetHashCode(); + if (StatusWord != 0) hash ^= StatusWord.GetHashCode(); return hash; } @@ -111,17 +202,59 @@ namespace Tango.PMR.Stubs { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { - if (cartridge_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Cartridge); + if (CartridgeId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CartridgeId); + } + if (CartridgeColor != 0) { + output.WriteRawTag(16); + output.WriteUInt32(CartridgeColor); + } + if (CartridgeVersion != 0) { + output.WriteRawTag(24); + output.WriteUInt32(CartridgeVersion); + } + if (CartridgeData != 0) { + output.WriteRawTag(32); + output.WriteInt32(CartridgeData); + } + if (CartridgeUsed != false) { + output.WriteRawTag(40); + output.WriteBool(CartridgeUsed); + } + if (Status.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Status); + } + if (StatusWord != 0) { + output.WriteRawTag(56); + output.WriteUInt32(StatusWord); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; - if (cartridge_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Cartridge); + if (CartridgeId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CartridgeId); + } + if (CartridgeColor != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CartridgeColor); + } + if (CartridgeVersion != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CartridgeVersion); + } + if (CartridgeData != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CartridgeData); + } + if (CartridgeUsed != false) { + size += 1 + 1; + } + if (Status.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Status); + } + if (StatusWord != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StatusWord); } return size; } @@ -131,11 +264,26 @@ namespace Tango.PMR.Stubs { if (other == null) { return; } - if (other.cartridge_ != null) { - if (cartridge_ == null) { - cartridge_ = new global::Tango.PMR.Diagnostics.Cartridge(); - } - Cartridge.MergeFrom(other.Cartridge); + if (other.CartridgeId != 0) { + CartridgeId = other.CartridgeId; + } + if (other.CartridgeColor != 0) { + CartridgeColor = other.CartridgeColor; + } + if (other.CartridgeVersion != 0) { + CartridgeVersion = other.CartridgeVersion; + } + if (other.CartridgeData != 0) { + CartridgeData = other.CartridgeData; + } + if (other.CartridgeUsed != false) { + CartridgeUsed = other.CartridgeUsed; + } + if (other.Status.Length != 0) { + Status = other.Status; + } + if (other.StatusWord != 0) { + StatusWord = other.StatusWord; } } @@ -147,11 +295,32 @@ namespace Tango.PMR.Stubs { default: input.SkipLastField(); break; - case 10: { - if (cartridge_ == null) { - cartridge_ = new global::Tango.PMR.Diagnostics.Cartridge(); - } - input.ReadMessage(cartridge_); + case 8: { + CartridgeId = input.ReadUInt32(); + break; + } + case 16: { + CartridgeColor = input.ReadUInt32(); + break; + } + case 24: { + CartridgeVersion = input.ReadUInt32(); + break; + } + case 32: { + CartridgeData = input.ReadInt32(); + break; + } + case 40: { + CartridgeUsed = input.ReadBool(); + break; + } + case 50: { + Status = input.ReadString(); + break; + } + case 56: { + StatusWord = input.ReadUInt32(); break; } } diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubCartridgeWriteRequest.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubCartridgeWriteRequest.cs index f69bd91c1..e529784c5 100644 --- a/Software/Visual_Studio/Tango.PMR/Stubs/StubCartridgeWriteRequest.cs +++ b/Software/Visual_Studio/Tango.PMR/Stubs/StubCartridgeWriteRequest.cs @@ -23,14 +23,15 @@ namespace Tango.PMR.Stubs { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Ch9TdHViQ2FydHJpZGdlV3JpdGVSZXF1ZXN0LnByb3RvEg9UYW5nby5QTVIu", - "U3R1YnMaD0NhcnRyaWRnZS5wcm90byJQChlTdHViQ2FydHJpZGdlV3JpdGVS", - "ZXF1ZXN0EjMKCUNhcnRyaWRnZRgBIAEoCzIgLlRhbmdvLlBNUi5EaWFnbm9z", - "dGljcy5DYXJ0cmlkZ2VCGwoZY29tLnR3aW5lLnRhbmdvLnBtci5zdHVic2IG", - "cHJvdG8z")); + "U3R1YnMikAEKGVN0dWJDYXJ0cmlkZ2VXcml0ZVJlcXVlc3QSEwoLQ2FydHJp", + "ZGdlSWQYASABKA0SFgoOQ2FydHJpZGdlQ29sb3IYAiABKA0SGAoQQ2FydHJp", + "ZGdlVmVyc2lvbhgDIAEoDRIVCg1DYXJ0cmlkZ2VEYXRhGAQgASgNEhUKDUNh", + "cnRyaWRnZVVzZWQYBSABKAhCGwoZY29tLnR3aW5lLnRhbmdvLnBtci5zdHVi", + "c2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Tango.PMR.Diagnostics.CartridgeReflection.Descriptor, }, + new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubCartridgeWriteRequest), global::Tango.PMR.Stubs.StubCartridgeWriteRequest.Parser, new[]{ "Cartridge" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubCartridgeWriteRequest), global::Tango.PMR.Stubs.StubCartridgeWriteRequest.Parser, new[]{ "CartridgeId", "CartridgeColor", "CartridgeVersion", "CartridgeData", "CartridgeUsed" }, null, null, null) })); } #endregion @@ -61,7 +62,11 @@ namespace Tango.PMR.Stubs { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public StubCartridgeWriteRequest(StubCartridgeWriteRequest other) : this() { - Cartridge = other.cartridge_ != null ? other.Cartridge.Clone() : null; + cartridgeId_ = other.cartridgeId_; + cartridgeColor_ = other.cartridgeColor_; + cartridgeVersion_ = other.cartridgeVersion_; + cartridgeData_ = other.cartridgeData_; + cartridgeUsed_ = other.cartridgeUsed_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -69,14 +74,66 @@ namespace Tango.PMR.Stubs { return new StubCartridgeWriteRequest(this); } - /// <summary>Field number for the "Cartridge" field.</summary> - public const int CartridgeFieldNumber = 1; - private global::Tango.PMR.Diagnostics.Cartridge cartridge_; + /// <summary>Field number for the "CartridgeId" field.</summary> + public const int CartridgeIdFieldNumber = 1; + private uint cartridgeId_; + /// <summary> + ///0..7 + /// </summary> [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Tango.PMR.Diagnostics.Cartridge Cartridge { - get { return cartridge_; } + public uint CartridgeId { + get { return cartridgeId_; } set { - cartridge_ = value; + cartridgeId_ = value; + } + } + + /// <summary>Field number for the "CartridgeColor" field.</summary> + public const int CartridgeColorFieldNumber = 2; + private uint cartridgeColor_; + /// <summary> + /// </summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public uint CartridgeColor { + get { return cartridgeColor_; } + set { + cartridgeColor_ = value; + } + } + + /// <summary>Field number for the "CartridgeVersion" field.</summary> + public const int CartridgeVersionFieldNumber = 3; + private uint cartridgeVersion_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public uint CartridgeVersion { + get { return cartridgeVersion_; } + set { + cartridgeVersion_ = value; + } + } + + /// <summary>Field number for the "CartridgeData" field.</summary> + public const int CartridgeDataFieldNumber = 4; + private uint cartridgeData_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public uint CartridgeData { + get { return cartridgeData_; } + set { + cartridgeData_ = value; + } + } + + /// <summary>Field number for the "CartridgeUsed" field.</summary> + public const int CartridgeUsedFieldNumber = 5; + private bool cartridgeUsed_; + /// <summary> + /// 0 - new 1- used + /// </summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool CartridgeUsed { + get { return cartridgeUsed_; } + set { + cartridgeUsed_ = value; } } @@ -93,14 +150,22 @@ namespace Tango.PMR.Stubs { if (ReferenceEquals(other, this)) { return true; } - if (!object.Equals(Cartridge, other.Cartridge)) return false; + if (CartridgeId != other.CartridgeId) return false; + if (CartridgeColor != other.CartridgeColor) return false; + if (CartridgeVersion != other.CartridgeVersion) return false; + if (CartridgeData != other.CartridgeData) return false; + if (CartridgeUsed != other.CartridgeUsed) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; - if (cartridge_ != null) hash ^= Cartridge.GetHashCode(); + if (CartridgeId != 0) hash ^= CartridgeId.GetHashCode(); + if (CartridgeColor != 0) hash ^= CartridgeColor.GetHashCode(); + if (CartridgeVersion != 0) hash ^= CartridgeVersion.GetHashCode(); + if (CartridgeData != 0) hash ^= CartridgeData.GetHashCode(); + if (CartridgeUsed != false) hash ^= CartridgeUsed.GetHashCode(); return hash; } @@ -111,17 +176,45 @@ namespace Tango.PMR.Stubs { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { - if (cartridge_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Cartridge); + if (CartridgeId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CartridgeId); + } + if (CartridgeColor != 0) { + output.WriteRawTag(16); + output.WriteUInt32(CartridgeColor); + } + if (CartridgeVersion != 0) { + output.WriteRawTag(24); + output.WriteUInt32(CartridgeVersion); + } + if (CartridgeData != 0) { + output.WriteRawTag(32); + output.WriteUInt32(CartridgeData); + } + if (CartridgeUsed != false) { + output.WriteRawTag(40); + output.WriteBool(CartridgeUsed); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; - if (cartridge_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Cartridge); + if (CartridgeId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CartridgeId); + } + if (CartridgeColor != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CartridgeColor); + } + if (CartridgeVersion != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CartridgeVersion); + } + if (CartridgeData != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CartridgeData); + } + if (CartridgeUsed != false) { + size += 1 + 1; } return size; } @@ -131,11 +224,20 @@ namespace Tango.PMR.Stubs { if (other == null) { return; } - if (other.cartridge_ != null) { - if (cartridge_ == null) { - cartridge_ = new global::Tango.PMR.Diagnostics.Cartridge(); - } - Cartridge.MergeFrom(other.Cartridge); + if (other.CartridgeId != 0) { + CartridgeId = other.CartridgeId; + } + if (other.CartridgeColor != 0) { + CartridgeColor = other.CartridgeColor; + } + if (other.CartridgeVersion != 0) { + CartridgeVersion = other.CartridgeVersion; + } + if (other.CartridgeData != 0) { + CartridgeData = other.CartridgeData; + } + if (other.CartridgeUsed != false) { + CartridgeUsed = other.CartridgeUsed; } } @@ -147,11 +249,24 @@ namespace Tango.PMR.Stubs { default: input.SkipLastField(); break; - case 10: { - if (cartridge_ == null) { - cartridge_ = new global::Tango.PMR.Diagnostics.Cartridge(); - } - input.ReadMessage(cartridge_); + case 8: { + CartridgeId = input.ReadUInt32(); + break; + } + case 16: { + CartridgeColor = input.ReadUInt32(); + break; + } + case 24: { + CartridgeVersion = input.ReadUInt32(); + break; + } + case 32: { + CartridgeData = input.ReadUInt32(); + break; + } + case 40: { + CartridgeUsed = input.ReadBool(); break; } } diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubCartridgeWriteResponse.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubCartridgeWriteResponse.cs index ac541e47d..881f4ec4f 100644 --- a/Software/Visual_Studio/Tango.PMR/Stubs/StubCartridgeWriteResponse.cs +++ b/Software/Visual_Studio/Tango.PMR/Stubs/StubCartridgeWriteResponse.cs @@ -23,13 +23,13 @@ namespace Tango.PMR.Stubs { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiBTdHViQ2FydHJpZGdlV3JpdGVSZXNwb25zZS5wcm90bxIPVGFuZ28uUE1S", - "LlN0dWJzIjEKGlN0dWJDYXJ0cmlkZ2VXcml0ZVJlc3BvbnNlEhMKC0NhcnRy", - "aWRnZUlkGAEgASgNQhsKGWNvbS50d2luZS50YW5nby5wbXIuc3R1YnNiBnBy", - "b3RvMw==")); + "LlN0dWJzIlUKGlN0dWJDYXJ0cmlkZ2VXcml0ZVJlc3BvbnNlEhMKC0NhcnRy", + "aWRnZUlkGAEgASgNEg4KBlN0YXR1cxgCIAEoCRISCgpTdGF0dXNXb3JkGAMg", + "ASgNQhsKGWNvbS50d2luZS50YW5nby5wbXIuc3R1YnNiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubCartridgeWriteResponse), global::Tango.PMR.Stubs.StubCartridgeWriteResponse.Parser, new[]{ "CartridgeId" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubCartridgeWriteResponse), global::Tango.PMR.Stubs.StubCartridgeWriteResponse.Parser, new[]{ "CartridgeId", "Status", "StatusWord" }, null, null, null) })); } #endregion @@ -61,6 +61,8 @@ namespace Tango.PMR.Stubs { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public StubCartridgeWriteResponse(StubCartridgeWriteResponse other) : this() { cartridgeId_ = other.cartridgeId_; + status_ = other.status_; + statusWord_ = other.statusWord_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -79,6 +81,34 @@ namespace Tango.PMR.Stubs { } } + /// <summary>Field number for the "Status" field.</summary> + public const int StatusFieldNumber = 2; + private string status_ = ""; + /// <summary> + /// Passed/Failed + /// </summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public string Status { + get { return status_; } + set { + status_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "StatusWord" field.</summary> + public const int StatusWordFieldNumber = 3; + private uint statusWord_; + /// <summary> + /// Error number/bit when the status is Failed + /// </summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public uint StatusWord { + get { return statusWord_; } + set { + statusWord_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as StubCartridgeWriteResponse); @@ -93,6 +123,8 @@ namespace Tango.PMR.Stubs { return true; } if (CartridgeId != other.CartridgeId) return false; + if (Status != other.Status) return false; + if (StatusWord != other.StatusWord) return false; return true; } @@ -100,6 +132,8 @@ namespace Tango.PMR.Stubs { public override int GetHashCode() { int hash = 1; if (CartridgeId != 0) hash ^= CartridgeId.GetHashCode(); + if (Status.Length != 0) hash ^= Status.GetHashCode(); + if (StatusWord != 0) hash ^= StatusWord.GetHashCode(); return hash; } @@ -114,6 +148,14 @@ namespace Tango.PMR.Stubs { output.WriteRawTag(8); output.WriteUInt32(CartridgeId); } + if (Status.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Status); + } + if (StatusWord != 0) { + output.WriteRawTag(24); + output.WriteUInt32(StatusWord); + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -122,6 +164,12 @@ namespace Tango.PMR.Stubs { if (CartridgeId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CartridgeId); } + if (Status.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Status); + } + if (StatusWord != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StatusWord); + } return size; } @@ -133,6 +181,12 @@ namespace Tango.PMR.Stubs { if (other.CartridgeId != 0) { CartridgeId = other.CartridgeId; } + if (other.Status.Length != 0) { + Status = other.Status; + } + if (other.StatusWord != 0) { + StatusWord = other.StatusWord; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -147,6 +201,14 @@ namespace Tango.PMR.Stubs { CartridgeId = input.ReadUInt32(); break; } + case 18: { + Status = input.ReadString(); + break; + } + case 24: { + StatusWord = input.ReadUInt32(); + break; + } } } } diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubDispenserEEpromData.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubDispenserEEpromData.cs deleted file mode 100644 index 9e2fc56f1..000000000 --- a/Software/Visual_Studio/Tango.PMR/Stubs/StubDispenserEEpromData.cs +++ /dev/null @@ -1,1043 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StubDispenserEEpromData.proto -#pragma warning disable 1591, 0612, 3021 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -namespace Tango.PMR.Stubs { - - /// <summary>Holder for reflection information generated from StubDispenserEEpromData.proto</summary> - public static partial class StubDispenserEEpromDataReflection { - - #region Descriptor - /// <summary>File descriptor for StubDispenserEEpromData.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StubDispenserEEpromDataReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch1TdHViRGlzcGVuc2VyRUVwcm9tRGF0YS5wcm90bxIPVGFuZ28uUE1SLlN0", - "dWJzIt8FChdTdHViRGlzcGVuc2VyRUVwcm9tRGF0YRIOCgZIZWFkZXIYASAB", - "KA0SEwoLVGFibGVMZW5ndGgYAiABKA0SFAoMVGFibGV2ZXJzaW9uGAMgASgN", - "EhQKDERpc3BlbnNlclBfThgEIAEoCRIOCgZQQ0JTX04YBSABKAkSFQoNUENC", - "UGFydE51bWJlchgGIAEoCRIUCgxEaXNwZW5zZXJTX04YByABKAkSFwoPTWlu", - "aW1hbFByZXNzdXJlGAggASgFEhcKD01heGltYWxQcmVzc3VyZRgJIAEoBRIR", - "CglNaW5pbWFsTVYYCiABKAUSEQoJTWF4aW1hbE1WGAsgASgFEhMKC1RvdGFs", - "Q3ljbGVzGAwgASgNEhIKCkJ1YmJsZVNpemUYDSABKAUSHAoUQVZHX05sX3N0", - "ZXBWYWx1ZV8xXzQYDiABKAUSHAoUQVZHX05sX3N0ZXBWYWx1ZV8yXzQYDyAB", - "KAUSHAoUQVZHX05sX3N0ZXBWYWx1ZV8zXzQYECABKAUSHAoUQVZHX05sX3N0", - "ZXBWYWx1ZV80XzQYESABKAUSEgoKU1dfUmVzZXJ2ZRgSIAEoBRIXCg9TcGFy", - "ZTFfcHJlc3N1cmUYEyABKAUSFwoPU3BhcmUyX3ByZXNzdXJlGBQgASgFEhsK", - "E01vdG9yUHVsc2VzUGVyQ3ljbGUYFSABKA0SDQoFQ29sb3IYFiABKA0SFQoN", - "UHJlc3N1cmVTbG9wZRgXIAEoBRIWCg5Qcm9kdWN0aW9uRGF0ZRgYIAEoCRIT", - "CgtBVFNsb2NhdGlvbhgZIAEoDRIOCgZTcGFyZTEYGiABKAUSDgoGU3BhcmUy", - "GBsgASgFEhIKCkFUU0NoYW5uZWwYHCABKA0SEQoJVW5pdEVtcHR5GB0gASgI", - "EhcKD0RyeVJ1blBhc3NfRmFpbBgeIAEoCBIVCg1GbG93UGFzc19GYWlsGB8g", - "ASgIEhAKCENoZWNrU3VtGCAgASgNQhsKGWNvbS50d2luZS50YW5nby5wbXIu", - "c3R1YnNiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubDispenserEEpromData), global::Tango.PMR.Stubs.StubDispenserEEpromData.Parser, new[]{ "Header", "TableLength", "Tableversion", "DispenserPN", "PCBSN", "PCBPartNumber", "DispenserSN", "MinimalPressure", "MaximalPressure", "MinimalMV", "MaximalMV", "TotalCycles", "BubbleSize", "AVGNlStepValue14", "AVGNlStepValue24", "AVGNlStepValue34", "AVGNlStepValue44", "SWReserve", "Spare1Pressure", "Spare2Pressure", "MotorPulsesPerCycle", "Color", "PressureSlope", "ProductionDate", "ATSlocation", "Spare1", "Spare2", "ATSChannel", "UnitEmpty", "DryRunPassFail", "FlowPassFail", "CheckSum" }, null, null, null) - })); - } - #endregion - - } - #region Messages - public sealed partial class StubDispenserEEpromData : pb::IMessage<StubDispenserEEpromData> { - private static readonly pb::MessageParser<StubDispenserEEpromData> _parser = new pb::MessageParser<StubDispenserEEpromData>(() => new StubDispenserEEpromData()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<StubDispenserEEpromData> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tango.PMR.Stubs.StubDispenserEEpromDataReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubDispenserEEpromData() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubDispenserEEpromData(StubDispenserEEpromData other) : this() { - header_ = other.header_; - tableLength_ = other.tableLength_; - tableversion_ = other.tableversion_; - dispenserPN_ = other.dispenserPN_; - pCBSN_ = other.pCBSN_; - pCBPartNumber_ = other.pCBPartNumber_; - dispenserSN_ = other.dispenserSN_; - minimalPressure_ = other.minimalPressure_; - maximalPressure_ = other.maximalPressure_; - minimalMV_ = other.minimalMV_; - maximalMV_ = other.maximalMV_; - totalCycles_ = other.totalCycles_; - bubbleSize_ = other.bubbleSize_; - aVGNlStepValue14_ = other.aVGNlStepValue14_; - aVGNlStepValue24_ = other.aVGNlStepValue24_; - aVGNlStepValue34_ = other.aVGNlStepValue34_; - aVGNlStepValue44_ = other.aVGNlStepValue44_; - sWReserve_ = other.sWReserve_; - spare1Pressure_ = other.spare1Pressure_; - spare2Pressure_ = other.spare2Pressure_; - motorPulsesPerCycle_ = other.motorPulsesPerCycle_; - color_ = other.color_; - pressureSlope_ = other.pressureSlope_; - productionDate_ = other.productionDate_; - aTSlocation_ = other.aTSlocation_; - spare1_ = other.spare1_; - spare2_ = other.spare2_; - aTSChannel_ = other.aTSChannel_; - unitEmpty_ = other.unitEmpty_; - dryRunPassFail_ = other.dryRunPassFail_; - flowPassFail_ = other.flowPassFail_; - checkSum_ = other.checkSum_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubDispenserEEpromData Clone() { - return new StubDispenserEEpromData(this); - } - - /// <summary>Field number for the "Header" field.</summary> - public const int HeaderFieldNumber = 1; - private uint header_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint Header { - get { return header_; } - set { - header_ = value; - } - } - - /// <summary>Field number for the "TableLength" field.</summary> - public const int TableLengthFieldNumber = 2; - private uint tableLength_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint TableLength { - get { return tableLength_; } - set { - tableLength_ = value; - } - } - - /// <summary>Field number for the "Tableversion" field.</summary> - public const int TableversionFieldNumber = 3; - private uint tableversion_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint Tableversion { - get { return tableversion_; } - set { - tableversion_ = value; - } - } - - /// <summary>Field number for the "DispenserP_N" field.</summary> - public const int DispenserPNFieldNumber = 4; - private string dispenserPN_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string DispenserPN { - get { return dispenserPN_; } - set { - dispenserPN_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "PCBS_N" field.</summary> - public const int PCBSNFieldNumber = 5; - private string pCBSN_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string PCBSN { - get { return pCBSN_; } - set { - pCBSN_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "PCBPartNumber" field.</summary> - public const int PCBPartNumberFieldNumber = 6; - private string pCBPartNumber_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string PCBPartNumber { - get { return pCBPartNumber_; } - set { - pCBPartNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "DispenserS_N" field.</summary> - public const int DispenserSNFieldNumber = 7; - private string dispenserSN_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string DispenserSN { - get { return dispenserSN_; } - set { - dispenserSN_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "MinimalPressure" field.</summary> - public const int MinimalPressureFieldNumber = 8; - private int minimalPressure_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int MinimalPressure { - get { return minimalPressure_; } - set { - minimalPressure_ = value; - } - } - - /// <summary>Field number for the "MaximalPressure" field.</summary> - public const int MaximalPressureFieldNumber = 9; - private int maximalPressure_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int MaximalPressure { - get { return maximalPressure_; } - set { - maximalPressure_ = value; - } - } - - /// <summary>Field number for the "MinimalMV" field.</summary> - public const int MinimalMVFieldNumber = 10; - private int minimalMV_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int MinimalMV { - get { return minimalMV_; } - set { - minimalMV_ = value; - } - } - - /// <summary>Field number for the "MaximalMV" field.</summary> - public const int MaximalMVFieldNumber = 11; - private int maximalMV_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int 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 int bubbleSize_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int 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 int aVGNlStepValue14_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int 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 int aVGNlStepValue24_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int 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 int aVGNlStepValue34_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int 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 int aVGNlStepValue44_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int AVGNlStepValue44 { - get { return aVGNlStepValue44_; } - set { - aVGNlStepValue44_ = value; - } - } - - /// <summary>Field number for the "SW_Reserve" field.</summary> - public const int SWReserveFieldNumber = 18; - private int sWReserve_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int 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 int pressureSlope_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int 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 int spare1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Spare1 { - get { return spare1_; } - set { - spare1_ = value; - } - } - - /// <summary>Field number for the "Spare2" field.</summary> - public const int Spare2FieldNumber = 27; - private int spare2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Spare2 { - get { return spare2_; } - set { - spare2_ = value; - } - } - - /// <summary>Field number for the "ATSChannel" field.</summary> - public const int ATSChannelFieldNumber = 28; - private uint aTSChannel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint ATSChannel { - get { return aTSChannel_; } - set { - aTSChannel_ = value; - } - } - - /// <summary>Field number for the "UnitEmpty" field.</summary> - public const int UnitEmptyFieldNumber = 29; - private bool unitEmpty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool UnitEmpty { - get { return unitEmpty_; } - set { - unitEmpty_ = value; - } - } - - /// <summary>Field number for the "DryRunPass_Fail" field.</summary> - public const int DryRunPassFailFieldNumber = 30; - private bool dryRunPassFail_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool DryRunPassFail { - get { return dryRunPassFail_; } - set { - dryRunPassFail_ = value; - } - } - - /// <summary>Field number for the "FlowPass_Fail" field.</summary> - public const int FlowPassFailFieldNumber = 31; - private bool flowPassFail_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool FlowPassFail { - get { return flowPassFail_; } - set { - flowPassFail_ = value; - } - } - - /// <summary>Field number for the "CheckSum" field.</summary> - public const int CheckSumFieldNumber = 32; - private uint checkSum_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint CheckSum { - get { return checkSum_; } - set { - checkSum_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as StubDispenserEEpromData); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(StubDispenserEEpromData other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Header != other.Header) return false; - if (TableLength != other.TableLength) return false; - if (Tableversion != other.Tableversion) return false; - if (DispenserPN != other.DispenserPN) return false; - if (PCBSN != other.PCBSN) return false; - if (PCBPartNumber != other.PCBPartNumber) return false; - if (DispenserSN != other.DispenserSN) return false; - if (MinimalPressure != other.MinimalPressure) return false; - if (MaximalPressure != other.MaximalPressure) return false; - if (MinimalMV != other.MinimalMV) return false; - if (MaximalMV != other.MaximalMV) return false; - if (TotalCycles != other.TotalCycles) return false; - if (BubbleSize != other.BubbleSize) return false; - if (AVGNlStepValue14 != other.AVGNlStepValue14) return false; - if (AVGNlStepValue24 != other.AVGNlStepValue24) return false; - if (AVGNlStepValue34 != other.AVGNlStepValue34) return false; - if (AVGNlStepValue44 != other.AVGNlStepValue44) return false; - if (SWReserve != other.SWReserve) return false; - if (Spare1Pressure != other.Spare1Pressure) return false; - if (Spare2Pressure != other.Spare2Pressure) return false; - if (MotorPulsesPerCycle != other.MotorPulsesPerCycle) return false; - if (Color != other.Color) return false; - if (PressureSlope != other.PressureSlope) return false; - if (ProductionDate != other.ProductionDate) return false; - if (ATSlocation != other.ATSlocation) return false; - if (Spare1 != other.Spare1) return false; - if (Spare2 != other.Spare2) return false; - if (ATSChannel != other.ATSChannel) return false; - if (UnitEmpty != other.UnitEmpty) return false; - if (DryRunPassFail != other.DryRunPassFail) return false; - if (FlowPassFail != other.FlowPassFail) return false; - if (CheckSum != other.CheckSum) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (Header != 0) hash ^= Header.GetHashCode(); - if (TableLength != 0) hash ^= TableLength.GetHashCode(); - if (Tableversion != 0) hash ^= Tableversion.GetHashCode(); - if (DispenserPN.Length != 0) hash ^= DispenserPN.GetHashCode(); - if (PCBSN.Length != 0) hash ^= PCBSN.GetHashCode(); - if (PCBPartNumber.Length != 0) hash ^= PCBPartNumber.GetHashCode(); - if (DispenserSN.Length != 0) hash ^= DispenserSN.GetHashCode(); - if (MinimalPressure != 0) hash ^= MinimalPressure.GetHashCode(); - if (MaximalPressure != 0) hash ^= MaximalPressure.GetHashCode(); - if (MinimalMV != 0) hash ^= MinimalMV.GetHashCode(); - if (MaximalMV != 0) hash ^= MaximalMV.GetHashCode(); - if (TotalCycles != 0) hash ^= TotalCycles.GetHashCode(); - if (BubbleSize != 0) hash ^= BubbleSize.GetHashCode(); - if (AVGNlStepValue14 != 0) hash ^= AVGNlStepValue14.GetHashCode(); - if (AVGNlStepValue24 != 0) hash ^= AVGNlStepValue24.GetHashCode(); - if (AVGNlStepValue34 != 0) hash ^= AVGNlStepValue34.GetHashCode(); - if (AVGNlStepValue44 != 0) hash ^= AVGNlStepValue44.GetHashCode(); - if (SWReserve != 0) hash ^= SWReserve.GetHashCode(); - if (Spare1Pressure != 0) hash ^= Spare1Pressure.GetHashCode(); - if (Spare2Pressure != 0) hash ^= Spare2Pressure.GetHashCode(); - if (MotorPulsesPerCycle != 0) hash ^= MotorPulsesPerCycle.GetHashCode(); - if (Color != 0) hash ^= Color.GetHashCode(); - if (PressureSlope != 0) hash ^= PressureSlope.GetHashCode(); - if (ProductionDate.Length != 0) hash ^= ProductionDate.GetHashCode(); - if (ATSlocation != 0) hash ^= ATSlocation.GetHashCode(); - if (Spare1 != 0) hash ^= Spare1.GetHashCode(); - if (Spare2 != 0) hash ^= Spare2.GetHashCode(); - if (ATSChannel != 0) hash ^= ATSChannel.GetHashCode(); - if (UnitEmpty != false) hash ^= UnitEmpty.GetHashCode(); - if (DryRunPassFail != false) hash ^= DryRunPassFail.GetHashCode(); - if (FlowPassFail != false) hash ^= FlowPassFail.GetHashCode(); - if (CheckSum != 0) hash ^= CheckSum.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (Header != 0) { - output.WriteRawTag(8); - output.WriteUInt32(Header); - } - if (TableLength != 0) { - output.WriteRawTag(16); - output.WriteUInt32(TableLength); - } - if (Tableversion != 0) { - output.WriteRawTag(24); - output.WriteUInt32(Tableversion); - } - if (DispenserPN.Length != 0) { - output.WriteRawTag(34); - output.WriteString(DispenserPN); - } - if (PCBSN.Length != 0) { - output.WriteRawTag(42); - output.WriteString(PCBSN); - } - if (PCBPartNumber.Length != 0) { - output.WriteRawTag(50); - output.WriteString(PCBPartNumber); - } - if (DispenserSN.Length != 0) { - output.WriteRawTag(58); - output.WriteString(DispenserSN); - } - if (MinimalPressure != 0) { - output.WriteRawTag(64); - output.WriteInt32(MinimalPressure); - } - if (MaximalPressure != 0) { - output.WriteRawTag(72); - output.WriteInt32(MaximalPressure); - } - if (MinimalMV != 0) { - output.WriteRawTag(80); - output.WriteInt32(MinimalMV); - } - if (MaximalMV != 0) { - output.WriteRawTag(88); - output.WriteInt32(MaximalMV); - } - if (TotalCycles != 0) { - output.WriteRawTag(96); - output.WriteUInt32(TotalCycles); - } - if (BubbleSize != 0) { - output.WriteRawTag(104); - output.WriteInt32(BubbleSize); - } - if (AVGNlStepValue14 != 0) { - output.WriteRawTag(112); - output.WriteInt32(AVGNlStepValue14); - } - if (AVGNlStepValue24 != 0) { - output.WriteRawTag(120); - output.WriteInt32(AVGNlStepValue24); - } - if (AVGNlStepValue34 != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(AVGNlStepValue34); - } - if (AVGNlStepValue44 != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(AVGNlStepValue44); - } - if (SWReserve != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(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.WriteInt32(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.WriteInt32(Spare1); - } - if (Spare2 != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(Spare2); - } - if (ATSChannel != 0) { - output.WriteRawTag(224, 1); - output.WriteUInt32(ATSChannel); - } - if (UnitEmpty != false) { - output.WriteRawTag(232, 1); - output.WriteBool(UnitEmpty); - } - if (DryRunPassFail != false) { - output.WriteRawTag(240, 1); - output.WriteBool(DryRunPassFail); - } - if (FlowPassFail != false) { - output.WriteRawTag(248, 1); - output.WriteBool(FlowPassFail); - } - if (CheckSum != 0) { - output.WriteRawTag(128, 2); - output.WriteUInt32(CheckSum); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (Header != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Header); - } - if (TableLength != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TableLength); - } - if (Tableversion != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tableversion); - } - if (DispenserPN.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DispenserPN); - } - if (PCBSN.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PCBSN); - } - if (PCBPartNumber.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PCBPartNumber); - } - if (DispenserSN.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DispenserSN); - } - if (MinimalPressure != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MinimalPressure); - } - if (MaximalPressure != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaximalPressure); - } - if (MinimalMV != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MinimalMV); - } - if (MaximalMV != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaximalMV); - } - if (TotalCycles != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TotalCycles); - } - if (BubbleSize != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BubbleSize); - } - if (AVGNlStepValue14 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AVGNlStepValue14); - } - if (AVGNlStepValue24 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AVGNlStepValue24); - } - if (AVGNlStepValue34 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AVGNlStepValue34); - } - if (AVGNlStepValue44 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AVGNlStepValue44); - } - if (SWReserve != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(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.ComputeInt32Size(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.ComputeInt32Size(Spare1); - } - if (Spare2 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Spare2); - } - if (ATSChannel != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(ATSChannel); - } - if (UnitEmpty != false) { - size += 2 + 1; - } - if (DryRunPassFail != false) { - size += 2 + 1; - } - if (FlowPassFail != false) { - size += 2 + 1; - } - if (CheckSum != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(CheckSum); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(StubDispenserEEpromData other) { - if (other == null) { - return; - } - if (other.Header != 0) { - Header = other.Header; - } - if (other.TableLength != 0) { - TableLength = other.TableLength; - } - if (other.Tableversion != 0) { - Tableversion = other.Tableversion; - } - if (other.DispenserPN.Length != 0) { - DispenserPN = other.DispenserPN; - } - if (other.PCBSN.Length != 0) { - PCBSN = other.PCBSN; - } - if (other.PCBPartNumber.Length != 0) { - PCBPartNumber = other.PCBPartNumber; - } - if (other.DispenserSN.Length != 0) { - DispenserSN = other.DispenserSN; - } - if (other.MinimalPressure != 0) { - MinimalPressure = other.MinimalPressure; - } - if (other.MaximalPressure != 0) { - MaximalPressure = other.MaximalPressure; - } - if (other.MinimalMV != 0) { - MinimalMV = other.MinimalMV; - } - if (other.MaximalMV != 0) { - MaximalMV = other.MaximalMV; - } - if (other.TotalCycles != 0) { - TotalCycles = other.TotalCycles; - } - if (other.BubbleSize != 0) { - BubbleSize = other.BubbleSize; - } - if (other.AVGNlStepValue14 != 0) { - AVGNlStepValue14 = other.AVGNlStepValue14; - } - if (other.AVGNlStepValue24 != 0) { - AVGNlStepValue24 = other.AVGNlStepValue24; - } - if (other.AVGNlStepValue34 != 0) { - AVGNlStepValue34 = other.AVGNlStepValue34; - } - if (other.AVGNlStepValue44 != 0) { - AVGNlStepValue44 = other.AVGNlStepValue44; - } - if (other.SWReserve != 0) { - SWReserve = other.SWReserve; - } - if (other.Spare1Pressure != 0) { - Spare1Pressure = other.Spare1Pressure; - } - if (other.Spare2Pressure != 0) { - Spare2Pressure = other.Spare2Pressure; - } - if (other.MotorPulsesPerCycle != 0) { - MotorPulsesPerCycle = other.MotorPulsesPerCycle; - } - if (other.Color != 0) { - Color = other.Color; - } - if (other.PressureSlope != 0) { - PressureSlope = other.PressureSlope; - } - if (other.ProductionDate.Length != 0) { - ProductionDate = other.ProductionDate; - } - if (other.ATSlocation != 0) { - ATSlocation = other.ATSlocation; - } - if (other.Spare1 != 0) { - Spare1 = other.Spare1; - } - if (other.Spare2 != 0) { - Spare2 = other.Spare2; - } - if (other.ATSChannel != 0) { - ATSChannel = other.ATSChannel; - } - if (other.UnitEmpty != false) { - UnitEmpty = other.UnitEmpty; - } - if (other.DryRunPassFail != false) { - DryRunPassFail = other.DryRunPassFail; - } - if (other.FlowPassFail != false) { - FlowPassFail = other.FlowPassFail; - } - if (other.CheckSum != 0) { - CheckSum = other.CheckSum; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 8: { - Header = input.ReadUInt32(); - break; - } - case 16: { - TableLength = input.ReadUInt32(); - break; - } - case 24: { - Tableversion = input.ReadUInt32(); - break; - } - case 34: { - DispenserPN = input.ReadString(); - break; - } - case 42: { - PCBSN = input.ReadString(); - break; - } - case 50: { - PCBPartNumber = input.ReadString(); - break; - } - case 58: { - DispenserSN = input.ReadString(); - break; - } - case 64: { - MinimalPressure = input.ReadInt32(); - break; - } - case 72: { - MaximalPressure = input.ReadInt32(); - break; - } - case 80: { - MinimalMV = input.ReadInt32(); - break; - } - case 88: { - MaximalMV = input.ReadInt32(); - break; - } - case 96: { - TotalCycles = input.ReadUInt32(); - break; - } - case 104: { - BubbleSize = input.ReadInt32(); - break; - } - case 112: { - AVGNlStepValue14 = input.ReadInt32(); - break; - } - case 120: { - AVGNlStepValue24 = input.ReadInt32(); - break; - } - case 128: { - AVGNlStepValue34 = input.ReadInt32(); - break; - } - case 136: { - AVGNlStepValue44 = input.ReadInt32(); - break; - } - case 144: { - SWReserve = input.ReadInt32(); - 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.ReadInt32(); - break; - } - case 194: { - ProductionDate = input.ReadString(); - break; - } - case 200: { - ATSlocation = input.ReadUInt32(); - break; - } - case 208: { - Spare1 = input.ReadInt32(); - break; - } - case 216: { - Spare2 = input.ReadInt32(); - break; - } - case 224: { - ATSChannel = input.ReadUInt32(); - break; - } - case 232: { - UnitEmpty = input.ReadBool(); - break; - } - case 240: { - DryRunPassFail = input.ReadBool(); - break; - } - case 248: { - FlowPassFail = input.ReadBool(); - break; - } - case 256: { - CheckSum = input.ReadUInt32(); - break; - } - } - } - } - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubDispenserEEpromRequest.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubDispenserEEpromRequest.cs deleted file mode 100644 index 9c0f82c27..000000000 --- a/Software/Visual_Studio/Tango.PMR/Stubs/StubDispenserEEpromRequest.cs +++ /dev/null @@ -1,224 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StubDispenserEEpromRequest.proto -#pragma warning disable 1591, 0612, 3021 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -namespace Tango.PMR.Stubs { - - /// <summary>Holder for reflection information generated from StubDispenserEEpromRequest.proto</summary> - public static partial class StubDispenserEEpromRequestReflection { - - #region Descriptor - /// <summary>File descriptor for StubDispenserEEpromRequest.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StubDispenserEEpromRequestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiBTdHViRGlzcGVuc2VyRUVwcm9tUmVxdWVzdC5wcm90bxIPVGFuZ28uUE1S", - "LlN0dWJzGh1TdHViRGlzcGVuc2VyRUVwcm9tRGF0YS5wcm90byKJAQoaU3R1", - "YkRpc3BlbnNlckVFcHJvbVJlcXVlc3QSEwoLRGlzcGVuc2VySWQYASABKA0S", - "EwoLQnVyblJlcXVlc3QYAiABKAgSQQoPRGlzcGVuc2VyRUVwcm9tGAMgASgL", - "MiguVGFuZ28uUE1SLlN0dWJzLlN0dWJEaXNwZW5zZXJFRXByb21EYXRhQhsK", - "GWNvbS50d2luZS50YW5nby5wbXIuc3R1YnNiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Tango.PMR.Stubs.StubDispenserEEpromDataReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubDispenserEEpromRequest), global::Tango.PMR.Stubs.StubDispenserEEpromRequest.Parser, new[]{ "DispenserId", "BurnRequest", "DispenserEEprom" }, null, null, null) - })); - } - #endregion - - } - #region Messages - public sealed partial class StubDispenserEEpromRequest : pb::IMessage<StubDispenserEEpromRequest> { - private static readonly pb::MessageParser<StubDispenserEEpromRequest> _parser = new pb::MessageParser<StubDispenserEEpromRequest>(() => new StubDispenserEEpromRequest()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<StubDispenserEEpromRequest> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tango.PMR.Stubs.StubDispenserEEpromRequestReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubDispenserEEpromRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubDispenserEEpromRequest(StubDispenserEEpromRequest other) : this() { - dispenserId_ = other.dispenserId_; - burnRequest_ = other.burnRequest_; - DispenserEEprom = other.dispenserEEprom_ != null ? other.DispenserEEprom.Clone() : null; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubDispenserEEpromRequest Clone() { - return new StubDispenserEEpromRequest(this); - } - - /// <summary>Field number for the "DispenserId" field.</summary> - public const int DispenserIdFieldNumber = 1; - private uint dispenserId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint DispenserId { - get { return dispenserId_; } - set { - dispenserId_ = value; - } - } - - /// <summary>Field number for the "BurnRequest" field.</summary> - public const int BurnRequestFieldNumber = 2; - private bool burnRequest_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool BurnRequest { - get { return burnRequest_; } - set { - burnRequest_ = value; - } - } - - /// <summary>Field number for the "DispenserEEprom" field.</summary> - public const int DispenserEEpromFieldNumber = 3; - private global::Tango.PMR.Stubs.StubDispenserEEpromData dispenserEEprom_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Tango.PMR.Stubs.StubDispenserEEpromData DispenserEEprom { - get { return dispenserEEprom_; } - set { - dispenserEEprom_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as StubDispenserEEpromRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(StubDispenserEEpromRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (DispenserId != other.DispenserId) return false; - if (BurnRequest != other.BurnRequest) return false; - if (!object.Equals(DispenserEEprom, other.DispenserEEprom)) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (DispenserId != 0) hash ^= DispenserId.GetHashCode(); - if (BurnRequest != false) hash ^= BurnRequest.GetHashCode(); - if (dispenserEEprom_ != null) hash ^= DispenserEEprom.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (DispenserId != 0) { - output.WriteRawTag(8); - output.WriteUInt32(DispenserId); - } - if (BurnRequest != false) { - output.WriteRawTag(16); - output.WriteBool(BurnRequest); - } - if (dispenserEEprom_ != null) { - output.WriteRawTag(26); - output.WriteMessage(DispenserEEprom); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (DispenserId != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DispenserId); - } - if (BurnRequest != false) { - size += 1 + 1; - } - if (dispenserEEprom_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(DispenserEEprom); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(StubDispenserEEpromRequest other) { - if (other == null) { - return; - } - if (other.DispenserId != 0) { - DispenserId = other.DispenserId; - } - if (other.BurnRequest != false) { - BurnRequest = other.BurnRequest; - } - if (other.dispenserEEprom_ != null) { - if (dispenserEEprom_ == null) { - dispenserEEprom_ = new global::Tango.PMR.Stubs.StubDispenserEEpromData(); - } - DispenserEEprom.MergeFrom(other.DispenserEEprom); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 8: { - DispenserId = input.ReadUInt32(); - break; - } - case 16: { - BurnRequest = input.ReadBool(); - break; - } - case 26: { - if (dispenserEEprom_ == null) { - dispenserEEprom_ = new global::Tango.PMR.Stubs.StubDispenserEEpromData(); - } - input.ReadMessage(dispenserEEprom_); - break; - } - } - } - } - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubDispenserEEpromResponse.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubDispenserEEpromResponse.cs deleted file mode 100644 index 452a97cf4..000000000 --- a/Software/Visual_Studio/Tango.PMR/Stubs/StubDispenserEEpromResponse.cs +++ /dev/null @@ -1,196 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StubDispenserEEpromResponse.proto -#pragma warning disable 1591, 0612, 3021 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -namespace Tango.PMR.Stubs { - - /// <summary>Holder for reflection information generated from StubDispenserEEpromResponse.proto</summary> - public static partial class StubDispenserEEpromResponseReflection { - - #region Descriptor - /// <summary>File descriptor for StubDispenserEEpromResponse.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StubDispenserEEpromResponseReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiFTdHViRGlzcGVuc2VyRUVwcm9tUmVzcG9uc2UucHJvdG8SD1RhbmdvLlBN", - "Ui5TdHVicxodU3R1YkRpc3BlbnNlckVFcHJvbURhdGEucHJvdG8idQobU3R1", - "YkRpc3BlbnNlckVFcHJvbVJlc3BvbnNlEhMKC0Rpc3BlbnNlcklkGAEgASgN", - "EkEKD0Rpc3BlbnNlckVFcHJvbRgCIAEoCzIoLlRhbmdvLlBNUi5TdHVicy5T", - "dHViRGlzcGVuc2VyRUVwcm9tRGF0YUIbChljb20udHdpbmUudGFuZ28ucG1y", - "LnN0dWJzYgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Tango.PMR.Stubs.StubDispenserEEpromDataReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubDispenserEEpromResponse), global::Tango.PMR.Stubs.StubDispenserEEpromResponse.Parser, new[]{ "DispenserId", "DispenserEEprom" }, null, null, null) - })); - } - #endregion - - } - #region Messages - public sealed partial class StubDispenserEEpromResponse : pb::IMessage<StubDispenserEEpromResponse> { - private static readonly pb::MessageParser<StubDispenserEEpromResponse> _parser = new pb::MessageParser<StubDispenserEEpromResponse>(() => new StubDispenserEEpromResponse()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<StubDispenserEEpromResponse> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tango.PMR.Stubs.StubDispenserEEpromResponseReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubDispenserEEpromResponse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubDispenserEEpromResponse(StubDispenserEEpromResponse other) : this() { - dispenserId_ = other.dispenserId_; - DispenserEEprom = other.dispenserEEprom_ != null ? other.DispenserEEprom.Clone() : null; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubDispenserEEpromResponse Clone() { - return new StubDispenserEEpromResponse(this); - } - - /// <summary>Field number for the "DispenserId" field.</summary> - public const int DispenserIdFieldNumber = 1; - private uint dispenserId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint DispenserId { - get { return dispenserId_; } - set { - dispenserId_ = value; - } - } - - /// <summary>Field number for the "DispenserEEprom" field.</summary> - public const int DispenserEEpromFieldNumber = 2; - private global::Tango.PMR.Stubs.StubDispenserEEpromData dispenserEEprom_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Tango.PMR.Stubs.StubDispenserEEpromData DispenserEEprom { - get { return dispenserEEprom_; } - set { - dispenserEEprom_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as StubDispenserEEpromResponse); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(StubDispenserEEpromResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (DispenserId != other.DispenserId) return false; - if (!object.Equals(DispenserEEprom, other.DispenserEEprom)) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (DispenserId != 0) hash ^= DispenserId.GetHashCode(); - if (dispenserEEprom_ != null) hash ^= DispenserEEprom.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (DispenserId != 0) { - output.WriteRawTag(8); - output.WriteUInt32(DispenserId); - } - if (dispenserEEprom_ != null) { - output.WriteRawTag(18); - output.WriteMessage(DispenserEEprom); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (DispenserId != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DispenserId); - } - if (dispenserEEprom_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(DispenserEEprom); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(StubDispenserEEpromResponse other) { - if (other == null) { - return; - } - if (other.DispenserId != 0) { - DispenserId = other.DispenserId; - } - if (other.dispenserEEprom_ != null) { - if (dispenserEEprom_ == null) { - dispenserEEprom_ = new global::Tango.PMR.Stubs.StubDispenserEEpromData(); - } - DispenserEEprom.MergeFrom(other.DispenserEEprom); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 8: { - DispenserId = input.ReadUInt32(); - break; - } - case 18: { - if (dispenserEEprom_ == null) { - dispenserEEprom_ = new global::Tango.PMR.Stubs.StubDispenserEEpromData(); - } - input.ReadMessage(dispenserEEprom_); - break; - } - } - } - } - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubHeadEEpromData.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubHeadEEpromData.cs deleted file mode 100644 index 187076035..000000000 --- a/Software/Visual_Studio/Tango.PMR/Stubs/StubHeadEEpromData.cs +++ /dev/null @@ -1,1417 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StubHeadEEpromData.proto -#pragma warning disable 1591, 0612, 3021 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -namespace Tango.PMR.Stubs { - - /// <summary>Holder for reflection information generated from StubHeadEEpromData.proto</summary> - public static partial class StubHeadEEpromDataReflection { - - #region Descriptor - /// <summary>File descriptor for StubHeadEEpromData.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StubHeadEEpromDataReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChhTdHViSGVhZEVFcHJvbURhdGEucHJvdG8SD1RhbmdvLlBNUi5TdHVicyKp", - "CAoSU3R1YkhlYWRFRXByb21EYXRhEg4KBkhlYWRlchgBIAEoDRIUCgxUYWJs", - "ZV9MZW5ndGgYAiABKA0SFQoNVGFibGVfdmVyc2lvbhgDIAEoDRIPCgdIZWFk", - "X1NOGAQgASgJEg4KBlBDQl9TThgFIAEoCRIYChBIZWFkX1BhcnRfTnVtYmVy", - "GAYgASgJEhcKD1BDQl9QYXJ0X051bWJlchgHIAEoCRIUCgxSdW5uaW5nSG91", - "cnMYCCABKA0SEgoKU1dfUmVzZXJ2ZRgJIAEoDRIUCgxUZXN0UGFzc0ZhaWwY", - "CiABKAkSFAoMQVRTX0xvY2F0aW9uGAsgASgNEiEKGU9yaWZpY2VfV2FzdGVf", - "TGV2ZWxfVjBfbWwYDCABKAESEAoISGVhZFR5cGUYDSABKA0SFwoPQmxvd2Vy", - "UnVuSG91cnMxGA4gASgNEhcKD0Jsb3dlclJ1bkhvdXJzMhgPIAEoDRIdChVG", - "YW5GaWx0ZXJNYXhMaWZlY3ljbGUYECABKA0SHAoURmFuc0ZpbHRlclVzYWdl", - "SG91cnMYESABKA0SFAoMRmlsdGVyU3BhcmUxGBIgASgNEhQKDEZpbHRlclNw", - "YXJlMhgTIAEoDRISCgpCZW5jaFRlc3REGBQgASgNEg4KBlNwYXJlMRgVIAEo", - "DRIOCgZTcGFyZTIYFiABKA0SGgoSUHJvZHVjdGlvblRlc3REYXRlGBcgASgJ", - "EhYKDkZ1bmNUZXN0U3RhdHVzGBggASgNEhYKDlByZXNTZW5zUENCX1NOGBkg", - "ASgJEhYKDlByZXNTZW5zUENCX1BOGBogASgJEhcKD1ByZXNzQ2FsaWJEYXRl", - "MRgbIAEoCRIeChZQcmVzc1dpdGhvdXRCbG93ZXJfbVYxGBwgASgNEh4KFlBy", - "ZXNzV2l0aE1pbkJsb3dlcl9tVjEYHSABKA0SGQoRUHJlc3NNYXhQcmVzc19t", - "VjEYHiABKA0SFwoPUHJlc3NDYWxpYkRhdGUyGB8gASgJEh4KFlByZXNzV2l0", - "aG91dEJsb3dlcl9tVjIYICABKA0SHgoWUHJlc3NXaXRoTWluQmxvd2VyX21W", - "MhghIAEoDRIZChFQcmVzc01heFByZXNzX21WMhgiIAEoDRISCgpGYW5zTWlu", - "UFdNGCMgASgNEhIKCkZhbnNNaW5SUE0YJCABKA0SEgoKRmFuc01heFBXTRgl", - "IAEoDRISCgpGYW5zTWF4UlBNGCYgASgNEhIKCkZhbnNOb21QV00YJyABKA0S", - "EgoKRmFuc05vbVJQTRgoIAEoDRIUCgxGYW5zTGltaXRSUE0YKSABKA0SFAoM", - "RmFuc1RhY2hvUFBSGCogASgNEhIKCkZhbnNTcGFyZTEYKyABKA0SEgoKRmFu", - "c1NwYXJlMhgsIAEoDRIQCghDaGVja1N1bRgtIAEoDUIbChljb20udHdpbmUu", - "dGFuZ28ucG1yLnN0dWJzYgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubHeadEEpromData), global::Tango.PMR.Stubs.StubHeadEEpromData.Parser, new[]{ "Header", "TableLength", "TableVersion", "HeadSN", "PCBSN", "HeadPartNumber", "PCBPartNumber", "RunningHours", "SWReserve", "TestPassFail", "ATSLocation", "OrificeWasteLevelV0Ml", "HeadType", "BlowerRunHours1", "BlowerRunHours2", "FanFilterMaxLifecycle", "FansFilterUsageHours", "FilterSpare1", "FilterSpare2", "BenchTestD", "Spare1", "Spare2", "ProductionTestDate", "FuncTestStatus", "PresSensPCBSN", "PresSensPCBPN", "PressCalibDate1", "PressWithoutBlowerMV1", "PressWithMinBlowerMV1", "PressMaxPressMV1", "PressCalibDate2", "PressWithoutBlowerMV2", "PressWithMinBlowerMV2", "PressMaxPressMV2", "FansMinPWM", "FansMinRPM", "FansMaxPWM", "FansMaxRPM", "FansNomPWM", "FansNomRPM", "FansLimitRPM", "FansTachoPPR", "FansSpare1", "FansSpare2", "CheckSum" }, null, null, null) - })); - } - #endregion - - } - #region Messages - public sealed partial class StubHeadEEpromData : pb::IMessage<StubHeadEEpromData> { - private static readonly pb::MessageParser<StubHeadEEpromData> _parser = new pb::MessageParser<StubHeadEEpromData>(() => new StubHeadEEpromData()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<StubHeadEEpromData> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tango.PMR.Stubs.StubHeadEEpromDataReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubHeadEEpromData() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubHeadEEpromData(StubHeadEEpromData other) : this() { - header_ = other.header_; - tableLength_ = other.tableLength_; - tableVersion_ = other.tableVersion_; - headSN_ = other.headSN_; - pCBSN_ = other.pCBSN_; - headPartNumber_ = other.headPartNumber_; - pCBPartNumber_ = other.pCBPartNumber_; - runningHours_ = other.runningHours_; - sWReserve_ = other.sWReserve_; - testPassFail_ = other.testPassFail_; - aTSLocation_ = other.aTSLocation_; - orificeWasteLevelV0Ml_ = other.orificeWasteLevelV0Ml_; - headType_ = other.headType_; - blowerRunHours1_ = other.blowerRunHours1_; - blowerRunHours2_ = other.blowerRunHours2_; - fanFilterMaxLifecycle_ = other.fanFilterMaxLifecycle_; - fansFilterUsageHours_ = other.fansFilterUsageHours_; - filterSpare1_ = other.filterSpare1_; - filterSpare2_ = other.filterSpare2_; - benchTestD_ = other.benchTestD_; - spare1_ = other.spare1_; - spare2_ = other.spare2_; - productionTestDate_ = other.productionTestDate_; - funcTestStatus_ = other.funcTestStatus_; - presSensPCBSN_ = other.presSensPCBSN_; - presSensPCBPN_ = other.presSensPCBPN_; - pressCalibDate1_ = other.pressCalibDate1_; - pressWithoutBlowerMV1_ = other.pressWithoutBlowerMV1_; - pressWithMinBlowerMV1_ = other.pressWithMinBlowerMV1_; - pressMaxPressMV1_ = other.pressMaxPressMV1_; - pressCalibDate2_ = other.pressCalibDate2_; - pressWithoutBlowerMV2_ = other.pressWithoutBlowerMV2_; - pressWithMinBlowerMV2_ = other.pressWithMinBlowerMV2_; - pressMaxPressMV2_ = other.pressMaxPressMV2_; - fansMinPWM_ = other.fansMinPWM_; - fansMinRPM_ = other.fansMinRPM_; - fansMaxPWM_ = other.fansMaxPWM_; - fansMaxRPM_ = other.fansMaxRPM_; - fansNomPWM_ = other.fansNomPWM_; - fansNomRPM_ = other.fansNomRPM_; - fansLimitRPM_ = other.fansLimitRPM_; - fansTachoPPR_ = other.fansTachoPPR_; - fansSpare1_ = other.fansSpare1_; - fansSpare2_ = other.fansSpare2_; - checkSum_ = other.checkSum_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubHeadEEpromData Clone() { - return new StubHeadEEpromData(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 "Table_Length" 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 "Table_version" 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 "Head_SN" field.</summary> - public const int HeadSNFieldNumber = 4; - private string headSN_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string HeadSN { - get { return headSN_; } - set { - headSN_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "PCB_SN" 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 "Head_Part_Number" field.</summary> - public const int HeadPartNumberFieldNumber = 6; - private string headPartNumber_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string HeadPartNumber { - get { return headPartNumber_; } - set { - headPartNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "PCB_Part_Number" field.</summary> - public const int PCBPartNumberFieldNumber = 7; - 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 "RunningHours" field.</summary> - public const int RunningHoursFieldNumber = 8; - private uint runningHours_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint RunningHours { - get { return runningHours_; } - set { - runningHours_ = value; - } - } - - /// <summary>Field number for the "SW_Reserve" field.</summary> - public const int SWReserveFieldNumber = 9; - private uint sWReserve_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint SWReserve { - get { return sWReserve_; } - set { - sWReserve_ = value; - } - } - - /// <summary>Field number for the "TestPassFail" field.</summary> - public const int TestPassFailFieldNumber = 10; - private string testPassFail_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string TestPassFail { - get { return testPassFail_; } - set { - testPassFail_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "ATS_Location" field.</summary> - public const int ATSLocationFieldNumber = 11; - private uint aTSLocation_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint ATSLocation { - get { return aTSLocation_; } - set { - aTSLocation_ = value; - } - } - - /// <summary>Field number for the "Orifice_Waste_Level_V0_ml" field.</summary> - public const int OrificeWasteLevelV0MlFieldNumber = 12; - private double orificeWasteLevelV0Ml_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double OrificeWasteLevelV0Ml { - get { return orificeWasteLevelV0Ml_; } - set { - orificeWasteLevelV0Ml_ = value; - } - } - - /// <summary>Field number for the "HeadType" field.</summary> - public const int HeadTypeFieldNumber = 13; - private uint headType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint HeadType { - get { return headType_; } - set { - headType_ = value; - } - } - - /// <summary>Field number for the "BlowerRunHours1" field.</summary> - public const int BlowerRunHours1FieldNumber = 14; - private uint blowerRunHours1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint BlowerRunHours1 { - get { return blowerRunHours1_; } - set { - blowerRunHours1_ = value; - } - } - - /// <summary>Field number for the "BlowerRunHours2" field.</summary> - public const int BlowerRunHours2FieldNumber = 15; - private uint blowerRunHours2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint BlowerRunHours2 { - get { return blowerRunHours2_; } - set { - blowerRunHours2_ = value; - } - } - - /// <summary>Field number for the "FanFilterMaxLifecycle" field.</summary> - public const int FanFilterMaxLifecycleFieldNumber = 16; - private uint fanFilterMaxLifecycle_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint FanFilterMaxLifecycle { - get { return fanFilterMaxLifecycle_; } - set { - fanFilterMaxLifecycle_ = value; - } - } - - /// <summary>Field number for the "FansFilterUsageHours" field.</summary> - public const int FansFilterUsageHoursFieldNumber = 17; - private uint fansFilterUsageHours_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint FansFilterUsageHours { - get { return fansFilterUsageHours_; } - set { - fansFilterUsageHours_ = value; - } - } - - /// <summary>Field number for the "FilterSpare1" field.</summary> - public const int FilterSpare1FieldNumber = 18; - private uint filterSpare1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint FilterSpare1 { - get { return filterSpare1_; } - set { - filterSpare1_ = value; - } - } - - /// <summary>Field number for the "FilterSpare2" field.</summary> - public const int FilterSpare2FieldNumber = 19; - private uint filterSpare2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint FilterSpare2 { - get { return filterSpare2_; } - set { - filterSpare2_ = value; - } - } - - /// <summary>Field number for the "BenchTestD" field.</summary> - public const int BenchTestDFieldNumber = 20; - private uint benchTestD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint BenchTestD { - get { return benchTestD_; } - set { - benchTestD_ = value; - } - } - - /// <summary>Field number for the "Spare1" field.</summary> - public const int Spare1FieldNumber = 21; - 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 = 22; - private uint spare2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint Spare2 { - get { return spare2_; } - set { - spare2_ = value; - } - } - - /// <summary>Field number for the "ProductionTestDate" field.</summary> - public const int ProductionTestDateFieldNumber = 23; - private string productionTestDate_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string ProductionTestDate { - get { return productionTestDate_; } - set { - productionTestDate_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "FuncTestStatus" field.</summary> - public const int FuncTestStatusFieldNumber = 24; - private uint funcTestStatus_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint FuncTestStatus { - get { return funcTestStatus_; } - set { - funcTestStatus_ = value; - } - } - - /// <summary>Field number for the "PresSensPCB_SN" field.</summary> - public const int PresSensPCBSNFieldNumber = 25; - private string presSensPCBSN_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string PresSensPCBSN { - get { return presSensPCBSN_; } - set { - presSensPCBSN_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "PresSensPCB_PN" field.</summary> - public const int PresSensPCBPNFieldNumber = 26; - private string presSensPCBPN_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string PresSensPCBPN { - get { return presSensPCBPN_; } - set { - presSensPCBPN_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "PressCalibDate1" field.</summary> - public const int PressCalibDate1FieldNumber = 27; - private string pressCalibDate1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string PressCalibDate1 { - get { return pressCalibDate1_; } - set { - pressCalibDate1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "PressWithoutBlower_mV1" field.</summary> - public const int PressWithoutBlowerMV1FieldNumber = 28; - private uint pressWithoutBlowerMV1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint PressWithoutBlowerMV1 { - get { return pressWithoutBlowerMV1_; } - set { - pressWithoutBlowerMV1_ = value; - } - } - - /// <summary>Field number for the "PressWithMinBlower_mV1" field.</summary> - public const int PressWithMinBlowerMV1FieldNumber = 29; - private uint pressWithMinBlowerMV1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint PressWithMinBlowerMV1 { - get { return pressWithMinBlowerMV1_; } - set { - pressWithMinBlowerMV1_ = value; - } - } - - /// <summary>Field number for the "PressMaxPress_mV1" field.</summary> - public const int PressMaxPressMV1FieldNumber = 30; - private uint pressMaxPressMV1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint PressMaxPressMV1 { - get { return pressMaxPressMV1_; } - set { - pressMaxPressMV1_ = value; - } - } - - /// <summary>Field number for the "PressCalibDate2" field.</summary> - public const int PressCalibDate2FieldNumber = 31; - private string pressCalibDate2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string PressCalibDate2 { - get { return pressCalibDate2_; } - set { - pressCalibDate2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "PressWithoutBlower_mV2" field.</summary> - public const int PressWithoutBlowerMV2FieldNumber = 32; - private uint pressWithoutBlowerMV2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint PressWithoutBlowerMV2 { - get { return pressWithoutBlowerMV2_; } - set { - pressWithoutBlowerMV2_ = value; - } - } - - /// <summary>Field number for the "PressWithMinBlower_mV2" field.</summary> - public const int PressWithMinBlowerMV2FieldNumber = 33; - private uint pressWithMinBlowerMV2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint PressWithMinBlowerMV2 { - get { return pressWithMinBlowerMV2_; } - set { - pressWithMinBlowerMV2_ = value; - } - } - - /// <summary>Field number for the "PressMaxPress_mV2" field.</summary> - public const int PressMaxPressMV2FieldNumber = 34; - private uint pressMaxPressMV2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint PressMaxPressMV2 { - get { return pressMaxPressMV2_; } - set { - pressMaxPressMV2_ = value; - } - } - - /// <summary>Field number for the "FansMinPWM" field.</summary> - public const int FansMinPWMFieldNumber = 35; - private uint fansMinPWM_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint FansMinPWM { - get { return fansMinPWM_; } - set { - fansMinPWM_ = value; - } - } - - /// <summary>Field number for the "FansMinRPM" field.</summary> - public const int FansMinRPMFieldNumber = 36; - private uint fansMinRPM_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint FansMinRPM { - get { return fansMinRPM_; } - set { - fansMinRPM_ = value; - } - } - - /// <summary>Field number for the "FansMaxPWM" field.</summary> - public const int FansMaxPWMFieldNumber = 37; - private uint fansMaxPWM_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint FansMaxPWM { - get { return fansMaxPWM_; } - set { - fansMaxPWM_ = value; - } - } - - /// <summary>Field number for the "FansMaxRPM" field.</summary> - public const int FansMaxRPMFieldNumber = 38; - private uint fansMaxRPM_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint FansMaxRPM { - get { return fansMaxRPM_; } - set { - fansMaxRPM_ = value; - } - } - - /// <summary>Field number for the "FansNomPWM" field.</summary> - public const int FansNomPWMFieldNumber = 39; - private uint fansNomPWM_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint FansNomPWM { - get { return fansNomPWM_; } - set { - fansNomPWM_ = value; - } - } - - /// <summary>Field number for the "FansNomRPM" field.</summary> - public const int FansNomRPMFieldNumber = 40; - private uint fansNomRPM_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint FansNomRPM { - get { return fansNomRPM_; } - set { - fansNomRPM_ = value; - } - } - - /// <summary>Field number for the "FansLimitRPM" field.</summary> - public const int FansLimitRPMFieldNumber = 41; - private uint fansLimitRPM_; - /// <summary> - /// [%] below Nom - /// </summary> - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint FansLimitRPM { - get { return fansLimitRPM_; } - set { - fansLimitRPM_ = value; - } - } - - /// <summary>Field number for the "FansTachoPPR" field.</summary> - public const int FansTachoPPRFieldNumber = 42; - private uint fansTachoPPR_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint FansTachoPPR { - get { return fansTachoPPR_; } - set { - fansTachoPPR_ = value; - } - } - - /// <summary>Field number for the "FansSpare1" field.</summary> - public const int FansSpare1FieldNumber = 43; - private uint fansSpare1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint FansSpare1 { - get { return fansSpare1_; } - set { - fansSpare1_ = value; - } - } - - /// <summary>Field number for the "FansSpare2" field.</summary> - public const int FansSpare2FieldNumber = 44; - private uint fansSpare2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint FansSpare2 { - get { return fansSpare2_; } - set { - fansSpare2_ = value; - } - } - - /// <summary>Field number for the "CheckSum" field.</summary> - public const int CheckSumFieldNumber = 45; - private uint checkSum_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint CheckSum { - get { return checkSum_; } - set { - checkSum_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as StubHeadEEpromData); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(StubHeadEEpromData 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 (HeadSN != other.HeadSN) return false; - if (PCBSN != other.PCBSN) return false; - if (HeadPartNumber != other.HeadPartNumber) return false; - if (PCBPartNumber != other.PCBPartNumber) return false; - if (RunningHours != other.RunningHours) return false; - if (SWReserve != other.SWReserve) return false; - if (TestPassFail != other.TestPassFail) return false; - if (ATSLocation != other.ATSLocation) return false; - if (OrificeWasteLevelV0Ml != other.OrificeWasteLevelV0Ml) return false; - if (HeadType != other.HeadType) return false; - if (BlowerRunHours1 != other.BlowerRunHours1) return false; - if (BlowerRunHours2 != other.BlowerRunHours2) return false; - if (FanFilterMaxLifecycle != other.FanFilterMaxLifecycle) return false; - if (FansFilterUsageHours != other.FansFilterUsageHours) return false; - if (FilterSpare1 != other.FilterSpare1) return false; - if (FilterSpare2 != other.FilterSpare2) return false; - if (BenchTestD != other.BenchTestD) return false; - if (Spare1 != other.Spare1) return false; - if (Spare2 != other.Spare2) return false; - if (ProductionTestDate != other.ProductionTestDate) return false; - if (FuncTestStatus != other.FuncTestStatus) return false; - if (PresSensPCBSN != other.PresSensPCBSN) return false; - if (PresSensPCBPN != other.PresSensPCBPN) return false; - if (PressCalibDate1 != other.PressCalibDate1) return false; - if (PressWithoutBlowerMV1 != other.PressWithoutBlowerMV1) return false; - if (PressWithMinBlowerMV1 != other.PressWithMinBlowerMV1) return false; - if (PressMaxPressMV1 != other.PressMaxPressMV1) return false; - if (PressCalibDate2 != other.PressCalibDate2) return false; - if (PressWithoutBlowerMV2 != other.PressWithoutBlowerMV2) return false; - if (PressWithMinBlowerMV2 != other.PressWithMinBlowerMV2) return false; - if (PressMaxPressMV2 != other.PressMaxPressMV2) return false; - if (FansMinPWM != other.FansMinPWM) return false; - if (FansMinRPM != other.FansMinRPM) return false; - if (FansMaxPWM != other.FansMaxPWM) return false; - if (FansMaxRPM != other.FansMaxRPM) return false; - if (FansNomPWM != other.FansNomPWM) return false; - if (FansNomRPM != other.FansNomRPM) return false; - if (FansLimitRPM != other.FansLimitRPM) return false; - if (FansTachoPPR != other.FansTachoPPR) return false; - if (FansSpare1 != other.FansSpare1) return false; - if (FansSpare2 != other.FansSpare2) 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 (HeadSN.Length != 0) hash ^= HeadSN.GetHashCode(); - if (PCBSN.Length != 0) hash ^= PCBSN.GetHashCode(); - if (HeadPartNumber.Length != 0) hash ^= HeadPartNumber.GetHashCode(); - if (PCBPartNumber.Length != 0) hash ^= PCBPartNumber.GetHashCode(); - if (RunningHours != 0) hash ^= RunningHours.GetHashCode(); - if (SWReserve != 0) hash ^= SWReserve.GetHashCode(); - if (TestPassFail.Length != 0) hash ^= TestPassFail.GetHashCode(); - if (ATSLocation != 0) hash ^= ATSLocation.GetHashCode(); - if (OrificeWasteLevelV0Ml != 0D) hash ^= OrificeWasteLevelV0Ml.GetHashCode(); - if (HeadType != 0) hash ^= HeadType.GetHashCode(); - if (BlowerRunHours1 != 0) hash ^= BlowerRunHours1.GetHashCode(); - if (BlowerRunHours2 != 0) hash ^= BlowerRunHours2.GetHashCode(); - if (FanFilterMaxLifecycle != 0) hash ^= FanFilterMaxLifecycle.GetHashCode(); - if (FansFilterUsageHours != 0) hash ^= FansFilterUsageHours.GetHashCode(); - if (FilterSpare1 != 0) hash ^= FilterSpare1.GetHashCode(); - if (FilterSpare2 != 0) hash ^= FilterSpare2.GetHashCode(); - if (BenchTestD != 0) hash ^= BenchTestD.GetHashCode(); - if (Spare1 != 0) hash ^= Spare1.GetHashCode(); - if (Spare2 != 0) hash ^= Spare2.GetHashCode(); - if (ProductionTestDate.Length != 0) hash ^= ProductionTestDate.GetHashCode(); - if (FuncTestStatus != 0) hash ^= FuncTestStatus.GetHashCode(); - if (PresSensPCBSN.Length != 0) hash ^= PresSensPCBSN.GetHashCode(); - if (PresSensPCBPN.Length != 0) hash ^= PresSensPCBPN.GetHashCode(); - if (PressCalibDate1.Length != 0) hash ^= PressCalibDate1.GetHashCode(); - if (PressWithoutBlowerMV1 != 0) hash ^= PressWithoutBlowerMV1.GetHashCode(); - if (PressWithMinBlowerMV1 != 0) hash ^= PressWithMinBlowerMV1.GetHashCode(); - if (PressMaxPressMV1 != 0) hash ^= PressMaxPressMV1.GetHashCode(); - if (PressCalibDate2.Length != 0) hash ^= PressCalibDate2.GetHashCode(); - if (PressWithoutBlowerMV2 != 0) hash ^= PressWithoutBlowerMV2.GetHashCode(); - if (PressWithMinBlowerMV2 != 0) hash ^= PressWithMinBlowerMV2.GetHashCode(); - if (PressMaxPressMV2 != 0) hash ^= PressMaxPressMV2.GetHashCode(); - if (FansMinPWM != 0) hash ^= FansMinPWM.GetHashCode(); - if (FansMinRPM != 0) hash ^= FansMinRPM.GetHashCode(); - if (FansMaxPWM != 0) hash ^= FansMaxPWM.GetHashCode(); - if (FansMaxRPM != 0) hash ^= FansMaxRPM.GetHashCode(); - if (FansNomPWM != 0) hash ^= FansNomPWM.GetHashCode(); - if (FansNomRPM != 0) hash ^= FansNomRPM.GetHashCode(); - if (FansLimitRPM != 0) hash ^= FansLimitRPM.GetHashCode(); - if (FansTachoPPR != 0) hash ^= FansTachoPPR.GetHashCode(); - if (FansSpare1 != 0) hash ^= FansSpare1.GetHashCode(); - if (FansSpare2 != 0) hash ^= FansSpare2.GetHashCode(); - if (CheckSum != 0) hash ^= CheckSum.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (Header != 0) { - output.WriteRawTag(8); - output.WriteUInt32(Header); - } - if (TableLength != 0) { - output.WriteRawTag(16); - output.WriteUInt32(TableLength); - } - if (TableVersion != 0) { - output.WriteRawTag(24); - output.WriteUInt32(TableVersion); - } - if (HeadSN.Length != 0) { - output.WriteRawTag(34); - output.WriteString(HeadSN); - } - if (PCBSN.Length != 0) { - output.WriteRawTag(42); - output.WriteString(PCBSN); - } - if (HeadPartNumber.Length != 0) { - output.WriteRawTag(50); - output.WriteString(HeadPartNumber); - } - if (PCBPartNumber.Length != 0) { - output.WriteRawTag(58); - output.WriteString(PCBPartNumber); - } - if (RunningHours != 0) { - output.WriteRawTag(64); - output.WriteUInt32(RunningHours); - } - if (SWReserve != 0) { - output.WriteRawTag(72); - output.WriteUInt32(SWReserve); - } - if (TestPassFail.Length != 0) { - output.WriteRawTag(82); - output.WriteString(TestPassFail); - } - if (ATSLocation != 0) { - output.WriteRawTag(88); - output.WriteUInt32(ATSLocation); - } - if (OrificeWasteLevelV0Ml != 0D) { - output.WriteRawTag(97); - output.WriteDouble(OrificeWasteLevelV0Ml); - } - if (HeadType != 0) { - output.WriteRawTag(104); - output.WriteUInt32(HeadType); - } - if (BlowerRunHours1 != 0) { - output.WriteRawTag(112); - output.WriteUInt32(BlowerRunHours1); - } - if (BlowerRunHours2 != 0) { - output.WriteRawTag(120); - output.WriteUInt32(BlowerRunHours2); - } - if (FanFilterMaxLifecycle != 0) { - output.WriteRawTag(128, 1); - output.WriteUInt32(FanFilterMaxLifecycle); - } - if (FansFilterUsageHours != 0) { - output.WriteRawTag(136, 1); - output.WriteUInt32(FansFilterUsageHours); - } - if (FilterSpare1 != 0) { - output.WriteRawTag(144, 1); - output.WriteUInt32(FilterSpare1); - } - if (FilterSpare2 != 0) { - output.WriteRawTag(152, 1); - output.WriteUInt32(FilterSpare2); - } - if (BenchTestD != 0) { - output.WriteRawTag(160, 1); - output.WriteUInt32(BenchTestD); - } - if (Spare1 != 0) { - output.WriteRawTag(168, 1); - output.WriteUInt32(Spare1); - } - if (Spare2 != 0) { - output.WriteRawTag(176, 1); - output.WriteUInt32(Spare2); - } - if (ProductionTestDate.Length != 0) { - output.WriteRawTag(186, 1); - output.WriteString(ProductionTestDate); - } - if (FuncTestStatus != 0) { - output.WriteRawTag(192, 1); - output.WriteUInt32(FuncTestStatus); - } - if (PresSensPCBSN.Length != 0) { - output.WriteRawTag(202, 1); - output.WriteString(PresSensPCBSN); - } - if (PresSensPCBPN.Length != 0) { - output.WriteRawTag(210, 1); - output.WriteString(PresSensPCBPN); - } - if (PressCalibDate1.Length != 0) { - output.WriteRawTag(218, 1); - output.WriteString(PressCalibDate1); - } - if (PressWithoutBlowerMV1 != 0) { - output.WriteRawTag(224, 1); - output.WriteUInt32(PressWithoutBlowerMV1); - } - if (PressWithMinBlowerMV1 != 0) { - output.WriteRawTag(232, 1); - output.WriteUInt32(PressWithMinBlowerMV1); - } - if (PressMaxPressMV1 != 0) { - output.WriteRawTag(240, 1); - output.WriteUInt32(PressMaxPressMV1); - } - if (PressCalibDate2.Length != 0) { - output.WriteRawTag(250, 1); - output.WriteString(PressCalibDate2); - } - if (PressWithoutBlowerMV2 != 0) { - output.WriteRawTag(128, 2); - output.WriteUInt32(PressWithoutBlowerMV2); - } - if (PressWithMinBlowerMV2 != 0) { - output.WriteRawTag(136, 2); - output.WriteUInt32(PressWithMinBlowerMV2); - } - if (PressMaxPressMV2 != 0) { - output.WriteRawTag(144, 2); - output.WriteUInt32(PressMaxPressMV2); - } - if (FansMinPWM != 0) { - output.WriteRawTag(152, 2); - output.WriteUInt32(FansMinPWM); - } - if (FansMinRPM != 0) { - output.WriteRawTag(160, 2); - output.WriteUInt32(FansMinRPM); - } - if (FansMaxPWM != 0) { - output.WriteRawTag(168, 2); - output.WriteUInt32(FansMaxPWM); - } - if (FansMaxRPM != 0) { - output.WriteRawTag(176, 2); - output.WriteUInt32(FansMaxRPM); - } - if (FansNomPWM != 0) { - output.WriteRawTag(184, 2); - output.WriteUInt32(FansNomPWM); - } - if (FansNomRPM != 0) { - output.WriteRawTag(192, 2); - output.WriteUInt32(FansNomRPM); - } - if (FansLimitRPM != 0) { - output.WriteRawTag(200, 2); - output.WriteUInt32(FansLimitRPM); - } - if (FansTachoPPR != 0) { - output.WriteRawTag(208, 2); - output.WriteUInt32(FansTachoPPR); - } - if (FansSpare1 != 0) { - output.WriteRawTag(216, 2); - output.WriteUInt32(FansSpare1); - } - if (FansSpare2 != 0) { - output.WriteRawTag(224, 2); - output.WriteUInt32(FansSpare2); - } - if (CheckSum != 0) { - output.WriteRawTag(232, 2); - output.WriteUInt32(CheckSum); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (Header != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Header); - } - if (TableLength != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TableLength); - } - if (TableVersion != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TableVersion); - } - if (HeadSN.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(HeadSN); - } - if (PCBSN.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PCBSN); - } - if (HeadPartNumber.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(HeadPartNumber); - } - if (PCBPartNumber.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PCBPartNumber); - } - if (RunningHours != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RunningHours); - } - if (SWReserve != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SWReserve); - } - if (TestPassFail.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(TestPassFail); - } - if (ATSLocation != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ATSLocation); - } - if (OrificeWasteLevelV0Ml != 0D) { - size += 1 + 8; - } - if (HeadType != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(HeadType); - } - if (BlowerRunHours1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BlowerRunHours1); - } - if (BlowerRunHours2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BlowerRunHours2); - } - if (FanFilterMaxLifecycle != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(FanFilterMaxLifecycle); - } - if (FansFilterUsageHours != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(FansFilterUsageHours); - } - if (FilterSpare1 != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(FilterSpare1); - } - if (FilterSpare2 != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(FilterSpare2); - } - if (BenchTestD != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(BenchTestD); - } - if (Spare1 != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(Spare1); - } - if (Spare2 != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(Spare2); - } - if (ProductionTestDate.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(ProductionTestDate); - } - if (FuncTestStatus != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(FuncTestStatus); - } - if (PresSensPCBSN.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(PresSensPCBSN); - } - if (PresSensPCBPN.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(PresSensPCBPN); - } - if (PressCalibDate1.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(PressCalibDate1); - } - if (PressWithoutBlowerMV1 != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(PressWithoutBlowerMV1); - } - if (PressWithMinBlowerMV1 != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(PressWithMinBlowerMV1); - } - if (PressMaxPressMV1 != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(PressMaxPressMV1); - } - if (PressCalibDate2.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(PressCalibDate2); - } - if (PressWithoutBlowerMV2 != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(PressWithoutBlowerMV2); - } - if (PressWithMinBlowerMV2 != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(PressWithMinBlowerMV2); - } - if (PressMaxPressMV2 != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(PressMaxPressMV2); - } - if (FansMinPWM != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(FansMinPWM); - } - if (FansMinRPM != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(FansMinRPM); - } - if (FansMaxPWM != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(FansMaxPWM); - } - if (FansMaxRPM != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(FansMaxRPM); - } - if (FansNomPWM != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(FansNomPWM); - } - if (FansNomRPM != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(FansNomRPM); - } - if (FansLimitRPM != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(FansLimitRPM); - } - if (FansTachoPPR != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(FansTachoPPR); - } - if (FansSpare1 != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(FansSpare1); - } - if (FansSpare2 != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(FansSpare2); - } - if (CheckSum != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(CheckSum); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(StubHeadEEpromData 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.HeadSN.Length != 0) { - HeadSN = other.HeadSN; - } - if (other.PCBSN.Length != 0) { - PCBSN = other.PCBSN; - } - if (other.HeadPartNumber.Length != 0) { - HeadPartNumber = other.HeadPartNumber; - } - if (other.PCBPartNumber.Length != 0) { - PCBPartNumber = other.PCBPartNumber; - } - if (other.RunningHours != 0) { - RunningHours = other.RunningHours; - } - if (other.SWReserve != 0) { - SWReserve = other.SWReserve; - } - if (other.TestPassFail.Length != 0) { - TestPassFail = other.TestPassFail; - } - if (other.ATSLocation != 0) { - ATSLocation = other.ATSLocation; - } - if (other.OrificeWasteLevelV0Ml != 0D) { - OrificeWasteLevelV0Ml = other.OrificeWasteLevelV0Ml; - } - if (other.HeadType != 0) { - HeadType = other.HeadType; - } - if (other.BlowerRunHours1 != 0) { - BlowerRunHours1 = other.BlowerRunHours1; - } - if (other.BlowerRunHours2 != 0) { - BlowerRunHours2 = other.BlowerRunHours2; - } - if (other.FanFilterMaxLifecycle != 0) { - FanFilterMaxLifecycle = other.FanFilterMaxLifecycle; - } - if (other.FansFilterUsageHours != 0) { - FansFilterUsageHours = other.FansFilterUsageHours; - } - if (other.FilterSpare1 != 0) { - FilterSpare1 = other.FilterSpare1; - } - if (other.FilterSpare2 != 0) { - FilterSpare2 = other.FilterSpare2; - } - if (other.BenchTestD != 0) { - BenchTestD = other.BenchTestD; - } - if (other.Spare1 != 0) { - Spare1 = other.Spare1; - } - if (other.Spare2 != 0) { - Spare2 = other.Spare2; - } - if (other.ProductionTestDate.Length != 0) { - ProductionTestDate = other.ProductionTestDate; - } - if (other.FuncTestStatus != 0) { - FuncTestStatus = other.FuncTestStatus; - } - if (other.PresSensPCBSN.Length != 0) { - PresSensPCBSN = other.PresSensPCBSN; - } - if (other.PresSensPCBPN.Length != 0) { - PresSensPCBPN = other.PresSensPCBPN; - } - if (other.PressCalibDate1.Length != 0) { - PressCalibDate1 = other.PressCalibDate1; - } - if (other.PressWithoutBlowerMV1 != 0) { - PressWithoutBlowerMV1 = other.PressWithoutBlowerMV1; - } - if (other.PressWithMinBlowerMV1 != 0) { - PressWithMinBlowerMV1 = other.PressWithMinBlowerMV1; - } - if (other.PressMaxPressMV1 != 0) { - PressMaxPressMV1 = other.PressMaxPressMV1; - } - if (other.PressCalibDate2.Length != 0) { - PressCalibDate2 = other.PressCalibDate2; - } - if (other.PressWithoutBlowerMV2 != 0) { - PressWithoutBlowerMV2 = other.PressWithoutBlowerMV2; - } - if (other.PressWithMinBlowerMV2 != 0) { - PressWithMinBlowerMV2 = other.PressWithMinBlowerMV2; - } - if (other.PressMaxPressMV2 != 0) { - PressMaxPressMV2 = other.PressMaxPressMV2; - } - if (other.FansMinPWM != 0) { - FansMinPWM = other.FansMinPWM; - } - if (other.FansMinRPM != 0) { - FansMinRPM = other.FansMinRPM; - } - if (other.FansMaxPWM != 0) { - FansMaxPWM = other.FansMaxPWM; - } - if (other.FansMaxRPM != 0) { - FansMaxRPM = other.FansMaxRPM; - } - if (other.FansNomPWM != 0) { - FansNomPWM = other.FansNomPWM; - } - if (other.FansNomRPM != 0) { - FansNomRPM = other.FansNomRPM; - } - if (other.FansLimitRPM != 0) { - FansLimitRPM = other.FansLimitRPM; - } - if (other.FansTachoPPR != 0) { - FansTachoPPR = other.FansTachoPPR; - } - if (other.FansSpare1 != 0) { - FansSpare1 = other.FansSpare1; - } - if (other.FansSpare2 != 0) { - FansSpare2 = other.FansSpare2; - } - if (other.CheckSum != 0) { - CheckSum = other.CheckSum; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 8: { - Header = input.ReadUInt32(); - break; - } - case 16: { - TableLength = input.ReadUInt32(); - break; - } - case 24: { - TableVersion = input.ReadUInt32(); - break; - } - case 34: { - HeadSN = input.ReadString(); - break; - } - case 42: { - PCBSN = input.ReadString(); - break; - } - case 50: { - HeadPartNumber = input.ReadString(); - break; - } - case 58: { - PCBPartNumber = input.ReadString(); - break; - } - case 64: { - RunningHours = input.ReadUInt32(); - break; - } - case 72: { - SWReserve = input.ReadUInt32(); - break; - } - case 82: { - TestPassFail = input.ReadString(); - break; - } - case 88: { - ATSLocation = input.ReadUInt32(); - break; - } - case 97: { - OrificeWasteLevelV0Ml = input.ReadDouble(); - break; - } - case 104: { - HeadType = input.ReadUInt32(); - break; - } - case 112: { - BlowerRunHours1 = input.ReadUInt32(); - break; - } - case 120: { - BlowerRunHours2 = input.ReadUInt32(); - break; - } - case 128: { - FanFilterMaxLifecycle = input.ReadUInt32(); - break; - } - case 136: { - FansFilterUsageHours = input.ReadUInt32(); - break; - } - case 144: { - FilterSpare1 = input.ReadUInt32(); - break; - } - case 152: { - FilterSpare2 = input.ReadUInt32(); - break; - } - case 160: { - BenchTestD = input.ReadUInt32(); - break; - } - case 168: { - Spare1 = input.ReadUInt32(); - break; - } - case 176: { - Spare2 = input.ReadUInt32(); - break; - } - case 186: { - ProductionTestDate = input.ReadString(); - break; - } - case 192: { - FuncTestStatus = input.ReadUInt32(); - break; - } - case 202: { - PresSensPCBSN = input.ReadString(); - break; - } - case 210: { - PresSensPCBPN = input.ReadString(); - break; - } - case 218: { - PressCalibDate1 = input.ReadString(); - break; - } - case 224: { - PressWithoutBlowerMV1 = input.ReadUInt32(); - break; - } - case 232: { - PressWithMinBlowerMV1 = input.ReadUInt32(); - break; - } - case 240: { - PressMaxPressMV1 = input.ReadUInt32(); - break; - } - case 250: { - PressCalibDate2 = input.ReadString(); - break; - } - case 256: { - PressWithoutBlowerMV2 = input.ReadUInt32(); - break; - } - case 264: { - PressWithMinBlowerMV2 = input.ReadUInt32(); - break; - } - case 272: { - PressMaxPressMV2 = input.ReadUInt32(); - break; - } - case 280: { - FansMinPWM = input.ReadUInt32(); - break; - } - case 288: { - FansMinRPM = input.ReadUInt32(); - break; - } - case 296: { - FansMaxPWM = input.ReadUInt32(); - break; - } - case 304: { - FansMaxRPM = input.ReadUInt32(); - break; - } - case 312: { - FansNomPWM = input.ReadUInt32(); - break; - } - case 320: { - FansNomRPM = input.ReadUInt32(); - break; - } - case 328: { - FansLimitRPM = input.ReadUInt32(); - break; - } - case 336: { - FansTachoPPR = input.ReadUInt32(); - break; - } - case 344: { - FansSpare1 = input.ReadUInt32(); - break; - } - case 352: { - FansSpare2 = input.ReadUInt32(); - break; - } - case 360: { - CheckSum = input.ReadUInt32(); - break; - } - } - } - } - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubHeadEEpromRequest.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubHeadEEpromRequest.cs deleted file mode 100644 index 228ad87eb..000000000 --- a/Software/Visual_Studio/Tango.PMR/Stubs/StubHeadEEpromRequest.cs +++ /dev/null @@ -1,195 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StubHeadEEpromRequest.proto -#pragma warning disable 1591, 0612, 3021 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -namespace Tango.PMR.Stubs { - - /// <summary>Holder for reflection information generated from StubHeadEEpromRequest.proto</summary> - public static partial class StubHeadEEpromRequestReflection { - - #region Descriptor - /// <summary>File descriptor for StubHeadEEpromRequest.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StubHeadEEpromRequestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChtTdHViSGVhZEVFcHJvbVJlcXVlc3QucHJvdG8SD1RhbmdvLlBNUi5TdHVi", - "cxoYU3R1YkhlYWRFRXByb21EYXRhLnByb3RvImUKFVN0dWJIZWFkRUVwcm9t", - "UmVxdWVzdBITCgtCdXJuUmVxdWVzdBgBIAEoCBI3CgpIZWFkRUVwcm9tGAIg", - "ASgLMiMuVGFuZ28uUE1SLlN0dWJzLlN0dWJIZWFkRUVwcm9tRGF0YUIbChlj", - "b20udHdpbmUudGFuZ28ucG1yLnN0dWJzYgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Tango.PMR.Stubs.StubHeadEEpromDataReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubHeadEEpromRequest), global::Tango.PMR.Stubs.StubHeadEEpromRequest.Parser, new[]{ "BurnRequest", "HeadEEprom" }, null, null, null) - })); - } - #endregion - - } - #region Messages - public sealed partial class StubHeadEEpromRequest : pb::IMessage<StubHeadEEpromRequest> { - private static readonly pb::MessageParser<StubHeadEEpromRequest> _parser = new pb::MessageParser<StubHeadEEpromRequest>(() => new StubHeadEEpromRequest()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<StubHeadEEpromRequest> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tango.PMR.Stubs.StubHeadEEpromRequestReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubHeadEEpromRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubHeadEEpromRequest(StubHeadEEpromRequest other) : this() { - burnRequest_ = other.burnRequest_; - HeadEEprom = other.headEEprom_ != null ? other.HeadEEprom.Clone() : null; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubHeadEEpromRequest Clone() { - return new StubHeadEEpromRequest(this); - } - - /// <summary>Field number for the "BurnRequest" field.</summary> - public const int BurnRequestFieldNumber = 1; - private bool burnRequest_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool BurnRequest { - get { return burnRequest_; } - set { - burnRequest_ = value; - } - } - - /// <summary>Field number for the "HeadEEprom" field.</summary> - public const int HeadEEpromFieldNumber = 2; - private global::Tango.PMR.Stubs.StubHeadEEpromData headEEprom_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Tango.PMR.Stubs.StubHeadEEpromData HeadEEprom { - get { return headEEprom_; } - set { - headEEprom_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as StubHeadEEpromRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(StubHeadEEpromRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (BurnRequest != other.BurnRequest) return false; - if (!object.Equals(HeadEEprom, other.HeadEEprom)) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (BurnRequest != false) hash ^= BurnRequest.GetHashCode(); - if (headEEprom_ != null) hash ^= HeadEEprom.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (BurnRequest != false) { - output.WriteRawTag(8); - output.WriteBool(BurnRequest); - } - if (headEEprom_ != null) { - output.WriteRawTag(18); - output.WriteMessage(HeadEEprom); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (BurnRequest != false) { - size += 1 + 1; - } - if (headEEprom_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(HeadEEprom); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(StubHeadEEpromRequest other) { - if (other == null) { - return; - } - if (other.BurnRequest != false) { - BurnRequest = other.BurnRequest; - } - if (other.headEEprom_ != null) { - if (headEEprom_ == null) { - headEEprom_ = new global::Tango.PMR.Stubs.StubHeadEEpromData(); - } - HeadEEprom.MergeFrom(other.HeadEEprom); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 8: { - BurnRequest = input.ReadBool(); - break; - } - case 18: { - if (headEEprom_ == null) { - headEEprom_ = new global::Tango.PMR.Stubs.StubHeadEEpromData(); - } - input.ReadMessage(headEEprom_); - break; - } - } - } - } - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubHeadEEpromResponse.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubHeadEEpromResponse.cs deleted file mode 100644 index 3231d71ba..000000000 --- a/Software/Visual_Studio/Tango.PMR/Stubs/StubHeadEEpromResponse.cs +++ /dev/null @@ -1,167 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StubHeadEEpromResponse.proto -#pragma warning disable 1591, 0612, 3021 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -namespace Tango.PMR.Stubs { - - /// <summary>Holder for reflection information generated from StubHeadEEpromResponse.proto</summary> - public static partial class StubHeadEEpromResponseReflection { - - #region Descriptor - /// <summary>File descriptor for StubHeadEEpromResponse.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StubHeadEEpromResponseReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChxTdHViSGVhZEVFcHJvbVJlc3BvbnNlLnByb3RvEg9UYW5nby5QTVIuU3R1", - "YnMaGFN0dWJIZWFkRUVwcm9tRGF0YS5wcm90byJRChZTdHViSGVhZEVFcHJv", - "bVJlc3BvbnNlEjcKCkhlYWRFRXByb20YASABKAsyIy5UYW5nby5QTVIuU3R1", - "YnMuU3R1YkhlYWRFRXByb21EYXRhQhsKGWNvbS50d2luZS50YW5nby5wbXIu", - "c3R1YnNiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Tango.PMR.Stubs.StubHeadEEpromDataReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubHeadEEpromResponse), global::Tango.PMR.Stubs.StubHeadEEpromResponse.Parser, new[]{ "HeadEEprom" }, null, null, null) - })); - } - #endregion - - } - #region Messages - public sealed partial class StubHeadEEpromResponse : pb::IMessage<StubHeadEEpromResponse> { - private static readonly pb::MessageParser<StubHeadEEpromResponse> _parser = new pb::MessageParser<StubHeadEEpromResponse>(() => new StubHeadEEpromResponse()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<StubHeadEEpromResponse> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tango.PMR.Stubs.StubHeadEEpromResponseReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubHeadEEpromResponse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubHeadEEpromResponse(StubHeadEEpromResponse other) : this() { - HeadEEprom = other.headEEprom_ != null ? other.HeadEEprom.Clone() : null; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubHeadEEpromResponse Clone() { - return new StubHeadEEpromResponse(this); - } - - /// <summary>Field number for the "HeadEEprom" field.</summary> - public const int HeadEEpromFieldNumber = 1; - private global::Tango.PMR.Stubs.StubHeadEEpromData headEEprom_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Tango.PMR.Stubs.StubHeadEEpromData HeadEEprom { - get { return headEEprom_; } - set { - headEEprom_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as StubHeadEEpromResponse); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(StubHeadEEpromResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(HeadEEprom, other.HeadEEprom)) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (headEEprom_ != null) hash ^= HeadEEprom.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 (headEEprom_ != null) { - output.WriteRawTag(10); - output.WriteMessage(HeadEEprom); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (headEEprom_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(HeadEEprom); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(StubHeadEEpromResponse other) { - if (other == null) { - return; - } - if (other.headEEprom_ != null) { - if (headEEprom_ == null) { - headEEprom_ = new global::Tango.PMR.Stubs.StubHeadEEpromData(); - } - HeadEEprom.MergeFrom(other.HeadEEprom); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 10: { - if (headEEprom_ == null) { - headEEprom_ = new global::Tango.PMR.Stubs.StubHeadEEpromData(); - } - input.ReadMessage(headEEprom_); - break; - } - } - } - } - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubMainCardEEpromReadRequest.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubMainCardEEpromReadRequest.cs deleted file mode 100644 index bf162db90..000000000 --- a/Software/Visual_Studio/Tango.PMR/Stubs/StubMainCardEEpromReadRequest.cs +++ /dev/null @@ -1,188 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StubMainCardEEpromReadRequest.proto -#pragma warning disable 1591, 0612, 3021 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -namespace Tango.PMR.Stubs { - - /// <summary>Holder for reflection information generated from StubMainCardEEpromReadRequest.proto</summary> - public static partial class StubMainCardEEpromReadRequestReflection { - - #region Descriptor - /// <summary>File descriptor for StubMainCardEEpromReadRequest.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StubMainCardEEpromReadRequestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiNTdHViTWFpbkNhcmRFRXByb21SZWFkUmVxdWVzdC5wcm90bxIPVGFuZ28u", - "UE1SLlN0dWJzIj4KHVN0dWJNYWluQ2FyZEVFcHJvbVJlYWRSZXF1ZXN0Eg8K", - "B0FkZHJlc3MYASABKAUSDAoERGF0YRgCIAEoBUIbChljb20udHdpbmUudGFu", - "Z28ucG1yLnN0dWJzYgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubMainCardEEpromReadRequest), global::Tango.PMR.Stubs.StubMainCardEEpromReadRequest.Parser, new[]{ "Address", "Data" }, null, null, null) - })); - } - #endregion - - } - #region Messages - public sealed partial class StubMainCardEEpromReadRequest : pb::IMessage<StubMainCardEEpromReadRequest> { - private static readonly pb::MessageParser<StubMainCardEEpromReadRequest> _parser = new pb::MessageParser<StubMainCardEEpromReadRequest>(() => new StubMainCardEEpromReadRequest()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<StubMainCardEEpromReadRequest> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tango.PMR.Stubs.StubMainCardEEpromReadRequestReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubMainCardEEpromReadRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubMainCardEEpromReadRequest(StubMainCardEEpromReadRequest other) : this() { - address_ = other.address_; - data_ = other.data_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubMainCardEEpromReadRequest Clone() { - return new StubMainCardEEpromReadRequest(this); - } - - /// <summary>Field number for the "Address" field.</summary> - public const int AddressFieldNumber = 1; - private int address_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Address { - get { return address_; } - set { - address_ = value; - } - } - - /// <summary>Field number for the "Data" field.</summary> - public const int DataFieldNumber = 2; - private int data_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Data { - get { return data_; } - set { - data_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as StubMainCardEEpromReadRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(StubMainCardEEpromReadRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Address != other.Address) return false; - if (Data != other.Data) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (Address != 0) hash ^= Address.GetHashCode(); - if (Data != 0) hash ^= Data.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 (Address != 0) { - output.WriteRawTag(8); - output.WriteInt32(Address); - } - if (Data != 0) { - output.WriteRawTag(16); - output.WriteInt32(Data); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (Address != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Address); - } - if (Data != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Data); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(StubMainCardEEpromReadRequest other) { - if (other == null) { - return; - } - if (other.Address != 0) { - Address = other.Address; - } - if (other.Data != 0) { - Data = other.Data; - } - } - - [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: { - Address = input.ReadInt32(); - break; - } - case 16: { - Data = input.ReadInt32(); - break; - } - } - } - } - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubMainCardEEpromReadResponse.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubMainCardEEpromReadResponse.cs deleted file mode 100644 index 382204a86..000000000 --- a/Software/Visual_Studio/Tango.PMR/Stubs/StubMainCardEEpromReadResponse.cs +++ /dev/null @@ -1,188 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StubMainCardEEpromReadResponse.proto -#pragma warning disable 1591, 0612, 3021 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -namespace Tango.PMR.Stubs { - - /// <summary>Holder for reflection information generated from StubMainCardEEpromReadResponse.proto</summary> - public static partial class StubMainCardEEpromReadResponseReflection { - - #region Descriptor - /// <summary>File descriptor for StubMainCardEEpromReadResponse.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StubMainCardEEpromReadResponseReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiRTdHViTWFpbkNhcmRFRXByb21SZWFkUmVzcG9uc2UucHJvdG8SD1Rhbmdv", - "LlBNUi5TdHVicyI/Ch5TdHViTWFpbkNhcmRFRXByb21SZWFkUmVzcG9uc2US", - "DwoHQWRkcmVzcxgBIAEoBRIMCgREYXRhGAIgASgFQhsKGWNvbS50d2luZS50", - "YW5nby5wbXIuc3R1YnNiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubMainCardEEpromReadResponse), global::Tango.PMR.Stubs.StubMainCardEEpromReadResponse.Parser, new[]{ "Address", "Data" }, null, null, null) - })); - } - #endregion - - } - #region Messages - public sealed partial class StubMainCardEEpromReadResponse : pb::IMessage<StubMainCardEEpromReadResponse> { - private static readonly pb::MessageParser<StubMainCardEEpromReadResponse> _parser = new pb::MessageParser<StubMainCardEEpromReadResponse>(() => new StubMainCardEEpromReadResponse()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<StubMainCardEEpromReadResponse> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tango.PMR.Stubs.StubMainCardEEpromReadResponseReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubMainCardEEpromReadResponse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubMainCardEEpromReadResponse(StubMainCardEEpromReadResponse other) : this() { - address_ = other.address_; - data_ = other.data_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubMainCardEEpromReadResponse Clone() { - return new StubMainCardEEpromReadResponse(this); - } - - /// <summary>Field number for the "Address" field.</summary> - public const int AddressFieldNumber = 1; - private int address_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Address { - get { return address_; } - set { - address_ = value; - } - } - - /// <summary>Field number for the "Data" field.</summary> - public const int DataFieldNumber = 2; - private int data_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Data { - get { return data_; } - set { - data_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as StubMainCardEEpromReadResponse); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(StubMainCardEEpromReadResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Address != other.Address) return false; - if (Data != other.Data) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (Address != 0) hash ^= Address.GetHashCode(); - if (Data != 0) hash ^= Data.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 (Address != 0) { - output.WriteRawTag(8); - output.WriteInt32(Address); - } - if (Data != 0) { - output.WriteRawTag(16); - output.WriteInt32(Data); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (Address != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Address); - } - if (Data != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Data); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(StubMainCardEEpromReadResponse other) { - if (other == null) { - return; - } - if (other.Address != 0) { - Address = other.Address; - } - if (other.Data != 0) { - Data = other.Data; - } - } - - [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: { - Address = input.ReadInt32(); - break; - } - case 16: { - Data = input.ReadInt32(); - break; - } - } - } - } - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubMainCardEEpromWriteRequest.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubMainCardEEpromWriteRequest.cs deleted file mode 100644 index 122694212..000000000 --- a/Software/Visual_Studio/Tango.PMR/Stubs/StubMainCardEEpromWriteRequest.cs +++ /dev/null @@ -1,188 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StubMainCardEEpromWriteRequest.proto -#pragma warning disable 1591, 0612, 3021 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -namespace Tango.PMR.Stubs { - - /// <summary>Holder for reflection information generated from StubMainCardEEpromWriteRequest.proto</summary> - public static partial class StubMainCardEEpromWriteRequestReflection { - - #region Descriptor - /// <summary>File descriptor for StubMainCardEEpromWriteRequest.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StubMainCardEEpromWriteRequestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiRTdHViTWFpbkNhcmRFRXByb21Xcml0ZVJlcXVlc3QucHJvdG8SD1Rhbmdv", - "LlBNUi5TdHVicyI/Ch5TdHViTWFpbkNhcmRFRXByb21Xcml0ZVJlcXVlc3QS", - "DwoHQWRkcmVzcxgBIAEoBRIMCgREYXRhGAIgASgFQhsKGWNvbS50d2luZS50", - "YW5nby5wbXIuc3R1YnNiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubMainCardEEpromWriteRequest), global::Tango.PMR.Stubs.StubMainCardEEpromWriteRequest.Parser, new[]{ "Address", "Data" }, null, null, null) - })); - } - #endregion - - } - #region Messages - public sealed partial class StubMainCardEEpromWriteRequest : pb::IMessage<StubMainCardEEpromWriteRequest> { - private static readonly pb::MessageParser<StubMainCardEEpromWriteRequest> _parser = new pb::MessageParser<StubMainCardEEpromWriteRequest>(() => new StubMainCardEEpromWriteRequest()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<StubMainCardEEpromWriteRequest> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tango.PMR.Stubs.StubMainCardEEpromWriteRequestReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubMainCardEEpromWriteRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubMainCardEEpromWriteRequest(StubMainCardEEpromWriteRequest other) : this() { - address_ = other.address_; - data_ = other.data_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubMainCardEEpromWriteRequest Clone() { - return new StubMainCardEEpromWriteRequest(this); - } - - /// <summary>Field number for the "Address" field.</summary> - public const int AddressFieldNumber = 1; - private int address_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Address { - get { return address_; } - set { - address_ = value; - } - } - - /// <summary>Field number for the "Data" field.</summary> - public const int DataFieldNumber = 2; - private int data_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Data { - get { return data_; } - set { - data_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as StubMainCardEEpromWriteRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(StubMainCardEEpromWriteRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Address != other.Address) return false; - if (Data != other.Data) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (Address != 0) hash ^= Address.GetHashCode(); - if (Data != 0) hash ^= Data.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 (Address != 0) { - output.WriteRawTag(8); - output.WriteInt32(Address); - } - if (Data != 0) { - output.WriteRawTag(16); - output.WriteInt32(Data); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (Address != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Address); - } - if (Data != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Data); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(StubMainCardEEpromWriteRequest other) { - if (other == null) { - return; - } - if (other.Address != 0) { - Address = other.Address; - } - if (other.Data != 0) { - Data = other.Data; - } - } - - [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: { - Address = input.ReadInt32(); - break; - } - case 16: { - Data = input.ReadInt32(); - break; - } - } - } - } - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubMainCardEEpromWriteResponse.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubMainCardEEpromWriteResponse.cs deleted file mode 100644 index 012fe37e4..000000000 --- a/Software/Visual_Studio/Tango.PMR/Stubs/StubMainCardEEpromWriteResponse.cs +++ /dev/null @@ -1,188 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StubMainCardEEpromWriteResponse.proto -#pragma warning disable 1591, 0612, 3021 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -namespace Tango.PMR.Stubs { - - /// <summary>Holder for reflection information generated from StubMainCardEEpromWriteResponse.proto</summary> - public static partial class StubMainCardEEpromWriteResponseReflection { - - #region Descriptor - /// <summary>File descriptor for StubMainCardEEpromWriteResponse.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StubMainCardEEpromWriteResponseReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiVTdHViTWFpbkNhcmRFRXByb21Xcml0ZVJlc3BvbnNlLnByb3RvEg9UYW5n", - "by5QTVIuU3R1YnMiQAofU3R1Yk1haW5DYXJkRUVwcm9tV3JpdGVSZXNwb25z", - "ZRIPCgdBZGRyZXNzGAEgASgFEgwKBERhdGEYAiABKAVCGwoZY29tLnR3aW5l", - "LnRhbmdvLnBtci5zdHVic2IGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubMainCardEEpromWriteResponse), global::Tango.PMR.Stubs.StubMainCardEEpromWriteResponse.Parser, new[]{ "Address", "Data" }, null, null, null) - })); - } - #endregion - - } - #region Messages - public sealed partial class StubMainCardEEpromWriteResponse : pb::IMessage<StubMainCardEEpromWriteResponse> { - private static readonly pb::MessageParser<StubMainCardEEpromWriteResponse> _parser = new pb::MessageParser<StubMainCardEEpromWriteResponse>(() => new StubMainCardEEpromWriteResponse()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<StubMainCardEEpromWriteResponse> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tango.PMR.Stubs.StubMainCardEEpromWriteResponseReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubMainCardEEpromWriteResponse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubMainCardEEpromWriteResponse(StubMainCardEEpromWriteResponse other) : this() { - address_ = other.address_; - data_ = other.data_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubMainCardEEpromWriteResponse Clone() { - return new StubMainCardEEpromWriteResponse(this); - } - - /// <summary>Field number for the "Address" field.</summary> - public const int AddressFieldNumber = 1; - private int address_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Address { - get { return address_; } - set { - address_ = value; - } - } - - /// <summary>Field number for the "Data" field.</summary> - public const int DataFieldNumber = 2; - private int data_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int Data { - get { return data_; } - set { - data_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as StubMainCardEEpromWriteResponse); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(StubMainCardEEpromWriteResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Address != other.Address) return false; - if (Data != other.Data) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (Address != 0) hash ^= Address.GetHashCode(); - if (Data != 0) hash ^= Data.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 (Address != 0) { - output.WriteRawTag(8); - output.WriteInt32(Address); - } - if (Data != 0) { - output.WriteRawTag(16); - output.WriteInt32(Data); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (Address != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Address); - } - if (Data != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Data); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(StubMainCardEEpromWriteResponse other) { - if (other == null) { - return; - } - if (other.Address != 0) { - Address = other.Address; - } - if (other.Data != 0) { - Data = other.Data; - } - } - - [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: { - Address = input.ReadInt32(); - break; - } - case 16: { - Data = input.ReadInt32(); - break; - } - } - } - } - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubWhsEEpromData.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubWhsEEpromData.cs deleted file mode 100644 index 21aaf0e68..000000000 --- a/Software/Visual_Studio/Tango.PMR/Stubs/StubWhsEEpromData.cs +++ /dev/null @@ -1,2533 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StubWhsEEpromData.proto -#pragma warning disable 1591, 0612, 3021 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -namespace Tango.PMR.Stubs { - - /// <summary>Holder for reflection information generated from StubWhsEEpromData.proto</summary> - public static partial class StubWhsEEpromDataReflection { - - #region Descriptor - /// <summary>File descriptor for StubWhsEEpromData.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StubWhsEEpromDataReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChdTdHViV2hzRUVwcm9tRGF0YS5wcm90bxIPVGFuZ28uUE1SLlN0dWJzIv4R", - "ChFTdHViV2hzRUVwcm9tRGF0YRIOCgZIZWFkZXIYASABKA0SFAoMVGFibGVf", - "TGVuZ3RoGAIgASgNEhUKDVRhYmxlX3ZlcnNpb24YAyABKA0SDgoGV0hTX1NO", - "GAQgASgJEg4KBlBDQl9TThgFIAEoCRIXCg9XSFNfUGFydF9OdW1iZXIYBiAB", - "KAkSFwoPUENCX1BhcnRfTnVtYmVyGAcgASgJEhQKDFJ1bm5pbmdIb3VycxgI", - "IAEoDRISCgpTV19SZXNlcnZlGAkgASgNEhwKFFByb2R1Y3Rpb25fVGVzdF9E", - "YXRlGAogASgJEhQKDFRlc3RQYXNzRmFpbBgLIAEoCRIUCgxBVFNfTG9jYXRp", - "b24YDCABKA0SIQoZT3JpZmljZV9XYXN0ZV9MZXZlbF9WMF9tbBgNIAEoARIf", - "ChdmbG93X2NhbGNfY29lZmZpY2llbnRfQxgOIAEoARIUCgxPcmlmaWNlMUZs", - "b3cYDyABKAESFQoNT3JpZmljZTFTbG9wZRgQIAEoARIbChNPcmlmaWNlMU1h", - "eFByZXNzdXJlGBEgASgBEiEKGU9yaWZpY2UxQ2FsaWJyYXRpb25GYWN0b3IY", - "EiABKAESFAoMT3JpZmljZTJGbG93GBMgASgBEhUKDU9yaWZpY2UyU2xvcGUY", - "FCABKAESGwoTT3JpZmljZTJNYXhQcmVzc3VyZRgVIAEoARIhChlPcmlmaWNl", - "MkNhbGlicmF0aW9uRmFjdG9yGBYgASgBEhQKDE9yaWZpY2UzRmxvdxgXIAEo", - "ARIVCg1PcmlmaWNlM1Nsb3BlGBggASgBEhsKE09yaWZpY2UzTWF4UHJlc3N1", - "cmUYGSABKAESIQoZT3JpZmljZTNDYWxpYnJhdGlvbkZhY3RvchgaIAEoARIY", - "ChBPcmlmaWNlVmFsdmVGbG93GBsgASgBEhkKEU9yaWZpY2VWYWx2ZVNsb3Bl", - "GBwgASgBEh8KF09yaWZpY2VWYWx2ZU1heFByZXNzdXJlGB0gASgBEiUKHU9y", - "aWZpY2VWYWx2ZUNhbGlicmF0aW9uRmFjdG9yGB4gASgBEhwKFEZhbnNfMV80", - "X1BXTV9taW5fUGN0GB8gASgBEhwKFEZhbnNfMV80X1JQTV9QV01fbWluGCAg", - "ASgBEhwKFEZhbnNfMV80X1BXTV9tYXhfUGN0GCEgASgBEhwKFEZhbnNfMV80", - "X1JQTV9QV01fbWF4GCIgASgBEhwKFEZhbnNfMV80X05vbV9QV01fUGN0GCMg", - "ASgBEhgKEEZhbnNfMV80X05vbV9SUE0YJCABKAESKAogRmFuc18xXzRfUlBN", - "X0xpbWl0X1BjdF9iZWxvd19Ob20YJSABKAESJQodRmFuc18xXzRfUHVsc2Vf", - "UGVyX1Jldm9sdXRpb24YJiABKAESFwoPRmFuc18xXzRfU3BhcmUxGCcgASgB", - "EhcKD0ZhbnNfMV80X1NwYXJlMhgoIAEoARIYChBGYW5zXzVfNl9Ob21fUlBN", - "GCkgASgBEigKIEZhbnNfNV82X1JQTV9MaW1pdF9QY3RfYmVsb3dfTm9tGCog", - "ASgBEiUKHUZhbnNfNV82X1B1bHNlX1Blcl9SZXZvbHV0aW9uGCsgASgBEhcK", - "D0ZhbnNfNV82X1NwYXJlMRgsIAEoARIXCg9GYW5zXzVfNl9TcGFyZTIYLSAB", - "KAESFQoNQmxvd2VyX1BfR2FpbhguIAEoARIZChFCbG93ZXJfQ0ZNUlBNX21p", - "bhgvIAEoARIaChJCbG93ZXJfUlBNX0NGTV9tYXgYMCABKAESIQoZQmxvd2Vy", - "X0NhbGlicmF0aW9uX2ZhY3RvchgxIAEoARIVCg1CbG93ZXJfU3BhcmUxGDIg", - "ASgBEhUKDUJsb3dlcl9TcGFyZTIYMyABKAESEQoJVk9DX2xpbWl0GDQgASgB", - "EhIKClZPQ19TcGFyZTEYNSABKAESEgoKVk9DX1NwYXJlMhg2IAEoARIcChRD", - "b250cm9sbGVyX0NvbW1fVHlwZRg3IAEoARIXCg9Db250cm9sbGVyX1R5cGUY", - "OCABKAESEwoLU2Vuc29yX3R5cGUYOSABKAESEgoKQ29vbGVyX0NfRhg6IAEo", - "ARIRCglDb29sZXJfU1YYOyABKAESEAoIQ29vbGVyX1AYPCABKAESEAoIQ29v", - "bGVyX0kYPSABKAESEAoIQ29vbGVyX0QYPiABKAESIgoaV2FybmluZ19jb25m", - "aWd1cmF0aW9uX1BhcjEYPyABKAESIgoaV2FybmluZ19jb25maWd1cmF0aW9u", - "X1BhcjIYQCABKAESIgoaV2FybmluZ19jb25maWd1cmF0aW9uX1BhcjMYQSAB", - "KAESIgoaV2FybmluZ19jb25maWd1cmF0aW9uX1BhcjQYQiABKAESIgoaV2Fy", - "bmluZ19jb25maWd1cmF0aW9uX1BhcjUYQyABKAESIgoaV2FybmluZ19jb25m", - "aWd1cmF0aW9uX1BhcjYYRCABKAESGQoRV2FybmluZ190aHJlc2hvbGQYRSAB", - "KAESGQoRQ29udHJvbGxlcl9TcGFyZTEYRiABKAESGQoRQ29udHJvbGxlcl9T", - "cGFyZTIYRyABKAESGQoRQ29udHJvbGxlcl9TcGFyZTMYSCABKAESGQoRQ29u", - "dHJvbGxlcl9TcGFyZTQYSSABKAESGQoRQ29udHJvbGxlcl9TcGFyZTUYSiAB", - "KAESEQoJVGVzdF9EYXRlGEsgASgBEgwKBFRlc3QYTCABKAkSJgoeV2FzdGVf", - "UHVtcF9GbG93X3ZvbHVtZV9wZXJfc2VjGE0gASgBEicKH1dhc3RlX1B1bXBf", - "Rmxvd19WX3Blcl9zZWNfTGltaXQYTiABKAESHAoURmlsdGVyX21heF9saWZl", - "X3NwYW4YTyABKAESGgoSRmlsdGVyX3VzYWdlX2hvdXJzGFAgASgBEhsKE1ZP", - "Q0luc3RhbGxhdGlvbkRhdGUYUSABKAkSHgoWRmlsdGVySW5zdGFsbGF0aW9u", - "RGF0ZRhSIAEoCRIWCg5Qcm9kdWN0aW9uRGF0ZRhTIAEoCRIQCghDaGVja1N1", - "bRhUIAEoDUIbChljb20udHdpbmUudGFuZ28ucG1yLnN0dWJzYgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubWhsEEpromData), global::Tango.PMR.Stubs.StubWhsEEpromData.Parser, new[]{ "Header", "TableLength", "TableVersion", "WHSSN", "PCBSN", "WHSPartNumber", "PCBPartNumber", "RunningHours", "SWReserve", "ProductionTestDate", "TestPassFail", "ATSLocation", "OrificeWasteLevelV0Ml", "FlowCalcCoefficientC", "Orifice1Flow", "Orifice1Slope", "Orifice1MaxPressure", "Orifice1CalibrationFactor", "Orifice2Flow", "Orifice2Slope", "Orifice2MaxPressure", "Orifice2CalibrationFactor", "Orifice3Flow", "Orifice3Slope", "Orifice3MaxPressure", "Orifice3CalibrationFactor", "OrificeValveFlow", "OrificeValveSlope", "OrificeValveMaxPressure", "OrificeValveCalibrationFactor", "Fans14PWMMinPct", "Fans14RPMPWMMin", "Fans14PWMMaxPct", "Fans14RPMPWMMax", "Fans14NomPWMPct", "Fans14NomRPM", "Fans14RPMLimitPctBelowNom", "Fans14PulsePerRevolution", "Fans14Spare1", "Fans14Spare2", "Fans56NomRPM", "Fans56RPMLimitPctBelowNom", "Fans56PulsePerRevolution", "Fans56Spare1", "Fans56Spare2", "BlowerPGain", "BlowerCFMRPMMin", "BlowerRPMCFMMax", "BlowerCalibrationFactor", "BlowerSpare1", "BlowerSpare2", "VOCLimit", "VOCSpare1", "VOCSpare2", "ControllerCommType", "ControllerType", "SensorType", "CoolerCF", "CoolerSV", "CoolerP", "CoolerI", "CoolerD", "WarningConfigurationPar1", "WarningConfigurationPar2", "WarningConfigurationPar3", "WarningConfigurationPar4", "WarningConfigurationPar5", "WarningConfigurationPar6", "WarningThreshold", "ControllerSpare1", "ControllerSpare2", "ControllerSpare3", "ControllerSpare4", "ControllerSpare5", "TestDate", "Test", "WastePumpFlowVolumePerSec", "WastePumpFlowVPerSecLimit", "FilterMaxLifeSpan", "FilterUsageHours", "VOCInstallationDate", "FilterInstallationDate", "ProductionDate", "CheckSum" }, null, null, null) - })); - } - #endregion - - } - #region Messages - public sealed partial class StubWhsEEpromData : pb::IMessage<StubWhsEEpromData> { - private static readonly pb::MessageParser<StubWhsEEpromData> _parser = new pb::MessageParser<StubWhsEEpromData>(() => new StubWhsEEpromData()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<StubWhsEEpromData> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tango.PMR.Stubs.StubWhsEEpromDataReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubWhsEEpromData() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubWhsEEpromData(StubWhsEEpromData other) : this() { - header_ = other.header_; - tableLength_ = other.tableLength_; - tableVersion_ = other.tableVersion_; - wHSSN_ = other.wHSSN_; - pCBSN_ = other.pCBSN_; - wHSPartNumber_ = other.wHSPartNumber_; - pCBPartNumber_ = other.pCBPartNumber_; - runningHours_ = other.runningHours_; - sWReserve_ = other.sWReserve_; - productionTestDate_ = other.productionTestDate_; - testPassFail_ = other.testPassFail_; - aTSLocation_ = other.aTSLocation_; - orificeWasteLevelV0Ml_ = other.orificeWasteLevelV0Ml_; - flowCalcCoefficientC_ = other.flowCalcCoefficientC_; - orifice1Flow_ = other.orifice1Flow_; - orifice1Slope_ = other.orifice1Slope_; - orifice1MaxPressure_ = other.orifice1MaxPressure_; - orifice1CalibrationFactor_ = other.orifice1CalibrationFactor_; - orifice2Flow_ = other.orifice2Flow_; - orifice2Slope_ = other.orifice2Slope_; - orifice2MaxPressure_ = other.orifice2MaxPressure_; - orifice2CalibrationFactor_ = other.orifice2CalibrationFactor_; - orifice3Flow_ = other.orifice3Flow_; - orifice3Slope_ = other.orifice3Slope_; - orifice3MaxPressure_ = other.orifice3MaxPressure_; - orifice3CalibrationFactor_ = other.orifice3CalibrationFactor_; - orificeValveFlow_ = other.orificeValveFlow_; - orificeValveSlope_ = other.orificeValveSlope_; - orificeValveMaxPressure_ = other.orificeValveMaxPressure_; - orificeValveCalibrationFactor_ = other.orificeValveCalibrationFactor_; - fans14PWMMinPct_ = other.fans14PWMMinPct_; - fans14RPMPWMMin_ = other.fans14RPMPWMMin_; - fans14PWMMaxPct_ = other.fans14PWMMaxPct_; - fans14RPMPWMMax_ = other.fans14RPMPWMMax_; - fans14NomPWMPct_ = other.fans14NomPWMPct_; - fans14NomRPM_ = other.fans14NomRPM_; - fans14RPMLimitPctBelowNom_ = other.fans14RPMLimitPctBelowNom_; - fans14PulsePerRevolution_ = other.fans14PulsePerRevolution_; - fans14Spare1_ = other.fans14Spare1_; - fans14Spare2_ = other.fans14Spare2_; - fans56NomRPM_ = other.fans56NomRPM_; - fans56RPMLimitPctBelowNom_ = other.fans56RPMLimitPctBelowNom_; - fans56PulsePerRevolution_ = other.fans56PulsePerRevolution_; - fans56Spare1_ = other.fans56Spare1_; - fans56Spare2_ = other.fans56Spare2_; - blowerPGain_ = other.blowerPGain_; - blowerCFMRPMMin_ = other.blowerCFMRPMMin_; - blowerRPMCFMMax_ = other.blowerRPMCFMMax_; - blowerCalibrationFactor_ = other.blowerCalibrationFactor_; - blowerSpare1_ = other.blowerSpare1_; - blowerSpare2_ = other.blowerSpare2_; - vOCLimit_ = other.vOCLimit_; - vOCSpare1_ = other.vOCSpare1_; - vOCSpare2_ = other.vOCSpare2_; - controllerCommType_ = other.controllerCommType_; - controllerType_ = other.controllerType_; - sensorType_ = other.sensorType_; - coolerCF_ = other.coolerCF_; - coolerSV_ = other.coolerSV_; - coolerP_ = other.coolerP_; - coolerI_ = other.coolerI_; - coolerD_ = other.coolerD_; - warningConfigurationPar1_ = other.warningConfigurationPar1_; - warningConfigurationPar2_ = other.warningConfigurationPar2_; - warningConfigurationPar3_ = other.warningConfigurationPar3_; - warningConfigurationPar4_ = other.warningConfigurationPar4_; - warningConfigurationPar5_ = other.warningConfigurationPar5_; - warningConfigurationPar6_ = other.warningConfigurationPar6_; - warningThreshold_ = other.warningThreshold_; - controllerSpare1_ = other.controllerSpare1_; - controllerSpare2_ = other.controllerSpare2_; - controllerSpare3_ = other.controllerSpare3_; - controllerSpare4_ = other.controllerSpare4_; - controllerSpare5_ = other.controllerSpare5_; - testDate_ = other.testDate_; - test_ = other.test_; - wastePumpFlowVolumePerSec_ = other.wastePumpFlowVolumePerSec_; - wastePumpFlowVPerSecLimit_ = other.wastePumpFlowVPerSecLimit_; - filterMaxLifeSpan_ = other.filterMaxLifeSpan_; - filterUsageHours_ = other.filterUsageHours_; - vOCInstallationDate_ = other.vOCInstallationDate_; - filterInstallationDate_ = other.filterInstallationDate_; - productionDate_ = other.productionDate_; - checkSum_ = other.checkSum_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubWhsEEpromData Clone() { - return new StubWhsEEpromData(this); - } - - /// <summary>Field number for the "Header" field.</summary> - public const int HeaderFieldNumber = 1; - private uint header_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint Header { - get { return header_; } - set { - header_ = value; - } - } - - /// <summary>Field number for the "Table_Length" 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 "Table_version" 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 "WHS_SN" field.</summary> - public const int WHSSNFieldNumber = 4; - private string wHSSN_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string WHSSN { - get { return wHSSN_; } - set { - wHSSN_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "PCB_SN" 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 "WHS_Part_Number" field.</summary> - public const int WHSPartNumberFieldNumber = 6; - private string wHSPartNumber_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string WHSPartNumber { - get { return wHSPartNumber_; } - set { - wHSPartNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "PCB_Part_Number" field.</summary> - public const int PCBPartNumberFieldNumber = 7; - 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 "RunningHours" field.</summary> - public const int RunningHoursFieldNumber = 8; - private uint runningHours_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint RunningHours { - get { return runningHours_; } - set { - runningHours_ = value; - } - } - - /// <summary>Field number for the "SW_Reserve" field.</summary> - public const int SWReserveFieldNumber = 9; - private uint sWReserve_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint SWReserve { - get { return sWReserve_; } - set { - sWReserve_ = value; - } - } - - /// <summary>Field number for the "Production_Test_Date" field.</summary> - public const int ProductionTestDateFieldNumber = 10; - private string productionTestDate_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string ProductionTestDate { - get { return productionTestDate_; } - set { - productionTestDate_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "TestPassFail" field.</summary> - public const int TestPassFailFieldNumber = 11; - private string testPassFail_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string TestPassFail { - get { return testPassFail_; } - set { - testPassFail_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "ATS_Location" field.</summary> - public const int ATSLocationFieldNumber = 12; - private uint aTSLocation_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint ATSLocation { - get { return aTSLocation_; } - set { - aTSLocation_ = value; - } - } - - /// <summary>Field number for the "Orifice_Waste_Level_V0_ml" field.</summary> - public const int OrificeWasteLevelV0MlFieldNumber = 13; - private double orificeWasteLevelV0Ml_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double OrificeWasteLevelV0Ml { - get { return orificeWasteLevelV0Ml_; } - set { - orificeWasteLevelV0Ml_ = value; - } - } - - /// <summary>Field number for the "flow_calc_coefficient_C" field.</summary> - public const int FlowCalcCoefficientCFieldNumber = 14; - private double flowCalcCoefficientC_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double FlowCalcCoefficientC { - get { return flowCalcCoefficientC_; } - set { - flowCalcCoefficientC_ = value; - } - } - - /// <summary>Field number for the "Orifice1Flow" field.</summary> - public const int Orifice1FlowFieldNumber = 15; - private double orifice1Flow_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Orifice1Flow { - get { return orifice1Flow_; } - set { - orifice1Flow_ = value; - } - } - - /// <summary>Field number for the "Orifice1Slope" field.</summary> - public const int Orifice1SlopeFieldNumber = 16; - private double orifice1Slope_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Orifice1Slope { - get { return orifice1Slope_; } - set { - orifice1Slope_ = value; - } - } - - /// <summary>Field number for the "Orifice1MaxPressure" field.</summary> - public const int Orifice1MaxPressureFieldNumber = 17; - private double orifice1MaxPressure_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Orifice1MaxPressure { - get { return orifice1MaxPressure_; } - set { - orifice1MaxPressure_ = value; - } - } - - /// <summary>Field number for the "Orifice1CalibrationFactor" field.</summary> - public const int Orifice1CalibrationFactorFieldNumber = 18; - private double orifice1CalibrationFactor_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Orifice1CalibrationFactor { - get { return orifice1CalibrationFactor_; } - set { - orifice1CalibrationFactor_ = value; - } - } - - /// <summary>Field number for the "Orifice2Flow" field.</summary> - public const int Orifice2FlowFieldNumber = 19; - private double orifice2Flow_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Orifice2Flow { - get { return orifice2Flow_; } - set { - orifice2Flow_ = value; - } - } - - /// <summary>Field number for the "Orifice2Slope" field.</summary> - public const int Orifice2SlopeFieldNumber = 20; - private double orifice2Slope_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Orifice2Slope { - get { return orifice2Slope_; } - set { - orifice2Slope_ = value; - } - } - - /// <summary>Field number for the "Orifice2MaxPressure" field.</summary> - public const int Orifice2MaxPressureFieldNumber = 21; - private double orifice2MaxPressure_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Orifice2MaxPressure { - get { return orifice2MaxPressure_; } - set { - orifice2MaxPressure_ = value; - } - } - - /// <summary>Field number for the "Orifice2CalibrationFactor" field.</summary> - public const int Orifice2CalibrationFactorFieldNumber = 22; - private double orifice2CalibrationFactor_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Orifice2CalibrationFactor { - get { return orifice2CalibrationFactor_; } - set { - orifice2CalibrationFactor_ = value; - } - } - - /// <summary>Field number for the "Orifice3Flow" field.</summary> - public const int Orifice3FlowFieldNumber = 23; - private double orifice3Flow_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Orifice3Flow { - get { return orifice3Flow_; } - set { - orifice3Flow_ = value; - } - } - - /// <summary>Field number for the "Orifice3Slope" field.</summary> - public const int Orifice3SlopeFieldNumber = 24; - private double orifice3Slope_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Orifice3Slope { - get { return orifice3Slope_; } - set { - orifice3Slope_ = value; - } - } - - /// <summary>Field number for the "Orifice3MaxPressure" field.</summary> - public const int Orifice3MaxPressureFieldNumber = 25; - private double orifice3MaxPressure_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Orifice3MaxPressure { - get { return orifice3MaxPressure_; } - set { - orifice3MaxPressure_ = value; - } - } - - /// <summary>Field number for the "Orifice3CalibrationFactor" field.</summary> - public const int Orifice3CalibrationFactorFieldNumber = 26; - private double orifice3CalibrationFactor_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Orifice3CalibrationFactor { - get { return orifice3CalibrationFactor_; } - set { - orifice3CalibrationFactor_ = value; - } - } - - /// <summary>Field number for the "OrificeValveFlow" field.</summary> - public const int OrificeValveFlowFieldNumber = 27; - private double orificeValveFlow_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double OrificeValveFlow { - get { return orificeValveFlow_; } - set { - orificeValveFlow_ = value; - } - } - - /// <summary>Field number for the "OrificeValveSlope" field.</summary> - public const int OrificeValveSlopeFieldNumber = 28; - private double orificeValveSlope_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double OrificeValveSlope { - get { return orificeValveSlope_; } - set { - orificeValveSlope_ = value; - } - } - - /// <summary>Field number for the "OrificeValveMaxPressure" field.</summary> - public const int OrificeValveMaxPressureFieldNumber = 29; - private double orificeValveMaxPressure_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double OrificeValveMaxPressure { - get { return orificeValveMaxPressure_; } - set { - orificeValveMaxPressure_ = value; - } - } - - /// <summary>Field number for the "OrificeValveCalibrationFactor" field.</summary> - public const int OrificeValveCalibrationFactorFieldNumber = 30; - private double orificeValveCalibrationFactor_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double OrificeValveCalibrationFactor { - get { return orificeValveCalibrationFactor_; } - set { - orificeValveCalibrationFactor_ = value; - } - } - - /// <summary>Field number for the "Fans_1_4_PWM_min_Pct" field.</summary> - public const int Fans14PWMMinPctFieldNumber = 31; - private double fans14PWMMinPct_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Fans14PWMMinPct { - get { return fans14PWMMinPct_; } - set { - fans14PWMMinPct_ = value; - } - } - - /// <summary>Field number for the "Fans_1_4_RPM_PWM_min" field.</summary> - public const int Fans14RPMPWMMinFieldNumber = 32; - private double fans14RPMPWMMin_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Fans14RPMPWMMin { - get { return fans14RPMPWMMin_; } - set { - fans14RPMPWMMin_ = value; - } - } - - /// <summary>Field number for the "Fans_1_4_PWM_max_Pct" field.</summary> - public const int Fans14PWMMaxPctFieldNumber = 33; - private double fans14PWMMaxPct_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Fans14PWMMaxPct { - get { return fans14PWMMaxPct_; } - set { - fans14PWMMaxPct_ = value; - } - } - - /// <summary>Field number for the "Fans_1_4_RPM_PWM_max" field.</summary> - public const int Fans14RPMPWMMaxFieldNumber = 34; - private double fans14RPMPWMMax_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Fans14RPMPWMMax { - get { return fans14RPMPWMMax_; } - set { - fans14RPMPWMMax_ = value; - } - } - - /// <summary>Field number for the "Fans_1_4_Nom_PWM_Pct" field.</summary> - public const int Fans14NomPWMPctFieldNumber = 35; - private double fans14NomPWMPct_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Fans14NomPWMPct { - get { return fans14NomPWMPct_; } - set { - fans14NomPWMPct_ = value; - } - } - - /// <summary>Field number for the "Fans_1_4_Nom_RPM" field.</summary> - public const int Fans14NomRPMFieldNumber = 36; - private double fans14NomRPM_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Fans14NomRPM { - get { return fans14NomRPM_; } - set { - fans14NomRPM_ = value; - } - } - - /// <summary>Field number for the "Fans_1_4_RPM_Limit_Pct_below_Nom" field.</summary> - public const int Fans14RPMLimitPctBelowNomFieldNumber = 37; - private double fans14RPMLimitPctBelowNom_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Fans14RPMLimitPctBelowNom { - get { return fans14RPMLimitPctBelowNom_; } - set { - fans14RPMLimitPctBelowNom_ = value; - } - } - - /// <summary>Field number for the "Fans_1_4_Pulse_Per_Revolution" field.</summary> - public const int Fans14PulsePerRevolutionFieldNumber = 38; - private double fans14PulsePerRevolution_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Fans14PulsePerRevolution { - get { return fans14PulsePerRevolution_; } - set { - fans14PulsePerRevolution_ = value; - } - } - - /// <summary>Field number for the "Fans_1_4_Spare1" field.</summary> - public const int Fans14Spare1FieldNumber = 39; - private double fans14Spare1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Fans14Spare1 { - get { return fans14Spare1_; } - set { - fans14Spare1_ = value; - } - } - - /// <summary>Field number for the "Fans_1_4_Spare2" field.</summary> - public const int Fans14Spare2FieldNumber = 40; - private double fans14Spare2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Fans14Spare2 { - get { return fans14Spare2_; } - set { - fans14Spare2_ = value; - } - } - - /// <summary>Field number for the "Fans_5_6_Nom_RPM" field.</summary> - public const int Fans56NomRPMFieldNumber = 41; - private double fans56NomRPM_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Fans56NomRPM { - get { return fans56NomRPM_; } - set { - fans56NomRPM_ = value; - } - } - - /// <summary>Field number for the "Fans_5_6_RPM_Limit_Pct_below_Nom" field.</summary> - public const int Fans56RPMLimitPctBelowNomFieldNumber = 42; - private double fans56RPMLimitPctBelowNom_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Fans56RPMLimitPctBelowNom { - get { return fans56RPMLimitPctBelowNom_; } - set { - fans56RPMLimitPctBelowNom_ = value; - } - } - - /// <summary>Field number for the "Fans_5_6_Pulse_Per_Revolution" field.</summary> - public const int Fans56PulsePerRevolutionFieldNumber = 43; - private double fans56PulsePerRevolution_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Fans56PulsePerRevolution { - get { return fans56PulsePerRevolution_; } - set { - fans56PulsePerRevolution_ = value; - } - } - - /// <summary>Field number for the "Fans_5_6_Spare1" field.</summary> - public const int Fans56Spare1FieldNumber = 44; - private double fans56Spare1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Fans56Spare1 { - get { return fans56Spare1_; } - set { - fans56Spare1_ = value; - } - } - - /// <summary>Field number for the "Fans_5_6_Spare2" field.</summary> - public const int Fans56Spare2FieldNumber = 45; - private double fans56Spare2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double Fans56Spare2 { - get { return fans56Spare2_; } - set { - fans56Spare2_ = value; - } - } - - /// <summary>Field number for the "Blower_P_Gain" field.</summary> - public const int BlowerPGainFieldNumber = 46; - private double blowerPGain_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double BlowerPGain { - get { return blowerPGain_; } - set { - blowerPGain_ = value; - } - } - - /// <summary>Field number for the "Blower_CFMRPM_min" field.</summary> - public const int BlowerCFMRPMMinFieldNumber = 47; - private double blowerCFMRPMMin_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double BlowerCFMRPMMin { - get { return blowerCFMRPMMin_; } - set { - blowerCFMRPMMin_ = value; - } - } - - /// <summary>Field number for the "Blower_RPM_CFM_max" field.</summary> - public const int BlowerRPMCFMMaxFieldNumber = 48; - private double blowerRPMCFMMax_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double BlowerRPMCFMMax { - get { return blowerRPMCFMMax_; } - set { - blowerRPMCFMMax_ = value; - } - } - - /// <summary>Field number for the "Blower_Calibration_factor" field.</summary> - public const int BlowerCalibrationFactorFieldNumber = 49; - private double blowerCalibrationFactor_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double BlowerCalibrationFactor { - get { return blowerCalibrationFactor_; } - set { - blowerCalibrationFactor_ = value; - } - } - - /// <summary>Field number for the "Blower_Spare1" field.</summary> - public const int BlowerSpare1FieldNumber = 50; - private double blowerSpare1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double BlowerSpare1 { - get { return blowerSpare1_; } - set { - blowerSpare1_ = value; - } - } - - /// <summary>Field number for the "Blower_Spare2" field.</summary> - public const int BlowerSpare2FieldNumber = 51; - private double blowerSpare2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double BlowerSpare2 { - get { return blowerSpare2_; } - set { - blowerSpare2_ = value; - } - } - - /// <summary>Field number for the "VOC_limit" field.</summary> - public const int VOCLimitFieldNumber = 52; - private double vOCLimit_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double VOCLimit { - get { return vOCLimit_; } - set { - vOCLimit_ = value; - } - } - - /// <summary>Field number for the "VOC_Spare1" field.</summary> - public const int VOCSpare1FieldNumber = 53; - private double vOCSpare1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double VOCSpare1 { - get { return vOCSpare1_; } - set { - vOCSpare1_ = value; - } - } - - /// <summary>Field number for the "VOC_Spare2" field.</summary> - public const int VOCSpare2FieldNumber = 54; - private double vOCSpare2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double VOCSpare2 { - get { return vOCSpare2_; } - set { - vOCSpare2_ = value; - } - } - - /// <summary>Field number for the "Controller_Comm_Type" field.</summary> - public const int ControllerCommTypeFieldNumber = 55; - private double controllerCommType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double ControllerCommType { - get { return controllerCommType_; } - set { - controllerCommType_ = value; - } - } - - /// <summary>Field number for the "Controller_Type" field.</summary> - public const int ControllerTypeFieldNumber = 56; - private double controllerType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double ControllerType { - get { return controllerType_; } - set { - controllerType_ = value; - } - } - - /// <summary>Field number for the "Sensor_type" field.</summary> - public const int SensorTypeFieldNumber = 57; - private double sensorType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double SensorType { - get { return sensorType_; } - set { - sensorType_ = value; - } - } - - /// <summary>Field number for the "Cooler_C_F" field.</summary> - public const int CoolerCFFieldNumber = 58; - private double coolerCF_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double CoolerCF { - get { return coolerCF_; } - set { - coolerCF_ = value; - } - } - - /// <summary>Field number for the "Cooler_SV" field.</summary> - public const int CoolerSVFieldNumber = 59; - private double coolerSV_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double CoolerSV { - get { return coolerSV_; } - set { - coolerSV_ = value; - } - } - - /// <summary>Field number for the "Cooler_P" field.</summary> - public const int CoolerPFieldNumber = 60; - private double coolerP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double CoolerP { - get { return coolerP_; } - set { - coolerP_ = value; - } - } - - /// <summary>Field number for the "Cooler_I" field.</summary> - public const int CoolerIFieldNumber = 61; - private double coolerI_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double CoolerI { - get { return coolerI_; } - set { - coolerI_ = value; - } - } - - /// <summary>Field number for the "Cooler_D" field.</summary> - public const int CoolerDFieldNumber = 62; - private double coolerD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double CoolerD { - get { return coolerD_; } - set { - coolerD_ = value; - } - } - - /// <summary>Field number for the "Warning_configuration_Par1" field.</summary> - public const int WarningConfigurationPar1FieldNumber = 63; - private double warningConfigurationPar1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double WarningConfigurationPar1 { - get { return warningConfigurationPar1_; } - set { - warningConfigurationPar1_ = value; - } - } - - /// <summary>Field number for the "Warning_configuration_Par2" field.</summary> - public const int WarningConfigurationPar2FieldNumber = 64; - private double warningConfigurationPar2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double WarningConfigurationPar2 { - get { return warningConfigurationPar2_; } - set { - warningConfigurationPar2_ = value; - } - } - - /// <summary>Field number for the "Warning_configuration_Par3" field.</summary> - public const int WarningConfigurationPar3FieldNumber = 65; - private double warningConfigurationPar3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double WarningConfigurationPar3 { - get { return warningConfigurationPar3_; } - set { - warningConfigurationPar3_ = value; - } - } - - /// <summary>Field number for the "Warning_configuration_Par4" field.</summary> - public const int WarningConfigurationPar4FieldNumber = 66; - private double warningConfigurationPar4_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double WarningConfigurationPar4 { - get { return warningConfigurationPar4_; } - set { - warningConfigurationPar4_ = value; - } - } - - /// <summary>Field number for the "Warning_configuration_Par5" field.</summary> - public const int WarningConfigurationPar5FieldNumber = 67; - private double warningConfigurationPar5_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double WarningConfigurationPar5 { - get { return warningConfigurationPar5_; } - set { - warningConfigurationPar5_ = value; - } - } - - /// <summary>Field number for the "Warning_configuration_Par6" field.</summary> - public const int WarningConfigurationPar6FieldNumber = 68; - private double warningConfigurationPar6_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double WarningConfigurationPar6 { - get { return warningConfigurationPar6_; } - set { - warningConfigurationPar6_ = value; - } - } - - /// <summary>Field number for the "Warning_threshold" field.</summary> - public const int WarningThresholdFieldNumber = 69; - private double warningThreshold_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double WarningThreshold { - get { return warningThreshold_; } - set { - warningThreshold_ = value; - } - } - - /// <summary>Field number for the "Controller_Spare1" field.</summary> - public const int ControllerSpare1FieldNumber = 70; - private double controllerSpare1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double ControllerSpare1 { - get { return controllerSpare1_; } - set { - controllerSpare1_ = value; - } - } - - /// <summary>Field number for the "Controller_Spare2" field.</summary> - public const int ControllerSpare2FieldNumber = 71; - private double controllerSpare2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double ControllerSpare2 { - get { return controllerSpare2_; } - set { - controllerSpare2_ = value; - } - } - - /// <summary>Field number for the "Controller_Spare3" field.</summary> - public const int ControllerSpare3FieldNumber = 72; - private double controllerSpare3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double ControllerSpare3 { - get { return controllerSpare3_; } - set { - controllerSpare3_ = value; - } - } - - /// <summary>Field number for the "Controller_Spare4" field.</summary> - public const int ControllerSpare4FieldNumber = 73; - private double controllerSpare4_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double ControllerSpare4 { - get { return controllerSpare4_; } - set { - controllerSpare4_ = value; - } - } - - /// <summary>Field number for the "Controller_Spare5" field.</summary> - public const int ControllerSpare5FieldNumber = 74; - private double controllerSpare5_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double ControllerSpare5 { - get { return controllerSpare5_; } - set { - controllerSpare5_ = value; - } - } - - /// <summary>Field number for the "Test_Date" field.</summary> - public const int TestDateFieldNumber = 75; - private double testDate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double TestDate { - get { return testDate_; } - set { - testDate_ = value; - } - } - - /// <summary>Field number for the "Test" field.</summary> - public const int TestFieldNumber = 76; - private string test_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Test { - get { return test_; } - set { - test_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "Waste_Pump_Flow_volume_per_sec" field.</summary> - public const int WastePumpFlowVolumePerSecFieldNumber = 77; - private double wastePumpFlowVolumePerSec_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double WastePumpFlowVolumePerSec { - get { return wastePumpFlowVolumePerSec_; } - set { - wastePumpFlowVolumePerSec_ = value; - } - } - - /// <summary>Field number for the "Waste_Pump_Flow_V_per_sec_Limit" field.</summary> - public const int WastePumpFlowVPerSecLimitFieldNumber = 78; - private double wastePumpFlowVPerSecLimit_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double WastePumpFlowVPerSecLimit { - get { return wastePumpFlowVPerSecLimit_; } - set { - wastePumpFlowVPerSecLimit_ = value; - } - } - - /// <summary>Field number for the "Filter_max_life_span" field.</summary> - public const int FilterMaxLifeSpanFieldNumber = 79; - private double filterMaxLifeSpan_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double FilterMaxLifeSpan { - get { return filterMaxLifeSpan_; } - set { - filterMaxLifeSpan_ = value; - } - } - - /// <summary>Field number for the "Filter_usage_hours" field.</summary> - public const int FilterUsageHoursFieldNumber = 80; - private double filterUsageHours_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double FilterUsageHours { - get { return filterUsageHours_; } - set { - filterUsageHours_ = value; - } - } - - /// <summary>Field number for the "VOCInstallationDate" field.</summary> - public const int VOCInstallationDateFieldNumber = 81; - private string vOCInstallationDate_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string VOCInstallationDate { - get { return vOCInstallationDate_; } - set { - vOCInstallationDate_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "FilterInstallationDate" field.</summary> - public const int FilterInstallationDateFieldNumber = 82; - private string filterInstallationDate_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string FilterInstallationDate { - get { return filterInstallationDate_; } - set { - filterInstallationDate_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "ProductionDate" field.</summary> - public const int ProductionDateFieldNumber = 83; - private string productionDate_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string ProductionDate { - get { return productionDate_; } - set { - productionDate_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "CheckSum" field.</summary> - public const int CheckSumFieldNumber = 84; - private uint checkSum_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public uint CheckSum { - get { return checkSum_; } - set { - checkSum_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as StubWhsEEpromData); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(StubWhsEEpromData other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Header != other.Header) return false; - if (TableLength != other.TableLength) return false; - if (TableVersion != other.TableVersion) return false; - if (WHSSN != other.WHSSN) return false; - if (PCBSN != other.PCBSN) return false; - if (WHSPartNumber != other.WHSPartNumber) return false; - if (PCBPartNumber != other.PCBPartNumber) return false; - if (RunningHours != other.RunningHours) return false; - if (SWReserve != other.SWReserve) return false; - if (ProductionTestDate != other.ProductionTestDate) return false; - if (TestPassFail != other.TestPassFail) return false; - if (ATSLocation != other.ATSLocation) return false; - if (OrificeWasteLevelV0Ml != other.OrificeWasteLevelV0Ml) return false; - if (FlowCalcCoefficientC != other.FlowCalcCoefficientC) return false; - if (Orifice1Flow != other.Orifice1Flow) return false; - if (Orifice1Slope != other.Orifice1Slope) return false; - if (Orifice1MaxPressure != other.Orifice1MaxPressure) return false; - if (Orifice1CalibrationFactor != other.Orifice1CalibrationFactor) return false; - if (Orifice2Flow != other.Orifice2Flow) return false; - if (Orifice2Slope != other.Orifice2Slope) return false; - if (Orifice2MaxPressure != other.Orifice2MaxPressure) return false; - if (Orifice2CalibrationFactor != other.Orifice2CalibrationFactor) return false; - if (Orifice3Flow != other.Orifice3Flow) return false; - if (Orifice3Slope != other.Orifice3Slope) return false; - if (Orifice3MaxPressure != other.Orifice3MaxPressure) return false; - if (Orifice3CalibrationFactor != other.Orifice3CalibrationFactor) return false; - if (OrificeValveFlow != other.OrificeValveFlow) return false; - if (OrificeValveSlope != other.OrificeValveSlope) return false; - if (OrificeValveMaxPressure != other.OrificeValveMaxPressure) return false; - if (OrificeValveCalibrationFactor != other.OrificeValveCalibrationFactor) return false; - if (Fans14PWMMinPct != other.Fans14PWMMinPct) return false; - if (Fans14RPMPWMMin != other.Fans14RPMPWMMin) return false; - if (Fans14PWMMaxPct != other.Fans14PWMMaxPct) return false; - if (Fans14RPMPWMMax != other.Fans14RPMPWMMax) return false; - if (Fans14NomPWMPct != other.Fans14NomPWMPct) return false; - if (Fans14NomRPM != other.Fans14NomRPM) return false; - if (Fans14RPMLimitPctBelowNom != other.Fans14RPMLimitPctBelowNom) return false; - if (Fans14PulsePerRevolution != other.Fans14PulsePerRevolution) return false; - if (Fans14Spare1 != other.Fans14Spare1) return false; - if (Fans14Spare2 != other.Fans14Spare2) return false; - if (Fans56NomRPM != other.Fans56NomRPM) return false; - if (Fans56RPMLimitPctBelowNom != other.Fans56RPMLimitPctBelowNom) return false; - if (Fans56PulsePerRevolution != other.Fans56PulsePerRevolution) return false; - if (Fans56Spare1 != other.Fans56Spare1) return false; - if (Fans56Spare2 != other.Fans56Spare2) return false; - if (BlowerPGain != other.BlowerPGain) return false; - if (BlowerCFMRPMMin != other.BlowerCFMRPMMin) return false; - if (BlowerRPMCFMMax != other.BlowerRPMCFMMax) return false; - if (BlowerCalibrationFactor != other.BlowerCalibrationFactor) return false; - if (BlowerSpare1 != other.BlowerSpare1) return false; - if (BlowerSpare2 != other.BlowerSpare2) return false; - if (VOCLimit != other.VOCLimit) return false; - if (VOCSpare1 != other.VOCSpare1) return false; - if (VOCSpare2 != other.VOCSpare2) return false; - if (ControllerCommType != other.ControllerCommType) return false; - if (ControllerType != other.ControllerType) return false; - if (SensorType != other.SensorType) return false; - if (CoolerCF != other.CoolerCF) return false; - if (CoolerSV != other.CoolerSV) return false; - if (CoolerP != other.CoolerP) return false; - if (CoolerI != other.CoolerI) return false; - if (CoolerD != other.CoolerD) return false; - if (WarningConfigurationPar1 != other.WarningConfigurationPar1) return false; - if (WarningConfigurationPar2 != other.WarningConfigurationPar2) return false; - if (WarningConfigurationPar3 != other.WarningConfigurationPar3) return false; - if (WarningConfigurationPar4 != other.WarningConfigurationPar4) return false; - if (WarningConfigurationPar5 != other.WarningConfigurationPar5) return false; - if (WarningConfigurationPar6 != other.WarningConfigurationPar6) return false; - if (WarningThreshold != other.WarningThreshold) return false; - if (ControllerSpare1 != other.ControllerSpare1) return false; - if (ControllerSpare2 != other.ControllerSpare2) return false; - if (ControllerSpare3 != other.ControllerSpare3) return false; - if (ControllerSpare4 != other.ControllerSpare4) return false; - if (ControllerSpare5 != other.ControllerSpare5) return false; - if (TestDate != other.TestDate) return false; - if (Test != other.Test) return false; - if (WastePumpFlowVolumePerSec != other.WastePumpFlowVolumePerSec) return false; - if (WastePumpFlowVPerSecLimit != other.WastePumpFlowVPerSecLimit) return false; - if (FilterMaxLifeSpan != other.FilterMaxLifeSpan) return false; - if (FilterUsageHours != other.FilterUsageHours) return false; - if (VOCInstallationDate != other.VOCInstallationDate) return false; - if (FilterInstallationDate != other.FilterInstallationDate) return false; - if (ProductionDate != other.ProductionDate) return false; - if (CheckSum != other.CheckSum) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (Header != 0) hash ^= Header.GetHashCode(); - if (TableLength != 0) hash ^= TableLength.GetHashCode(); - if (TableVersion != 0) hash ^= TableVersion.GetHashCode(); - if (WHSSN.Length != 0) hash ^= WHSSN.GetHashCode(); - if (PCBSN.Length != 0) hash ^= PCBSN.GetHashCode(); - if (WHSPartNumber.Length != 0) hash ^= WHSPartNumber.GetHashCode(); - if (PCBPartNumber.Length != 0) hash ^= PCBPartNumber.GetHashCode(); - if (RunningHours != 0) hash ^= RunningHours.GetHashCode(); - if (SWReserve != 0) hash ^= SWReserve.GetHashCode(); - if (ProductionTestDate.Length != 0) hash ^= ProductionTestDate.GetHashCode(); - if (TestPassFail.Length != 0) hash ^= TestPassFail.GetHashCode(); - if (ATSLocation != 0) hash ^= ATSLocation.GetHashCode(); - if (OrificeWasteLevelV0Ml != 0D) hash ^= OrificeWasteLevelV0Ml.GetHashCode(); - if (FlowCalcCoefficientC != 0D) hash ^= FlowCalcCoefficientC.GetHashCode(); - if (Orifice1Flow != 0D) hash ^= Orifice1Flow.GetHashCode(); - if (Orifice1Slope != 0D) hash ^= Orifice1Slope.GetHashCode(); - if (Orifice1MaxPressure != 0D) hash ^= Orifice1MaxPressure.GetHashCode(); - if (Orifice1CalibrationFactor != 0D) hash ^= Orifice1CalibrationFactor.GetHashCode(); - if (Orifice2Flow != 0D) hash ^= Orifice2Flow.GetHashCode(); - if (Orifice2Slope != 0D) hash ^= Orifice2Slope.GetHashCode(); - if (Orifice2MaxPressure != 0D) hash ^= Orifice2MaxPressure.GetHashCode(); - if (Orifice2CalibrationFactor != 0D) hash ^= Orifice2CalibrationFactor.GetHashCode(); - if (Orifice3Flow != 0D) hash ^= Orifice3Flow.GetHashCode(); - if (Orifice3Slope != 0D) hash ^= Orifice3Slope.GetHashCode(); - if (Orifice3MaxPressure != 0D) hash ^= Orifice3MaxPressure.GetHashCode(); - if (Orifice3CalibrationFactor != 0D) hash ^= Orifice3CalibrationFactor.GetHashCode(); - if (OrificeValveFlow != 0D) hash ^= OrificeValveFlow.GetHashCode(); - if (OrificeValveSlope != 0D) hash ^= OrificeValveSlope.GetHashCode(); - if (OrificeValveMaxPressure != 0D) hash ^= OrificeValveMaxPressure.GetHashCode(); - if (OrificeValveCalibrationFactor != 0D) hash ^= OrificeValveCalibrationFactor.GetHashCode(); - if (Fans14PWMMinPct != 0D) hash ^= Fans14PWMMinPct.GetHashCode(); - if (Fans14RPMPWMMin != 0D) hash ^= Fans14RPMPWMMin.GetHashCode(); - if (Fans14PWMMaxPct != 0D) hash ^= Fans14PWMMaxPct.GetHashCode(); - if (Fans14RPMPWMMax != 0D) hash ^= Fans14RPMPWMMax.GetHashCode(); - if (Fans14NomPWMPct != 0D) hash ^= Fans14NomPWMPct.GetHashCode(); - if (Fans14NomRPM != 0D) hash ^= Fans14NomRPM.GetHashCode(); - if (Fans14RPMLimitPctBelowNom != 0D) hash ^= Fans14RPMLimitPctBelowNom.GetHashCode(); - if (Fans14PulsePerRevolution != 0D) hash ^= Fans14PulsePerRevolution.GetHashCode(); - if (Fans14Spare1 != 0D) hash ^= Fans14Spare1.GetHashCode(); - if (Fans14Spare2 != 0D) hash ^= Fans14Spare2.GetHashCode(); - if (Fans56NomRPM != 0D) hash ^= Fans56NomRPM.GetHashCode(); - if (Fans56RPMLimitPctBelowNom != 0D) hash ^= Fans56RPMLimitPctBelowNom.GetHashCode(); - if (Fans56PulsePerRevolution != 0D) hash ^= Fans56PulsePerRevolution.GetHashCode(); - if (Fans56Spare1 != 0D) hash ^= Fans56Spare1.GetHashCode(); - if (Fans56Spare2 != 0D) hash ^= Fans56Spare2.GetHashCode(); - if (BlowerPGain != 0D) hash ^= BlowerPGain.GetHashCode(); - if (BlowerCFMRPMMin != 0D) hash ^= BlowerCFMRPMMin.GetHashCode(); - if (BlowerRPMCFMMax != 0D) hash ^= BlowerRPMCFMMax.GetHashCode(); - if (BlowerCalibrationFactor != 0D) hash ^= BlowerCalibrationFactor.GetHashCode(); - if (BlowerSpare1 != 0D) hash ^= BlowerSpare1.GetHashCode(); - if (BlowerSpare2 != 0D) hash ^= BlowerSpare2.GetHashCode(); - if (VOCLimit != 0D) hash ^= VOCLimit.GetHashCode(); - if (VOCSpare1 != 0D) hash ^= VOCSpare1.GetHashCode(); - if (VOCSpare2 != 0D) hash ^= VOCSpare2.GetHashCode(); - if (ControllerCommType != 0D) hash ^= ControllerCommType.GetHashCode(); - if (ControllerType != 0D) hash ^= ControllerType.GetHashCode(); - if (SensorType != 0D) hash ^= SensorType.GetHashCode(); - if (CoolerCF != 0D) hash ^= CoolerCF.GetHashCode(); - if (CoolerSV != 0D) hash ^= CoolerSV.GetHashCode(); - if (CoolerP != 0D) hash ^= CoolerP.GetHashCode(); - if (CoolerI != 0D) hash ^= CoolerI.GetHashCode(); - if (CoolerD != 0D) hash ^= CoolerD.GetHashCode(); - if (WarningConfigurationPar1 != 0D) hash ^= WarningConfigurationPar1.GetHashCode(); - if (WarningConfigurationPar2 != 0D) hash ^= WarningConfigurationPar2.GetHashCode(); - if (WarningConfigurationPar3 != 0D) hash ^= WarningConfigurationPar3.GetHashCode(); - if (WarningConfigurationPar4 != 0D) hash ^= WarningConfigurationPar4.GetHashCode(); - if (WarningConfigurationPar5 != 0D) hash ^= WarningConfigurationPar5.GetHashCode(); - if (WarningConfigurationPar6 != 0D) hash ^= WarningConfigurationPar6.GetHashCode(); - if (WarningThreshold != 0D) hash ^= WarningThreshold.GetHashCode(); - if (ControllerSpare1 != 0D) hash ^= ControllerSpare1.GetHashCode(); - if (ControllerSpare2 != 0D) hash ^= ControllerSpare2.GetHashCode(); - if (ControllerSpare3 != 0D) hash ^= ControllerSpare3.GetHashCode(); - if (ControllerSpare4 != 0D) hash ^= ControllerSpare4.GetHashCode(); - if (ControllerSpare5 != 0D) hash ^= ControllerSpare5.GetHashCode(); - if (TestDate != 0D) hash ^= TestDate.GetHashCode(); - if (Test.Length != 0) hash ^= Test.GetHashCode(); - if (WastePumpFlowVolumePerSec != 0D) hash ^= WastePumpFlowVolumePerSec.GetHashCode(); - if (WastePumpFlowVPerSecLimit != 0D) hash ^= WastePumpFlowVPerSecLimit.GetHashCode(); - if (FilterMaxLifeSpan != 0D) hash ^= FilterMaxLifeSpan.GetHashCode(); - if (FilterUsageHours != 0D) hash ^= FilterUsageHours.GetHashCode(); - if (VOCInstallationDate.Length != 0) hash ^= VOCInstallationDate.GetHashCode(); - if (FilterInstallationDate.Length != 0) hash ^= FilterInstallationDate.GetHashCode(); - if (ProductionDate.Length != 0) hash ^= ProductionDate.GetHashCode(); - if (CheckSum != 0) hash ^= CheckSum.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (Header != 0) { - output.WriteRawTag(8); - output.WriteUInt32(Header); - } - if (TableLength != 0) { - output.WriteRawTag(16); - output.WriteUInt32(TableLength); - } - if (TableVersion != 0) { - output.WriteRawTag(24); - output.WriteUInt32(TableVersion); - } - if (WHSSN.Length != 0) { - output.WriteRawTag(34); - output.WriteString(WHSSN); - } - if (PCBSN.Length != 0) { - output.WriteRawTag(42); - output.WriteString(PCBSN); - } - if (WHSPartNumber.Length != 0) { - output.WriteRawTag(50); - output.WriteString(WHSPartNumber); - } - if (PCBPartNumber.Length != 0) { - output.WriteRawTag(58); - output.WriteString(PCBPartNumber); - } - if (RunningHours != 0) { - output.WriteRawTag(64); - output.WriteUInt32(RunningHours); - } - if (SWReserve != 0) { - output.WriteRawTag(72); - output.WriteUInt32(SWReserve); - } - if (ProductionTestDate.Length != 0) { - output.WriteRawTag(82); - output.WriteString(ProductionTestDate); - } - if (TestPassFail.Length != 0) { - output.WriteRawTag(90); - output.WriteString(TestPassFail); - } - if (ATSLocation != 0) { - output.WriteRawTag(96); - output.WriteUInt32(ATSLocation); - } - if (OrificeWasteLevelV0Ml != 0D) { - output.WriteRawTag(105); - output.WriteDouble(OrificeWasteLevelV0Ml); - } - if (FlowCalcCoefficientC != 0D) { - output.WriteRawTag(113); - output.WriteDouble(FlowCalcCoefficientC); - } - if (Orifice1Flow != 0D) { - output.WriteRawTag(121); - output.WriteDouble(Orifice1Flow); - } - if (Orifice1Slope != 0D) { - output.WriteRawTag(129, 1); - output.WriteDouble(Orifice1Slope); - } - if (Orifice1MaxPressure != 0D) { - output.WriteRawTag(137, 1); - output.WriteDouble(Orifice1MaxPressure); - } - if (Orifice1CalibrationFactor != 0D) { - output.WriteRawTag(145, 1); - output.WriteDouble(Orifice1CalibrationFactor); - } - if (Orifice2Flow != 0D) { - output.WriteRawTag(153, 1); - output.WriteDouble(Orifice2Flow); - } - if (Orifice2Slope != 0D) { - output.WriteRawTag(161, 1); - output.WriteDouble(Orifice2Slope); - } - if (Orifice2MaxPressure != 0D) { - output.WriteRawTag(169, 1); - output.WriteDouble(Orifice2MaxPressure); - } - if (Orifice2CalibrationFactor != 0D) { - output.WriteRawTag(177, 1); - output.WriteDouble(Orifice2CalibrationFactor); - } - if (Orifice3Flow != 0D) { - output.WriteRawTag(185, 1); - output.WriteDouble(Orifice3Flow); - } - if (Orifice3Slope != 0D) { - output.WriteRawTag(193, 1); - output.WriteDouble(Orifice3Slope); - } - if (Orifice3MaxPressure != 0D) { - output.WriteRawTag(201, 1); - output.WriteDouble(Orifice3MaxPressure); - } - if (Orifice3CalibrationFactor != 0D) { - output.WriteRawTag(209, 1); - output.WriteDouble(Orifice3CalibrationFactor); - } - if (OrificeValveFlow != 0D) { - output.WriteRawTag(217, 1); - output.WriteDouble(OrificeValveFlow); - } - if (OrificeValveSlope != 0D) { - output.WriteRawTag(225, 1); - output.WriteDouble(OrificeValveSlope); - } - if (OrificeValveMaxPressure != 0D) { - output.WriteRawTag(233, 1); - output.WriteDouble(OrificeValveMaxPressure); - } - if (OrificeValveCalibrationFactor != 0D) { - output.WriteRawTag(241, 1); - output.WriteDouble(OrificeValveCalibrationFactor); - } - if (Fans14PWMMinPct != 0D) { - output.WriteRawTag(249, 1); - output.WriteDouble(Fans14PWMMinPct); - } - if (Fans14RPMPWMMin != 0D) { - output.WriteRawTag(129, 2); - output.WriteDouble(Fans14RPMPWMMin); - } - if (Fans14PWMMaxPct != 0D) { - output.WriteRawTag(137, 2); - output.WriteDouble(Fans14PWMMaxPct); - } - if (Fans14RPMPWMMax != 0D) { - output.WriteRawTag(145, 2); - output.WriteDouble(Fans14RPMPWMMax); - } - if (Fans14NomPWMPct != 0D) { - output.WriteRawTag(153, 2); - output.WriteDouble(Fans14NomPWMPct); - } - if (Fans14NomRPM != 0D) { - output.WriteRawTag(161, 2); - output.WriteDouble(Fans14NomRPM); - } - if (Fans14RPMLimitPctBelowNom != 0D) { - output.WriteRawTag(169, 2); - output.WriteDouble(Fans14RPMLimitPctBelowNom); - } - if (Fans14PulsePerRevolution != 0D) { - output.WriteRawTag(177, 2); - output.WriteDouble(Fans14PulsePerRevolution); - } - if (Fans14Spare1 != 0D) { - output.WriteRawTag(185, 2); - output.WriteDouble(Fans14Spare1); - } - if (Fans14Spare2 != 0D) { - output.WriteRawTag(193, 2); - output.WriteDouble(Fans14Spare2); - } - if (Fans56NomRPM != 0D) { - output.WriteRawTag(201, 2); - output.WriteDouble(Fans56NomRPM); - } - if (Fans56RPMLimitPctBelowNom != 0D) { - output.WriteRawTag(209, 2); - output.WriteDouble(Fans56RPMLimitPctBelowNom); - } - if (Fans56PulsePerRevolution != 0D) { - output.WriteRawTag(217, 2); - output.WriteDouble(Fans56PulsePerRevolution); - } - if (Fans56Spare1 != 0D) { - output.WriteRawTag(225, 2); - output.WriteDouble(Fans56Spare1); - } - if (Fans56Spare2 != 0D) { - output.WriteRawTag(233, 2); - output.WriteDouble(Fans56Spare2); - } - if (BlowerPGain != 0D) { - output.WriteRawTag(241, 2); - output.WriteDouble(BlowerPGain); - } - if (BlowerCFMRPMMin != 0D) { - output.WriteRawTag(249, 2); - output.WriteDouble(BlowerCFMRPMMin); - } - if (BlowerRPMCFMMax != 0D) { - output.WriteRawTag(129, 3); - output.WriteDouble(BlowerRPMCFMMax); - } - if (BlowerCalibrationFactor != 0D) { - output.WriteRawTag(137, 3); - output.WriteDouble(BlowerCalibrationFactor); - } - if (BlowerSpare1 != 0D) { - output.WriteRawTag(145, 3); - output.WriteDouble(BlowerSpare1); - } - if (BlowerSpare2 != 0D) { - output.WriteRawTag(153, 3); - output.WriteDouble(BlowerSpare2); - } - if (VOCLimit != 0D) { - output.WriteRawTag(161, 3); - output.WriteDouble(VOCLimit); - } - if (VOCSpare1 != 0D) { - output.WriteRawTag(169, 3); - output.WriteDouble(VOCSpare1); - } - if (VOCSpare2 != 0D) { - output.WriteRawTag(177, 3); - output.WriteDouble(VOCSpare2); - } - if (ControllerCommType != 0D) { - output.WriteRawTag(185, 3); - output.WriteDouble(ControllerCommType); - } - if (ControllerType != 0D) { - output.WriteRawTag(193, 3); - output.WriteDouble(ControllerType); - } - if (SensorType != 0D) { - output.WriteRawTag(201, 3); - output.WriteDouble(SensorType); - } - if (CoolerCF != 0D) { - output.WriteRawTag(209, 3); - output.WriteDouble(CoolerCF); - } - if (CoolerSV != 0D) { - output.WriteRawTag(217, 3); - output.WriteDouble(CoolerSV); - } - if (CoolerP != 0D) { - output.WriteRawTag(225, 3); - output.WriteDouble(CoolerP); - } - if (CoolerI != 0D) { - output.WriteRawTag(233, 3); - output.WriteDouble(CoolerI); - } - if (CoolerD != 0D) { - output.WriteRawTag(241, 3); - output.WriteDouble(CoolerD); - } - if (WarningConfigurationPar1 != 0D) { - output.WriteRawTag(249, 3); - output.WriteDouble(WarningConfigurationPar1); - } - if (WarningConfigurationPar2 != 0D) { - output.WriteRawTag(129, 4); - output.WriteDouble(WarningConfigurationPar2); - } - if (WarningConfigurationPar3 != 0D) { - output.WriteRawTag(137, 4); - output.WriteDouble(WarningConfigurationPar3); - } - if (WarningConfigurationPar4 != 0D) { - output.WriteRawTag(145, 4); - output.WriteDouble(WarningConfigurationPar4); - } - if (WarningConfigurationPar5 != 0D) { - output.WriteRawTag(153, 4); - output.WriteDouble(WarningConfigurationPar5); - } - if (WarningConfigurationPar6 != 0D) { - output.WriteRawTag(161, 4); - output.WriteDouble(WarningConfigurationPar6); - } - if (WarningThreshold != 0D) { - output.WriteRawTag(169, 4); - output.WriteDouble(WarningThreshold); - } - if (ControllerSpare1 != 0D) { - output.WriteRawTag(177, 4); - output.WriteDouble(ControllerSpare1); - } - if (ControllerSpare2 != 0D) { - output.WriteRawTag(185, 4); - output.WriteDouble(ControllerSpare2); - } - if (ControllerSpare3 != 0D) { - output.WriteRawTag(193, 4); - output.WriteDouble(ControllerSpare3); - } - if (ControllerSpare4 != 0D) { - output.WriteRawTag(201, 4); - output.WriteDouble(ControllerSpare4); - } - if (ControllerSpare5 != 0D) { - output.WriteRawTag(209, 4); - output.WriteDouble(ControllerSpare5); - } - if (TestDate != 0D) { - output.WriteRawTag(217, 4); - output.WriteDouble(TestDate); - } - if (Test.Length != 0) { - output.WriteRawTag(226, 4); - output.WriteString(Test); - } - if (WastePumpFlowVolumePerSec != 0D) { - output.WriteRawTag(233, 4); - output.WriteDouble(WastePumpFlowVolumePerSec); - } - if (WastePumpFlowVPerSecLimit != 0D) { - output.WriteRawTag(241, 4); - output.WriteDouble(WastePumpFlowVPerSecLimit); - } - if (FilterMaxLifeSpan != 0D) { - output.WriteRawTag(249, 4); - output.WriteDouble(FilterMaxLifeSpan); - } - if (FilterUsageHours != 0D) { - output.WriteRawTag(129, 5); - output.WriteDouble(FilterUsageHours); - } - if (VOCInstallationDate.Length != 0) { - output.WriteRawTag(138, 5); - output.WriteString(VOCInstallationDate); - } - if (FilterInstallationDate.Length != 0) { - output.WriteRawTag(146, 5); - output.WriteString(FilterInstallationDate); - } - if (ProductionDate.Length != 0) { - output.WriteRawTag(154, 5); - output.WriteString(ProductionDate); - } - if (CheckSum != 0) { - output.WriteRawTag(160, 5); - output.WriteUInt32(CheckSum); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (Header != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Header); - } - if (TableLength != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TableLength); - } - if (TableVersion != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TableVersion); - } - if (WHSSN.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(WHSSN); - } - if (PCBSN.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PCBSN); - } - if (WHSPartNumber.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(WHSPartNumber); - } - if (PCBPartNumber.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PCBPartNumber); - } - if (RunningHours != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RunningHours); - } - if (SWReserve != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SWReserve); - } - if (ProductionTestDate.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ProductionTestDate); - } - if (TestPassFail.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(TestPassFail); - } - if (ATSLocation != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ATSLocation); - } - if (OrificeWasteLevelV0Ml != 0D) { - size += 1 + 8; - } - if (FlowCalcCoefficientC != 0D) { - size += 1 + 8; - } - if (Orifice1Flow != 0D) { - size += 1 + 8; - } - if (Orifice1Slope != 0D) { - size += 2 + 8; - } - if (Orifice1MaxPressure != 0D) { - size += 2 + 8; - } - if (Orifice1CalibrationFactor != 0D) { - size += 2 + 8; - } - if (Orifice2Flow != 0D) { - size += 2 + 8; - } - if (Orifice2Slope != 0D) { - size += 2 + 8; - } - if (Orifice2MaxPressure != 0D) { - size += 2 + 8; - } - if (Orifice2CalibrationFactor != 0D) { - size += 2 + 8; - } - if (Orifice3Flow != 0D) { - size += 2 + 8; - } - if (Orifice3Slope != 0D) { - size += 2 + 8; - } - if (Orifice3MaxPressure != 0D) { - size += 2 + 8; - } - if (Orifice3CalibrationFactor != 0D) { - size += 2 + 8; - } - if (OrificeValveFlow != 0D) { - size += 2 + 8; - } - if (OrificeValveSlope != 0D) { - size += 2 + 8; - } - if (OrificeValveMaxPressure != 0D) { - size += 2 + 8; - } - if (OrificeValveCalibrationFactor != 0D) { - size += 2 + 8; - } - if (Fans14PWMMinPct != 0D) { - size += 2 + 8; - } - if (Fans14RPMPWMMin != 0D) { - size += 2 + 8; - } - if (Fans14PWMMaxPct != 0D) { - size += 2 + 8; - } - if (Fans14RPMPWMMax != 0D) { - size += 2 + 8; - } - if (Fans14NomPWMPct != 0D) { - size += 2 + 8; - } - if (Fans14NomRPM != 0D) { - size += 2 + 8; - } - if (Fans14RPMLimitPctBelowNom != 0D) { - size += 2 + 8; - } - if (Fans14PulsePerRevolution != 0D) { - size += 2 + 8; - } - if (Fans14Spare1 != 0D) { - size += 2 + 8; - } - if (Fans14Spare2 != 0D) { - size += 2 + 8; - } - if (Fans56NomRPM != 0D) { - size += 2 + 8; - } - if (Fans56RPMLimitPctBelowNom != 0D) { - size += 2 + 8; - } - if (Fans56PulsePerRevolution != 0D) { - size += 2 + 8; - } - if (Fans56Spare1 != 0D) { - size += 2 + 8; - } - if (Fans56Spare2 != 0D) { - size += 2 + 8; - } - if (BlowerPGain != 0D) { - size += 2 + 8; - } - if (BlowerCFMRPMMin != 0D) { - size += 2 + 8; - } - if (BlowerRPMCFMMax != 0D) { - size += 2 + 8; - } - if (BlowerCalibrationFactor != 0D) { - size += 2 + 8; - } - if (BlowerSpare1 != 0D) { - size += 2 + 8; - } - if (BlowerSpare2 != 0D) { - size += 2 + 8; - } - if (VOCLimit != 0D) { - size += 2 + 8; - } - if (VOCSpare1 != 0D) { - size += 2 + 8; - } - if (VOCSpare2 != 0D) { - size += 2 + 8; - } - if (ControllerCommType != 0D) { - size += 2 + 8; - } - if (ControllerType != 0D) { - size += 2 + 8; - } - if (SensorType != 0D) { - size += 2 + 8; - } - if (CoolerCF != 0D) { - size += 2 + 8; - } - if (CoolerSV != 0D) { - size += 2 + 8; - } - if (CoolerP != 0D) { - size += 2 + 8; - } - if (CoolerI != 0D) { - size += 2 + 8; - } - if (CoolerD != 0D) { - size += 2 + 8; - } - if (WarningConfigurationPar1 != 0D) { - size += 2 + 8; - } - if (WarningConfigurationPar2 != 0D) { - size += 2 + 8; - } - if (WarningConfigurationPar3 != 0D) { - size += 2 + 8; - } - if (WarningConfigurationPar4 != 0D) { - size += 2 + 8; - } - if (WarningConfigurationPar5 != 0D) { - size += 2 + 8; - } - if (WarningConfigurationPar6 != 0D) { - size += 2 + 8; - } - if (WarningThreshold != 0D) { - size += 2 + 8; - } - if (ControllerSpare1 != 0D) { - size += 2 + 8; - } - if (ControllerSpare2 != 0D) { - size += 2 + 8; - } - if (ControllerSpare3 != 0D) { - size += 2 + 8; - } - if (ControllerSpare4 != 0D) { - size += 2 + 8; - } - if (ControllerSpare5 != 0D) { - size += 2 + 8; - } - if (TestDate != 0D) { - size += 2 + 8; - } - if (Test.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Test); - } - if (WastePumpFlowVolumePerSec != 0D) { - size += 2 + 8; - } - if (WastePumpFlowVPerSecLimit != 0D) { - size += 2 + 8; - } - if (FilterMaxLifeSpan != 0D) { - size += 2 + 8; - } - if (FilterUsageHours != 0D) { - size += 2 + 8; - } - if (VOCInstallationDate.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(VOCInstallationDate); - } - if (FilterInstallationDate.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(FilterInstallationDate); - } - if (ProductionDate.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(ProductionDate); - } - if (CheckSum != 0) { - size += 2 + pb::CodedOutputStream.ComputeUInt32Size(CheckSum); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(StubWhsEEpromData other) { - if (other == null) { - return; - } - if (other.Header != 0) { - Header = other.Header; - } - if (other.TableLength != 0) { - TableLength = other.TableLength; - } - if (other.TableVersion != 0) { - TableVersion = other.TableVersion; - } - if (other.WHSSN.Length != 0) { - WHSSN = other.WHSSN; - } - if (other.PCBSN.Length != 0) { - PCBSN = other.PCBSN; - } - if (other.WHSPartNumber.Length != 0) { - WHSPartNumber = other.WHSPartNumber; - } - if (other.PCBPartNumber.Length != 0) { - PCBPartNumber = other.PCBPartNumber; - } - if (other.RunningHours != 0) { - RunningHours = other.RunningHours; - } - if (other.SWReserve != 0) { - SWReserve = other.SWReserve; - } - if (other.ProductionTestDate.Length != 0) { - ProductionTestDate = other.ProductionTestDate; - } - if (other.TestPassFail.Length != 0) { - TestPassFail = other.TestPassFail; - } - if (other.ATSLocation != 0) { - ATSLocation = other.ATSLocation; - } - if (other.OrificeWasteLevelV0Ml != 0D) { - OrificeWasteLevelV0Ml = other.OrificeWasteLevelV0Ml; - } - if (other.FlowCalcCoefficientC != 0D) { - FlowCalcCoefficientC = other.FlowCalcCoefficientC; - } - if (other.Orifice1Flow != 0D) { - Orifice1Flow = other.Orifice1Flow; - } - if (other.Orifice1Slope != 0D) { - Orifice1Slope = other.Orifice1Slope; - } - if (other.Orifice1MaxPressure != 0D) { - Orifice1MaxPressure = other.Orifice1MaxPressure; - } - if (other.Orifice1CalibrationFactor != 0D) { - Orifice1CalibrationFactor = other.Orifice1CalibrationFactor; - } - if (other.Orifice2Flow != 0D) { - Orifice2Flow = other.Orifice2Flow; - } - if (other.Orifice2Slope != 0D) { - Orifice2Slope = other.Orifice2Slope; - } - if (other.Orifice2MaxPressure != 0D) { - Orifice2MaxPressure = other.Orifice2MaxPressure; - } - if (other.Orifice2CalibrationFactor != 0D) { - Orifice2CalibrationFactor = other.Orifice2CalibrationFactor; - } - if (other.Orifice3Flow != 0D) { - Orifice3Flow = other.Orifice3Flow; - } - if (other.Orifice3Slope != 0D) { - Orifice3Slope = other.Orifice3Slope; - } - if (other.Orifice3MaxPressure != 0D) { - Orifice3MaxPressure = other.Orifice3MaxPressure; - } - if (other.Orifice3CalibrationFactor != 0D) { - Orifice3CalibrationFactor = other.Orifice3CalibrationFactor; - } - if (other.OrificeValveFlow != 0D) { - OrificeValveFlow = other.OrificeValveFlow; - } - if (other.OrificeValveSlope != 0D) { - OrificeValveSlope = other.OrificeValveSlope; - } - if (other.OrificeValveMaxPressure != 0D) { - OrificeValveMaxPressure = other.OrificeValveMaxPressure; - } - if (other.OrificeValveCalibrationFactor != 0D) { - OrificeValveCalibrationFactor = other.OrificeValveCalibrationFactor; - } - if (other.Fans14PWMMinPct != 0D) { - Fans14PWMMinPct = other.Fans14PWMMinPct; - } - if (other.Fans14RPMPWMMin != 0D) { - Fans14RPMPWMMin = other.Fans14RPMPWMMin; - } - if (other.Fans14PWMMaxPct != 0D) { - Fans14PWMMaxPct = other.Fans14PWMMaxPct; - } - if (other.Fans14RPMPWMMax != 0D) { - Fans14RPMPWMMax = other.Fans14RPMPWMMax; - } - if (other.Fans14NomPWMPct != 0D) { - Fans14NomPWMPct = other.Fans14NomPWMPct; - } - if (other.Fans14NomRPM != 0D) { - Fans14NomRPM = other.Fans14NomRPM; - } - if (other.Fans14RPMLimitPctBelowNom != 0D) { - Fans14RPMLimitPctBelowNom = other.Fans14RPMLimitPctBelowNom; - } - if (other.Fans14PulsePerRevolution != 0D) { - Fans14PulsePerRevolution = other.Fans14PulsePerRevolution; - } - if (other.Fans14Spare1 != 0D) { - Fans14Spare1 = other.Fans14Spare1; - } - if (other.Fans14Spare2 != 0D) { - Fans14Spare2 = other.Fans14Spare2; - } - if (other.Fans56NomRPM != 0D) { - Fans56NomRPM = other.Fans56NomRPM; - } - if (other.Fans56RPMLimitPctBelowNom != 0D) { - Fans56RPMLimitPctBelowNom = other.Fans56RPMLimitPctBelowNom; - } - if (other.Fans56PulsePerRevolution != 0D) { - Fans56PulsePerRevolution = other.Fans56PulsePerRevolution; - } - if (other.Fans56Spare1 != 0D) { - Fans56Spare1 = other.Fans56Spare1; - } - if (other.Fans56Spare2 != 0D) { - Fans56Spare2 = other.Fans56Spare2; - } - if (other.BlowerPGain != 0D) { - BlowerPGain = other.BlowerPGain; - } - if (other.BlowerCFMRPMMin != 0D) { - BlowerCFMRPMMin = other.BlowerCFMRPMMin; - } - if (other.BlowerRPMCFMMax != 0D) { - BlowerRPMCFMMax = other.BlowerRPMCFMMax; - } - if (other.BlowerCalibrationFactor != 0D) { - BlowerCalibrationFactor = other.BlowerCalibrationFactor; - } - if (other.BlowerSpare1 != 0D) { - BlowerSpare1 = other.BlowerSpare1; - } - if (other.BlowerSpare2 != 0D) { - BlowerSpare2 = other.BlowerSpare2; - } - if (other.VOCLimit != 0D) { - VOCLimit = other.VOCLimit; - } - if (other.VOCSpare1 != 0D) { - VOCSpare1 = other.VOCSpare1; - } - if (other.VOCSpare2 != 0D) { - VOCSpare2 = other.VOCSpare2; - } - if (other.ControllerCommType != 0D) { - ControllerCommType = other.ControllerCommType; - } - if (other.ControllerType != 0D) { - ControllerType = other.ControllerType; - } - if (other.SensorType != 0D) { - SensorType = other.SensorType; - } - if (other.CoolerCF != 0D) { - CoolerCF = other.CoolerCF; - } - if (other.CoolerSV != 0D) { - CoolerSV = other.CoolerSV; - } - if (other.CoolerP != 0D) { - CoolerP = other.CoolerP; - } - if (other.CoolerI != 0D) { - CoolerI = other.CoolerI; - } - if (other.CoolerD != 0D) { - CoolerD = other.CoolerD; - } - if (other.WarningConfigurationPar1 != 0D) { - WarningConfigurationPar1 = other.WarningConfigurationPar1; - } - if (other.WarningConfigurationPar2 != 0D) { - WarningConfigurationPar2 = other.WarningConfigurationPar2; - } - if (other.WarningConfigurationPar3 != 0D) { - WarningConfigurationPar3 = other.WarningConfigurationPar3; - } - if (other.WarningConfigurationPar4 != 0D) { - WarningConfigurationPar4 = other.WarningConfigurationPar4; - } - if (other.WarningConfigurationPar5 != 0D) { - WarningConfigurationPar5 = other.WarningConfigurationPar5; - } - if (other.WarningConfigurationPar6 != 0D) { - WarningConfigurationPar6 = other.WarningConfigurationPar6; - } - if (other.WarningThreshold != 0D) { - WarningThreshold = other.WarningThreshold; - } - if (other.ControllerSpare1 != 0D) { - ControllerSpare1 = other.ControllerSpare1; - } - if (other.ControllerSpare2 != 0D) { - ControllerSpare2 = other.ControllerSpare2; - } - if (other.ControllerSpare3 != 0D) { - ControllerSpare3 = other.ControllerSpare3; - } - if (other.ControllerSpare4 != 0D) { - ControllerSpare4 = other.ControllerSpare4; - } - if (other.ControllerSpare5 != 0D) { - ControllerSpare5 = other.ControllerSpare5; - } - if (other.TestDate != 0D) { - TestDate = other.TestDate; - } - if (other.Test.Length != 0) { - Test = other.Test; - } - if (other.WastePumpFlowVolumePerSec != 0D) { - WastePumpFlowVolumePerSec = other.WastePumpFlowVolumePerSec; - } - if (other.WastePumpFlowVPerSecLimit != 0D) { - WastePumpFlowVPerSecLimit = other.WastePumpFlowVPerSecLimit; - } - if (other.FilterMaxLifeSpan != 0D) { - FilterMaxLifeSpan = other.FilterMaxLifeSpan; - } - if (other.FilterUsageHours != 0D) { - FilterUsageHours = other.FilterUsageHours; - } - if (other.VOCInstallationDate.Length != 0) { - VOCInstallationDate = other.VOCInstallationDate; - } - if (other.FilterInstallationDate.Length != 0) { - FilterInstallationDate = other.FilterInstallationDate; - } - if (other.ProductionDate.Length != 0) { - ProductionDate = other.ProductionDate; - } - if (other.CheckSum != 0) { - CheckSum = other.CheckSum; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 8: { - Header = input.ReadUInt32(); - break; - } - case 16: { - TableLength = input.ReadUInt32(); - break; - } - case 24: { - TableVersion = input.ReadUInt32(); - break; - } - case 34: { - WHSSN = input.ReadString(); - break; - } - case 42: { - PCBSN = input.ReadString(); - break; - } - case 50: { - WHSPartNumber = input.ReadString(); - break; - } - case 58: { - PCBPartNumber = input.ReadString(); - break; - } - case 64: { - RunningHours = input.ReadUInt32(); - break; - } - case 72: { - SWReserve = input.ReadUInt32(); - break; - } - case 82: { - ProductionTestDate = input.ReadString(); - break; - } - case 90: { - TestPassFail = input.ReadString(); - break; - } - case 96: { - ATSLocation = input.ReadUInt32(); - break; - } - case 105: { - OrificeWasteLevelV0Ml = input.ReadDouble(); - break; - } - case 113: { - FlowCalcCoefficientC = input.ReadDouble(); - break; - } - case 121: { - Orifice1Flow = input.ReadDouble(); - break; - } - case 129: { - Orifice1Slope = input.ReadDouble(); - break; - } - case 137: { - Orifice1MaxPressure = input.ReadDouble(); - break; - } - case 145: { - Orifice1CalibrationFactor = input.ReadDouble(); - break; - } - case 153: { - Orifice2Flow = input.ReadDouble(); - break; - } - case 161: { - Orifice2Slope = input.ReadDouble(); - break; - } - case 169: { - Orifice2MaxPressure = input.ReadDouble(); - break; - } - case 177: { - Orifice2CalibrationFactor = input.ReadDouble(); - break; - } - case 185: { - Orifice3Flow = input.ReadDouble(); - break; - } - case 193: { - Orifice3Slope = input.ReadDouble(); - break; - } - case 201: { - Orifice3MaxPressure = input.ReadDouble(); - break; - } - case 209: { - Orifice3CalibrationFactor = input.ReadDouble(); - break; - } - case 217: { - OrificeValveFlow = input.ReadDouble(); - break; - } - case 225: { - OrificeValveSlope = input.ReadDouble(); - break; - } - case 233: { - OrificeValveMaxPressure = input.ReadDouble(); - break; - } - case 241: { - OrificeValveCalibrationFactor = input.ReadDouble(); - break; - } - case 249: { - Fans14PWMMinPct = input.ReadDouble(); - break; - } - case 257: { - Fans14RPMPWMMin = input.ReadDouble(); - break; - } - case 265: { - Fans14PWMMaxPct = input.ReadDouble(); - break; - } - case 273: { - Fans14RPMPWMMax = input.ReadDouble(); - break; - } - case 281: { - Fans14NomPWMPct = input.ReadDouble(); - break; - } - case 289: { - Fans14NomRPM = input.ReadDouble(); - break; - } - case 297: { - Fans14RPMLimitPctBelowNom = input.ReadDouble(); - break; - } - case 305: { - Fans14PulsePerRevolution = input.ReadDouble(); - break; - } - case 313: { - Fans14Spare1 = input.ReadDouble(); - break; - } - case 321: { - Fans14Spare2 = input.ReadDouble(); - break; - } - case 329: { - Fans56NomRPM = input.ReadDouble(); - break; - } - case 337: { - Fans56RPMLimitPctBelowNom = input.ReadDouble(); - break; - } - case 345: { - Fans56PulsePerRevolution = input.ReadDouble(); - break; - } - case 353: { - Fans56Spare1 = input.ReadDouble(); - break; - } - case 361: { - Fans56Spare2 = input.ReadDouble(); - break; - } - case 369: { - BlowerPGain = input.ReadDouble(); - break; - } - case 377: { - BlowerCFMRPMMin = input.ReadDouble(); - break; - } - case 385: { - BlowerRPMCFMMax = input.ReadDouble(); - break; - } - case 393: { - BlowerCalibrationFactor = input.ReadDouble(); - break; - } - case 401: { - BlowerSpare1 = input.ReadDouble(); - break; - } - case 409: { - BlowerSpare2 = input.ReadDouble(); - break; - } - case 417: { - VOCLimit = input.ReadDouble(); - break; - } - case 425: { - VOCSpare1 = input.ReadDouble(); - break; - } - case 433: { - VOCSpare2 = input.ReadDouble(); - break; - } - case 441: { - ControllerCommType = input.ReadDouble(); - break; - } - case 449: { - ControllerType = input.ReadDouble(); - break; - } - case 457: { - SensorType = input.ReadDouble(); - break; - } - case 465: { - CoolerCF = input.ReadDouble(); - break; - } - case 473: { - CoolerSV = input.ReadDouble(); - break; - } - case 481: { - CoolerP = input.ReadDouble(); - break; - } - case 489: { - CoolerI = input.ReadDouble(); - break; - } - case 497: { - CoolerD = input.ReadDouble(); - break; - } - case 505: { - WarningConfigurationPar1 = input.ReadDouble(); - break; - } - case 513: { - WarningConfigurationPar2 = input.ReadDouble(); - break; - } - case 521: { - WarningConfigurationPar3 = input.ReadDouble(); - break; - } - case 529: { - WarningConfigurationPar4 = input.ReadDouble(); - break; - } - case 537: { - WarningConfigurationPar5 = input.ReadDouble(); - break; - } - case 545: { - WarningConfigurationPar6 = input.ReadDouble(); - break; - } - case 553: { - WarningThreshold = input.ReadDouble(); - break; - } - case 561: { - ControllerSpare1 = input.ReadDouble(); - break; - } - case 569: { - ControllerSpare2 = input.ReadDouble(); - break; - } - case 577: { - ControllerSpare3 = input.ReadDouble(); - break; - } - case 585: { - ControllerSpare4 = input.ReadDouble(); - break; - } - case 593: { - ControllerSpare5 = input.ReadDouble(); - break; - } - case 601: { - TestDate = input.ReadDouble(); - break; - } - case 610: { - Test = input.ReadString(); - break; - } - case 617: { - WastePumpFlowVolumePerSec = input.ReadDouble(); - break; - } - case 625: { - WastePumpFlowVPerSecLimit = input.ReadDouble(); - break; - } - case 633: { - FilterMaxLifeSpan = input.ReadDouble(); - break; - } - case 641: { - FilterUsageHours = input.ReadDouble(); - break; - } - case 650: { - VOCInstallationDate = input.ReadString(); - break; - } - case 658: { - FilterInstallationDate = input.ReadString(); - break; - } - case 666: { - ProductionDate = input.ReadString(); - break; - } - case 672: { - CheckSum = input.ReadUInt32(); - break; - } - } - } - } - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubWhsEEpromRequest.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubWhsEEpromRequest.cs deleted file mode 100644 index 54c735b3f..000000000 --- a/Software/Visual_Studio/Tango.PMR/Stubs/StubWhsEEpromRequest.cs +++ /dev/null @@ -1,195 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StubWhsEEpromRequest.proto -#pragma warning disable 1591, 0612, 3021 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -namespace Tango.PMR.Stubs { - - /// <summary>Holder for reflection information generated from StubWhsEEpromRequest.proto</summary> - public static partial class StubWhsEEpromRequestReflection { - - #region Descriptor - /// <summary>File descriptor for StubWhsEEpromRequest.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StubWhsEEpromRequestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChpTdHViV2hzRUVwcm9tUmVxdWVzdC5wcm90bxIPVGFuZ28uUE1SLlN0dWJz", - "GhdTdHViV2hzRUVwcm9tRGF0YS5wcm90byJiChRTdHViV2hzRUVwcm9tUmVx", - "dWVzdBITCgtCdXJuUmVxdWVzdBgBIAEoCBI1CglXaHNFRXByb20YAiABKAsy", - "Ii5UYW5nby5QTVIuU3R1YnMuU3R1Yldoc0VFcHJvbURhdGFCGwoZY29tLnR3", - "aW5lLnRhbmdvLnBtci5zdHVic2IGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Tango.PMR.Stubs.StubWhsEEpromDataReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubWhsEEpromRequest), global::Tango.PMR.Stubs.StubWhsEEpromRequest.Parser, new[]{ "BurnRequest", "WhsEEprom" }, null, null, null) - })); - } - #endregion - - } - #region Messages - public sealed partial class StubWhsEEpromRequest : pb::IMessage<StubWhsEEpromRequest> { - private static readonly pb::MessageParser<StubWhsEEpromRequest> _parser = new pb::MessageParser<StubWhsEEpromRequest>(() => new StubWhsEEpromRequest()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<StubWhsEEpromRequest> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tango.PMR.Stubs.StubWhsEEpromRequestReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubWhsEEpromRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubWhsEEpromRequest(StubWhsEEpromRequest other) : this() { - burnRequest_ = other.burnRequest_; - WhsEEprom = other.whsEEprom_ != null ? other.WhsEEprom.Clone() : null; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubWhsEEpromRequest Clone() { - return new StubWhsEEpromRequest(this); - } - - /// <summary>Field number for the "BurnRequest" field.</summary> - public const int BurnRequestFieldNumber = 1; - private bool burnRequest_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool BurnRequest { - get { return burnRequest_; } - set { - burnRequest_ = value; - } - } - - /// <summary>Field number for the "WhsEEprom" field.</summary> - public const int WhsEEpromFieldNumber = 2; - private global::Tango.PMR.Stubs.StubWhsEEpromData whsEEprom_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Tango.PMR.Stubs.StubWhsEEpromData WhsEEprom { - get { return whsEEprom_; } - set { - whsEEprom_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as StubWhsEEpromRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(StubWhsEEpromRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (BurnRequest != other.BurnRequest) return false; - if (!object.Equals(WhsEEprom, other.WhsEEprom)) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (BurnRequest != false) hash ^= BurnRequest.GetHashCode(); - if (whsEEprom_ != null) hash ^= WhsEEprom.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (BurnRequest != false) { - output.WriteRawTag(8); - output.WriteBool(BurnRequest); - } - if (whsEEprom_ != null) { - output.WriteRawTag(18); - output.WriteMessage(WhsEEprom); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (BurnRequest != false) { - size += 1 + 1; - } - if (whsEEprom_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(WhsEEprom); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(StubWhsEEpromRequest other) { - if (other == null) { - return; - } - if (other.BurnRequest != false) { - BurnRequest = other.BurnRequest; - } - if (other.whsEEprom_ != null) { - if (whsEEprom_ == null) { - whsEEprom_ = new global::Tango.PMR.Stubs.StubWhsEEpromData(); - } - WhsEEprom.MergeFrom(other.WhsEEprom); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 8: { - BurnRequest = input.ReadBool(); - break; - } - case 18: { - if (whsEEprom_ == null) { - whsEEprom_ = new global::Tango.PMR.Stubs.StubWhsEEpromData(); - } - input.ReadMessage(whsEEprom_); - break; - } - } - } - } - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubWhsEEpromResponse.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubWhsEEpromResponse.cs deleted file mode 100644 index 6e67fc661..000000000 --- a/Software/Visual_Studio/Tango.PMR/Stubs/StubWhsEEpromResponse.cs +++ /dev/null @@ -1,167 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StubWhsEEpromResponse.proto -#pragma warning disable 1591, 0612, 3021 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -namespace Tango.PMR.Stubs { - - /// <summary>Holder for reflection information generated from StubWhsEEpromResponse.proto</summary> - public static partial class StubWhsEEpromResponseReflection { - - #region Descriptor - /// <summary>File descriptor for StubWhsEEpromResponse.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StubWhsEEpromResponseReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChtTdHViV2hzRUVwcm9tUmVzcG9uc2UucHJvdG8SD1RhbmdvLlBNUi5TdHVi", - "cxoXU3R1Yldoc0VFcHJvbURhdGEucHJvdG8iTgoVU3R1Yldoc0VFcHJvbVJl", - "c3BvbnNlEjUKCVdoc0VFcHJvbRgBIAEoCzIiLlRhbmdvLlBNUi5TdHVicy5T", - "dHViV2hzRUVwcm9tRGF0YUIbChljb20udHdpbmUudGFuZ28ucG1yLnN0dWJz", - "YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Tango.PMR.Stubs.StubWhsEEpromDataReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubWhsEEpromResponse), global::Tango.PMR.Stubs.StubWhsEEpromResponse.Parser, new[]{ "WhsEEprom" }, null, null, null) - })); - } - #endregion - - } - #region Messages - public sealed partial class StubWhsEEpromResponse : pb::IMessage<StubWhsEEpromResponse> { - private static readonly pb::MessageParser<StubWhsEEpromResponse> _parser = new pb::MessageParser<StubWhsEEpromResponse>(() => new StubWhsEEpromResponse()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<StubWhsEEpromResponse> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tango.PMR.Stubs.StubWhsEEpromResponseReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubWhsEEpromResponse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubWhsEEpromResponse(StubWhsEEpromResponse other) : this() { - WhsEEprom = other.whsEEprom_ != null ? other.WhsEEprom.Clone() : null; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StubWhsEEpromResponse Clone() { - return new StubWhsEEpromResponse(this); - } - - /// <summary>Field number for the "WhsEEprom" field.</summary> - public const int WhsEEpromFieldNumber = 1; - private global::Tango.PMR.Stubs.StubWhsEEpromData whsEEprom_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Tango.PMR.Stubs.StubWhsEEpromData WhsEEprom { - get { return whsEEprom_; } - set { - whsEEprom_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as StubWhsEEpromResponse); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(StubWhsEEpromResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(WhsEEprom, other.WhsEEprom)) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (whsEEprom_ != null) hash ^= WhsEEprom.GetHashCode(); - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { - if (whsEEprom_ != null) { - output.WriteRawTag(10); - output.WriteMessage(WhsEEprom); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (whsEEprom_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(WhsEEprom); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(StubWhsEEpromResponse other) { - if (other == null) { - return; - } - if (other.whsEEprom_ != null) { - if (whsEEprom_ == null) { - whsEEprom_ = new global::Tango.PMR.Stubs.StubWhsEEpromData(); - } - WhsEEprom.MergeFrom(other.WhsEEprom); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - input.SkipLastField(); - break; - case 10: { - if (whsEEprom_ == null) { - whsEEprom_ = new global::Tango.PMR.Stubs.StubWhsEEpromData(); - } - input.ReadMessage(whsEEprom_); - break; - } - } - } - } - - } - - #endregion - -} - -#endregion Designer generated code |
