From 15f46cb9a0de56d751ed98674996358ee2c59066 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Mon, 15 Apr 2019 17:58:14 +0300 Subject: Embedded necessary pmr build on android tcc. Updated DB to latest event types. --- .../Tango.PMR/Debugging/DebugDistributor.cs | 62 +++++++++ .../Debugging/SetupDebugDisributorsRequest.cs | 153 +++++++++++++++++++++ .../Debugging/SetupDebugDisributorsResponse.cs | 131 ++++++++++++++++++ 3 files changed, 346 insertions(+) create mode 100644 Software/Visual_Studio/Tango.PMR/Debugging/DebugDistributor.cs create mode 100644 Software/Visual_Studio/Tango.PMR/Debugging/SetupDebugDisributorsRequest.cs create mode 100644 Software/Visual_Studio/Tango.PMR/Debugging/SetupDebugDisributorsResponse.cs (limited to 'Software/Visual_Studio/Tango.PMR/Debugging') diff --git a/Software/Visual_Studio/Tango.PMR/Debugging/DebugDistributor.cs b/Software/Visual_Studio/Tango.PMR/Debugging/DebugDistributor.cs new file mode 100644 index 000000000..1d1ef7ae7 --- /dev/null +++ b/Software/Visual_Studio/Tango.PMR/Debugging/DebugDistributor.cs @@ -0,0 +1,62 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: DebugDistributor.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.Debugging { + + /// Holder for reflection information generated from DebugDistributor.proto + public static partial class DebugDistributorReflection { + + #region Descriptor + /// File descriptor for DebugDistributor.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static DebugDistributorReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChZEZWJ1Z0Rpc3RyaWJ1dG9yLnByb3RvEhNUYW5nby5QTVIuRGVidWdnaW5n", + "KoUCChBEZWJ1Z0Rpc3RyaWJ1dG9yEhEKDUNvbnRyb2xGaWx0ZXIQABIRCg1I", + "ZWF0ZXJzRmlsdGVyEAESDQoJSm9iRmlsdGVyEAISDwoLV2FzdGVGaWx0ZXIQ", + "AxIPCgtBbGFybUZpbHRlchAEEhUKEURpYWdub3N0aWNzRmlsdGVyEAUSDQoJ", + "SURTRmlsdGVyEAYSEAoMVGhyZWFkRmlsdGVyEAcSEQoNR2VuZXJhbEZpbHRl", + "chAIEg4KCkNvbW1GaWx0ZXIQCRIOCgpGUEdBRmlsdGVyEAoSDgoKTG9hZEZp", + "bHRlchALEg4KCkluaXRGaWx0ZXIQDBIPCgtNYWludEZpbHRlchANQh8KHWNv", + "bS50d2luZS50YW5nby5wbXIuZGVidWdnaW5nYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Tango.PMR.Debugging.DebugDistributor), }, null)); + } + #endregion + + } + #region Enums + public enum DebugDistributor { + [pbr::OriginalName("ControlFilter")] ControlFilter = 0, + [pbr::OriginalName("HeatersFilter")] HeatersFilter = 1, + [pbr::OriginalName("JobFilter")] JobFilter = 2, + [pbr::OriginalName("WasteFilter")] WasteFilter = 3, + [pbr::OriginalName("AlarmFilter")] AlarmFilter = 4, + [pbr::OriginalName("DiagnosticsFilter")] DiagnosticsFilter = 5, + [pbr::OriginalName("IDSFilter")] Idsfilter = 6, + [pbr::OriginalName("ThreadFilter")] ThreadFilter = 7, + [pbr::OriginalName("GeneralFilter")] GeneralFilter = 8, + [pbr::OriginalName("CommFilter")] CommFilter = 9, + [pbr::OriginalName("FPGAFilter")] Fpgafilter = 10, + [pbr::OriginalName("LoadFilter")] LoadFilter = 11, + [pbr::OriginalName("InitFilter")] InitFilter = 12, + [pbr::OriginalName("MaintFilter")] MaintFilter = 13, + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Debugging/SetupDebugDisributorsRequest.cs b/Software/Visual_Studio/Tango.PMR/Debugging/SetupDebugDisributorsRequest.cs new file mode 100644 index 000000000..363edab57 --- /dev/null +++ b/Software/Visual_Studio/Tango.PMR/Debugging/SetupDebugDisributorsRequest.cs @@ -0,0 +1,153 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: SetupDebugDisributorsRequest.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.Debugging { + + /// Holder for reflection information generated from SetupDebugDisributorsRequest.proto + public static partial class SetupDebugDisributorsRequestReflection { + + #region Descriptor + /// File descriptor for SetupDebugDisributorsRequest.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static SetupDebugDisributorsRequestReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiJTZXR1cERlYnVnRGlzcmlidXRvcnNSZXF1ZXN0LnByb3RvEhNUYW5nby5Q", + "TVIuRGVidWdnaW5nIjkKHFNldHVwRGVidWdEaXNyaWJ1dG9yc1JlcXVlc3QS", + "GQoRRGlzdHJpYnV0b3JBY3RpdmUYASADKAhCHwodY29tLnR3aW5lLnRhbmdv", + "LnBtci5kZWJ1Z2dpbmdiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Debugging.SetupDebugDisributorsRequest), global::Tango.PMR.Debugging.SetupDebugDisributorsRequest.Parser, new[]{ "DistributorActive" }, null, null, null) + })); + } + #endregion + + } + #region Messages + public sealed partial class SetupDebugDisributorsRequest : pb::IMessage { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetupDebugDisributorsRequest()); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::Tango.PMR.Debugging.SetupDebugDisributorsRequestReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public SetupDebugDisributorsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public SetupDebugDisributorsRequest(SetupDebugDisributorsRequest other) : this() { + distributorActive_ = other.distributorActive_.Clone(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public SetupDebugDisributorsRequest Clone() { + return new SetupDebugDisributorsRequest(this); + } + + /// Field number for the "DistributorActive" field. + public const int DistributorActiveFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_distributorActive_codec + = pb::FieldCodec.ForBool(10); + private readonly pbc::RepeatedField distributorActive_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pbc::RepeatedField DistributorActive { + get { return distributorActive_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as SetupDebugDisributorsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(SetupDebugDisributorsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!distributorActive_.Equals(other.distributorActive_)) return false; + return true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + hash ^= distributorActive_.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) { + distributorActive_.WriteTo(output, _repeated_distributorActive_codec); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + size += distributorActive_.CalculateSize(_repeated_distributorActive_codec); + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(SetupDebugDisributorsRequest other) { + if (other == null) { + return; + } + distributorActive_.Add(other.distributorActive_); + } + + [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: + case 8: { + distributorActive_.AddEntriesFrom(input, _repeated_distributorActive_codec); + break; + } + } + } + } + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Debugging/SetupDebugDisributorsResponse.cs b/Software/Visual_Studio/Tango.PMR/Debugging/SetupDebugDisributorsResponse.cs new file mode 100644 index 000000000..33b9484c3 --- /dev/null +++ b/Software/Visual_Studio/Tango.PMR/Debugging/SetupDebugDisributorsResponse.cs @@ -0,0 +1,131 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: SetupDebugDisributorsResponse.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.Debugging { + + /// Holder for reflection information generated from SetupDebugDisributorsResponse.proto + public static partial class SetupDebugDisributorsResponseReflection { + + #region Descriptor + /// File descriptor for SetupDebugDisributorsResponse.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static SetupDebugDisributorsResponseReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiNTZXR1cERlYnVnRGlzcmlidXRvcnNSZXNwb25zZS5wcm90bxITVGFuZ28u", + "UE1SLkRlYnVnZ2luZyIfCh1TZXR1cERlYnVnRGlzcmlidXRvcnNSZXNwb25z", + "ZUIfCh1jb20udHdpbmUudGFuZ28ucG1yLmRlYnVnZ2luZ2IGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Debugging.SetupDebugDisributorsResponse), global::Tango.PMR.Debugging.SetupDebugDisributorsResponse.Parser, null, null, null, null) + })); + } + #endregion + + } + #region Messages + public sealed partial class SetupDebugDisributorsResponse : pb::IMessage { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetupDebugDisributorsResponse()); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::Tango.PMR.Debugging.SetupDebugDisributorsResponseReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public SetupDebugDisributorsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public SetupDebugDisributorsResponse(SetupDebugDisributorsResponse other) : this() { + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public SetupDebugDisributorsResponse Clone() { + return new SetupDebugDisributorsResponse(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as SetupDebugDisributorsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(SetupDebugDisributorsResponse 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(SetupDebugDisributorsResponse 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 -- cgit v1.3.1