diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/IFS')
5 files changed, 0 insertions, 805 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/IFS/CartridgeState.cs b/Software/Visual_Studio/Tango.PMR/IFS/CartridgeState.cs deleted file mode 100644 index 6b2daa8f7..000000000 --- a/Software/Visual_Studio/Tango.PMR/IFS/CartridgeState.cs +++ /dev/null @@ -1,102 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CartridgeState.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.IFS { - - /// <summary>Holder for reflection information generated from CartridgeState.proto</summary> - public static partial class CartridgeStateReflection { - - #region Descriptor - /// <summary>File descriptor for CartridgeState.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static CartridgeStateReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChRDYXJ0cmlkZ2VTdGF0ZS5wcm90bxINVGFuZ28uUE1SLklGUyrPAQoOQ2Fy", - "dHJpZGdlU3RhdGUSCAoETm9uZRAAEgoKBkFic2VudBABEgsKB1ByZXNlbnQQ", - "AhIMCghJbnNlcnRlZBADEgkKBUVtcHR5EAQSCAoERnVsbBAFEgkKBUVycm9y", - "EAYSCwoHRmlsbGluZxAKEhQKEEZpbGxpbmdDb21wbGV0ZWQQCxIRCg1GaWxs", - "aW5nRmFpbGVkEAwSDAoIRW1wdHlpbmcQFBIVChFFbXB0eWluZ0NvbXBsZXRl", - "ZBAVEhEKDUVtcHlpbmdGYWlsZWQQFkIZChdjb20udHdpbmUudGFuZ28ucG1y", - "Lmlmc2IGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Tango.PMR.IFS.CartridgeState), }, null)); - } - #endregion - - } - #region Enums - /// <summary> - ///OT = One Trigger, meaning, the state should be sent once, then return to a none OT state. - /// </summary> - public enum CartridgeState { - /// <summary> - ///Unspecified. - /// </summary> - [pbr::OriginalName("None")] None = 0, - /// <summary> - ///Waste or ink cartridge not found. - /// </summary> - [pbr::OriginalName("Absent")] Absent = 1, - /// <summary> - ///Waste or ink cartridge present. - /// </summary> - [pbr::OriginalName("Present")] Present = 2, - /// <summary> - ///Waste or ink cartridge inserted. | OT - /// </summary> - [pbr::OriginalName("Inserted")] Inserted = 3, - /// <summary> - ///Waste or ink cartridge is empty. - /// </summary> - [pbr::OriginalName("Empty")] Empty = 4, - /// <summary> - ///Waste or ink cartridge is full. - /// </summary> - [pbr::OriginalName("Full")] Full = 5, - /// <summary> - ///Waste or ink is in an error state. (unrelated to filling or emptying) - /// </summary> - [pbr::OriginalName("Error")] Error = 6, - /// <summary> - ///Ink cartridge is now filling... - /// </summary> - [pbr::OriginalName("Filling")] Filling = 10, - /// <summary> - ///Ink cartridge filing completed. | OT - /// </summary> - [pbr::OriginalName("FillingCompleted")] FillingCompleted = 11, - /// <summary> - ///Error occurred while ink filling. | OT - /// </summary> - [pbr::OriginalName("FillingFailed")] FillingFailed = 12, - /// <summary> - ///Waste cartridge is emptying... - /// </summary> - [pbr::OriginalName("Emptying")] Emptying = 20, - /// <summary> - ///Waste cartridge emptying completed. | OT - /// </summary> - [pbr::OriginalName("EmptyingCompleted")] EmptyingCompleted = 21, - /// <summary> - ///Error occurred while waste emptying. | OT - /// </summary> - [pbr::OriginalName("EmpyingFailed")] EmpyingFailed = 22, - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/IFS/CartridgeStatus.cs b/Software/Visual_Studio/Tango.PMR/IFS/CartridgeStatus.cs deleted file mode 100644 index ce13fdc07..000000000 --- a/Software/Visual_Studio/Tango.PMR/IFS/CartridgeStatus.cs +++ /dev/null @@ -1,253 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CartridgeStatus.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.IFS { - - /// <summary>Holder for reflection information generated from CartridgeStatus.proto</summary> - public static partial class CartridgeStatusReflection { - - #region Descriptor - /// <summary>File descriptor for CartridgeStatus.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static CartridgeStatusReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChVDYXJ0cmlkZ2VTdGF0dXMucHJvdG8SDVRhbmdvLlBNUi5JRlMaD0NhcnRy", - "aWRnZS5wcm90bxoUQ2FydHJpZGdlU3RhdGUucHJvdG8ioQEKD0NhcnRyaWRn", - "ZVN0YXR1cxIzCglDYXJ0cmlkZ2UYASABKAsyIC5UYW5nby5QTVIuRGlhZ25v", - "c3RpY3MuQ2FydHJpZGdlEiwKBVN0YXRlGAIgASgOMh0uVGFuZ28uUE1SLklG", - "Uy5DYXJ0cmlkZ2VTdGF0ZRIaChJQcm9ncmVzc1BlcmNlbnRhZ2UYAyABKAES", - "DwoHTWVzc2FnZRgEIAEoCUIZChdjb20udHdpbmUudGFuZ28ucG1yLmlmc2IG", - "cHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Tango.PMR.Diagnostics.CartridgeReflection.Descriptor, global::Tango.PMR.IFS.CartridgeStateReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.IFS.CartridgeStatus), global::Tango.PMR.IFS.CartridgeStatus.Parser, new[]{ "Cartridge", "State", "ProgressPercentage", "Message" }, null, null, null) - })); - } - #endregion - - } - #region Messages - public sealed partial class CartridgeStatus : pb::IMessage<CartridgeStatus> { - private static readonly pb::MessageParser<CartridgeStatus> _parser = new pb::MessageParser<CartridgeStatus>(() => new CartridgeStatus()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<CartridgeStatus> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tango.PMR.IFS.CartridgeStatusReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public CartridgeStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public CartridgeStatus(CartridgeStatus other) : this() { - Cartridge = other.cartridge_ != null ? other.Cartridge.Clone() : null; - state_ = other.state_; - progressPercentage_ = other.progressPercentage_; - message_ = other.message_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public CartridgeStatus Clone() { - return new CartridgeStatus(this); - } - - /// <summary>Field number for the "Cartridge" field.</summary> - public const int CartridgeFieldNumber = 1; - private global::Tango.PMR.Diagnostics.Cartridge cartridge_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Tango.PMR.Diagnostics.Cartridge Cartridge { - get { return cartridge_; } - set { - cartridge_ = value; - } - } - - /// <summary>Field number for the "State" field.</summary> - public const int StateFieldNumber = 2; - private global::Tango.PMR.IFS.CartridgeState state_ = 0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Tango.PMR.IFS.CartridgeState State { - get { return state_; } - set { - state_ = value; - } - } - - /// <summary>Field number for the "ProgressPercentage" field.</summary> - public const int ProgressPercentageFieldNumber = 3; - private double progressPercentage_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public double ProgressPercentage { - get { return progressPercentage_; } - set { - progressPercentage_ = value; - } - } - - /// <summary>Field number for the "Message" field.</summary> - public const int MessageFieldNumber = 4; - private string message_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Message { - get { return message_; } - set { - message_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as CartridgeStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(CartridgeStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Cartridge, other.Cartridge)) return false; - if (State != other.State) return false; - if (ProgressPercentage != other.ProgressPercentage) return false; - if (Message != other.Message) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (cartridge_ != null) hash ^= Cartridge.GetHashCode(); - if (State != 0) hash ^= State.GetHashCode(); - if (ProgressPercentage != 0D) hash ^= ProgressPercentage.GetHashCode(); - if (Message.Length != 0) hash ^= Message.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 (cartridge_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Cartridge); - } - if (State != 0) { - output.WriteRawTag(16); - output.WriteEnum((int) State); - } - if (ProgressPercentage != 0D) { - output.WriteRawTag(25); - output.WriteDouble(ProgressPercentage); - } - if (Message.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Message); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (cartridge_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Cartridge); - } - if (State != 0) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) State); - } - if (ProgressPercentage != 0D) { - size += 1 + 8; - } - if (Message.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Message); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(CartridgeStatus other) { - if (other == null) { - return; - } - if (other.cartridge_ != null) { - if (cartridge_ == null) { - cartridge_ = new global::Tango.PMR.Diagnostics.Cartridge(); - } - Cartridge.MergeFrom(other.Cartridge); - } - if (other.State != 0) { - State = other.State; - } - if (other.ProgressPercentage != 0D) { - ProgressPercentage = other.ProgressPercentage; - } - if (other.Message.Length != 0) { - Message = other.Message; - } - } - - [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 (cartridge_ == null) { - cartridge_ = new global::Tango.PMR.Diagnostics.Cartridge(); - } - input.ReadMessage(cartridge_); - break; - } - case 16: { - state_ = (global::Tango.PMR.IFS.CartridgeState) input.ReadEnum(); - break; - } - case 25: { - ProgressPercentage = input.ReadDouble(); - break; - } - case 34: { - Message = input.ReadString(); - break; - } - } - } - } - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/IFS/InkFillingStatus.cs b/Software/Visual_Studio/Tango.PMR/IFS/InkFillingStatus.cs deleted file mode 100644 index 01211da84..000000000 --- a/Software/Visual_Studio/Tango.PMR/IFS/InkFillingStatus.cs +++ /dev/null @@ -1,152 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: InkFillingStatus.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.IFS { - - /// <summary>Holder for reflection information generated from InkFillingStatus.proto</summary> - public static partial class InkFillingStatusReflection { - - #region Descriptor - /// <summary>File descriptor for InkFillingStatus.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static InkFillingStatusReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZJbmtGaWxsaW5nU3RhdHVzLnByb3RvEg1UYW5nby5QTVIuSUZTGhVDYXJ0", - "cmlkZ2VTdGF0dXMucHJvdG8iTgoQSW5rRmlsbGluZ1N0YXR1cxI6ChJDYXJ0", - "cmlkZ2VzU3RhdHVzZXMYASADKAsyHi5UYW5nby5QTVIuSUZTLkNhcnRyaWRn", - "ZVN0YXR1c0IZChdjb20udHdpbmUudGFuZ28ucG1yLmlmc2IGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Tango.PMR.IFS.CartridgeStatusReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.IFS.InkFillingStatus), global::Tango.PMR.IFS.InkFillingStatus.Parser, new[]{ "CartridgesStatuses" }, null, null, null) - })); - } - #endregion - - } - #region Messages - public sealed partial class InkFillingStatus : pb::IMessage<InkFillingStatus> { - private static readonly pb::MessageParser<InkFillingStatus> _parser = new pb::MessageParser<InkFillingStatus>(() => new InkFillingStatus()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<InkFillingStatus> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tango.PMR.IFS.InkFillingStatusReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public InkFillingStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public InkFillingStatus(InkFillingStatus other) : this() { - cartridgesStatuses_ = other.cartridgesStatuses_.Clone(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public InkFillingStatus Clone() { - return new InkFillingStatus(this); - } - - /// <summary>Field number for the "CartridgesStatuses" field.</summary> - public const int CartridgesStatusesFieldNumber = 1; - private static readonly pb::FieldCodec<global::Tango.PMR.IFS.CartridgeStatus> _repeated_cartridgesStatuses_codec - = pb::FieldCodec.ForMessage(10, global::Tango.PMR.IFS.CartridgeStatus.Parser); - private readonly pbc::RepeatedField<global::Tango.PMR.IFS.CartridgeStatus> cartridgesStatuses_ = new pbc::RepeatedField<global::Tango.PMR.IFS.CartridgeStatus>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField<global::Tango.PMR.IFS.CartridgeStatus> CartridgesStatuses { - get { return cartridgesStatuses_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as InkFillingStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(InkFillingStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!cartridgesStatuses_.Equals(other.cartridgesStatuses_)) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - hash ^= cartridgesStatuses_.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) { - cartridgesStatuses_.WriteTo(output, _repeated_cartridgesStatuses_codec); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - size += cartridgesStatuses_.CalculateSize(_repeated_cartridgesStatuses_codec); - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(InkFillingStatus other) { - if (other == null) { - return; - } - cartridgesStatuses_.Add(other.cartridgesStatuses_); - } - - [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: { - cartridgesStatuses_.AddEntriesFrom(input, _repeated_cartridgesStatuses_codec); - break; - } - } - } - } - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/IFS/StartInkFillingStatusRequest.cs b/Software/Visual_Studio/Tango.PMR/IFS/StartInkFillingStatusRequest.cs deleted file mode 100644 index 5db50f88c..000000000 --- a/Software/Visual_Studio/Tango.PMR/IFS/StartInkFillingStatusRequest.cs +++ /dev/null @@ -1,131 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StartInkFillingStatusRequest.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.IFS { - - /// <summary>Holder for reflection information generated from StartInkFillingStatusRequest.proto</summary> - public static partial class StartInkFillingStatusRequestReflection { - - #region Descriptor - /// <summary>File descriptor for StartInkFillingStatusRequest.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StartInkFillingStatusRequestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiJTdGFydElua0ZpbGxpbmdTdGF0dXNSZXF1ZXN0LnByb3RvEg1UYW5nby5Q", - "TVIuSUZTIh4KHFN0YXJ0SW5rRmlsbGluZ1N0YXR1c1JlcXVlc3RCGQoXY29t", - "LnR3aW5lLnRhbmdvLnBtci5pZnNiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.IFS.StartInkFillingStatusRequest), global::Tango.PMR.IFS.StartInkFillingStatusRequest.Parser, null, null, null, null) - })); - } - #endregion - - } - #region Messages - public sealed partial class StartInkFillingStatusRequest : pb::IMessage<StartInkFillingStatusRequest> { - private static readonly pb::MessageParser<StartInkFillingStatusRequest> _parser = new pb::MessageParser<StartInkFillingStatusRequest>(() => new StartInkFillingStatusRequest()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<StartInkFillingStatusRequest> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tango.PMR.IFS.StartInkFillingStatusRequestReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StartInkFillingStatusRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StartInkFillingStatusRequest(StartInkFillingStatusRequest other) : this() { - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StartInkFillingStatusRequest Clone() { - return new StartInkFillingStatusRequest(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as StartInkFillingStatusRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(StartInkFillingStatusRequest 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(StartInkFillingStatusRequest 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/IFS/StartInkFillingStatusResponse.cs b/Software/Visual_Studio/Tango.PMR/IFS/StartInkFillingStatusResponse.cs deleted file mode 100644 index b33da516c..000000000 --- a/Software/Visual_Studio/Tango.PMR/IFS/StartInkFillingStatusResponse.cs +++ /dev/null @@ -1,167 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StartInkFillingStatusResponse.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.IFS { - - /// <summary>Holder for reflection information generated from StartInkFillingStatusResponse.proto</summary> - public static partial class StartInkFillingStatusResponseReflection { - - #region Descriptor - /// <summary>File descriptor for StartInkFillingStatusResponse.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StartInkFillingStatusResponseReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiNTdGFydElua0ZpbGxpbmdTdGF0dXNSZXNwb25zZS5wcm90bxINVGFuZ28u", - "UE1SLklGUxoWSW5rRmlsbGluZ1N0YXR1cy5wcm90byJQCh1TdGFydElua0Zp", - "bGxpbmdTdGF0dXNSZXNwb25zZRIvCgZTdGF0dXMYASABKAsyHy5UYW5nby5Q", - "TVIuSUZTLklua0ZpbGxpbmdTdGF0dXNCGQoXY29tLnR3aW5lLnRhbmdvLnBt", - "ci5pZnNiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Tango.PMR.IFS.InkFillingStatusReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.IFS.StartInkFillingStatusResponse), global::Tango.PMR.IFS.StartInkFillingStatusResponse.Parser, new[]{ "Status" }, null, null, null) - })); - } - #endregion - - } - #region Messages - public sealed partial class StartInkFillingStatusResponse : pb::IMessage<StartInkFillingStatusResponse> { - private static readonly pb::MessageParser<StartInkFillingStatusResponse> _parser = new pb::MessageParser<StartInkFillingStatusResponse>(() => new StartInkFillingStatusResponse()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<StartInkFillingStatusResponse> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tango.PMR.IFS.StartInkFillingStatusResponseReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StartInkFillingStatusResponse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StartInkFillingStatusResponse(StartInkFillingStatusResponse other) : this() { - Status = other.status_ != null ? other.Status.Clone() : null; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public StartInkFillingStatusResponse Clone() { - return new StartInkFillingStatusResponse(this); - } - - /// <summary>Field number for the "Status" field.</summary> - public const int StatusFieldNumber = 1; - private global::Tango.PMR.IFS.InkFillingStatus status_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Tango.PMR.IFS.InkFillingStatus Status { - get { return status_; } - set { - status_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as StartInkFillingStatusResponse); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(StartInkFillingStatusResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Status, other.Status)) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (status_ != null) hash ^= Status.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 (status_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Status); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (status_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Status); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(StartInkFillingStatusResponse other) { - if (other == null) { - return; - } - if (other.status_ != null) { - if (status_ == null) { - status_ = new global::Tango.PMR.IFS.InkFillingStatus(); - } - Status.MergeFrom(other.Status); - } - } - - [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 (status_ == null) { - status_ = new global::Tango.PMR.IFS.InkFillingStatus(); - } - input.ReadMessage(status_); - break; - } - } - } - } - - } - - #endregion - -} - -#endregion Designer generated code |
