diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-10-16 00:45:34 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-10-16 00:45:34 +0300 |
| commit | 43895ee9f170f68e7383e39ce089532a257f2d6d (patch) | |
| tree | 871fa248582de3779f1c293b5177feb137f7aa2f /Software/Visual_Studio/Tango.PMR/Power | |
| parent | b0bfa02de917d23271c15d2516e26f951c7e41e0 (diff) | |
| download | Tango-43895ee9f170f68e7383e39ce089532a257f2d6d.tar.gz Tango-43895ee9f170f68e7383e39ce089532a257f2d6d.zip | |
Implemented PPC standby.
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/Power')
| -rw-r--r-- | Software/Visual_Studio/Tango.PMR/Power/StandByRequest.cs | 131 | ||||
| -rw-r--r-- | Software/Visual_Studio/Tango.PMR/Power/StandByResponse.cs | 131 |
2 files changed, 262 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/Power/StandByRequest.cs b/Software/Visual_Studio/Tango.PMR/Power/StandByRequest.cs new file mode 100644 index 000000000..122abd35c --- /dev/null +++ b/Software/Visual_Studio/Tango.PMR/Power/StandByRequest.cs @@ -0,0 +1,131 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: StandByRequest.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.Power { + + /// <summary>Holder for reflection information generated from StandByRequest.proto</summary> + public static partial class StandByRequestReflection { + + #region Descriptor + /// <summary>File descriptor for StandByRequest.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static StandByRequestReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChRTdGFuZEJ5UmVxdWVzdC5wcm90bxIPVGFuZ28uUE1SLlBvd2VyIhAKDlN0", + "YW5kQnlSZXF1ZXN0QhsKGWNvbS50d2luZS50YW5nby5wbXIucG93ZXJiBnBy", + "b3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Power.StandByRequest), global::Tango.PMR.Power.StandByRequest.Parser, null, null, null, null) + })); + } + #endregion + + } + #region Messages + public sealed partial class StandByRequest : pb::IMessage<StandByRequest> { + private static readonly pb::MessageParser<StandByRequest> _parser = new pb::MessageParser<StandByRequest>(() => new StandByRequest()); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser<StandByRequest> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::Tango.PMR.Power.StandByRequestReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public StandByRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public StandByRequest(StandByRequest other) : this() { + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public StandByRequest Clone() { + return new StandByRequest(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as StandByRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(StandByRequest 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(StandByRequest 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/Power/StandByResponse.cs b/Software/Visual_Studio/Tango.PMR/Power/StandByResponse.cs new file mode 100644 index 000000000..4c63b1257 --- /dev/null +++ b/Software/Visual_Studio/Tango.PMR/Power/StandByResponse.cs @@ -0,0 +1,131 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: StandByResponse.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.Power { + + /// <summary>Holder for reflection information generated from StandByResponse.proto</summary> + public static partial class StandByResponseReflection { + + #region Descriptor + /// <summary>File descriptor for StandByResponse.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static StandByResponseReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChVTdGFuZEJ5UmVzcG9uc2UucHJvdG8SD1RhbmdvLlBNUi5Qb3dlciIRCg9T", + "dGFuZEJ5UmVzcG9uc2VCGwoZY29tLnR3aW5lLnRhbmdvLnBtci5wb3dlcmIG", + "cHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Power.StandByResponse), global::Tango.PMR.Power.StandByResponse.Parser, null, null, null, null) + })); + } + #endregion + + } + #region Messages + public sealed partial class StandByResponse : pb::IMessage<StandByResponse> { + private static readonly pb::MessageParser<StandByResponse> _parser = new pb::MessageParser<StandByResponse>(() => new StandByResponse()); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser<StandByResponse> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::Tango.PMR.Power.StandByResponseReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public StandByResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public StandByResponse(StandByResponse other) : this() { + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public StandByResponse Clone() { + return new StandByResponse(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as StandByResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(StandByResponse 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(StandByResponse 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 |
