From ca9a080e283819b40c424d17332a18423ff6dcb1 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Thu, 15 Aug 2019 17:29:25 +0300 Subject: Implemented basic machine status support. --- .../StartMachineStatusUpdateRequest.cs | 132 +++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 Software/Visual_Studio/Tango.PMR/MachineStatus/StartMachineStatusUpdateRequest.cs (limited to 'Software/Visual_Studio/Tango.PMR/MachineStatus/StartMachineStatusUpdateRequest.cs') diff --git a/Software/Visual_Studio/Tango.PMR/MachineStatus/StartMachineStatusUpdateRequest.cs b/Software/Visual_Studio/Tango.PMR/MachineStatus/StartMachineStatusUpdateRequest.cs new file mode 100644 index 000000000..7570ae181 --- /dev/null +++ b/Software/Visual_Studio/Tango.PMR/MachineStatus/StartMachineStatusUpdateRequest.cs @@ -0,0 +1,132 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: StartMachineStatusUpdateRequest.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.MachineStatus { + + /// Holder for reflection information generated from StartMachineStatusUpdateRequest.proto + public static partial class StartMachineStatusUpdateRequestReflection { + + #region Descriptor + /// File descriptor for StartMachineStatusUpdateRequest.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static StartMachineStatusUpdateRequestReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiVTdGFydE1hY2hpbmVTdGF0dXNVcGRhdGVSZXF1ZXN0LnByb3RvEhdUYW5n", + "by5QTVIuTWFjaGluZVN0YXR1cyIhCh9TdGFydE1hY2hpbmVTdGF0dXNVcGRh", + "dGVSZXF1ZXN0QiMKIWNvbS50d2luZS50YW5nby5wbXIubWFjaGluZXN0YXR1", + "c2IGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.MachineStatus.StartMachineStatusUpdateRequest), global::Tango.PMR.MachineStatus.StartMachineStatusUpdateRequest.Parser, null, null, null, null) + })); + } + #endregion + + } + #region Messages + public sealed partial class StartMachineStatusUpdateRequest : pb::IMessage { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StartMachineStatusUpdateRequest()); + [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.MachineStatus.StartMachineStatusUpdateRequestReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public StartMachineStatusUpdateRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public StartMachineStatusUpdateRequest(StartMachineStatusUpdateRequest other) : this() { + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public StartMachineStatusUpdateRequest Clone() { + return new StartMachineStatusUpdateRequest(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as StartMachineStatusUpdateRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(StartMachineStatusUpdateRequest 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(StartMachineStatusUpdateRequest 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