aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.PMR/MachineStatus
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2022-04-28 02:30:11 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2022-04-28 02:30:11 +0300
commit357d86202db77f6860b8f514e910b967ce4c3034 (patch)
treeaccd34365d7450d82544ec2b287db87549355b1a /Software/Visual_Studio/Tango.PMR/MachineStatus
parent59aa6065ebb3481e50c13ec6b4850448fe66186a (diff)
downloadTango-357d86202db77f6860b8f514e910b967ce4c3034.tar.gz
Tango-357d86202db77f6860b8f514e910b967ce4c3034.zip
Spool Type Firmware Notifications.
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/MachineStatus')
-rw-r--r--Software/Visual_Studio/Tango.PMR/MachineStatus/SpoolTypeChangedRequest.cs161
-rw-r--r--Software/Visual_Studio/Tango.PMR/MachineStatus/SpoolTypeChangedResponse.cs131
2 files changed, 292 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/MachineStatus/SpoolTypeChangedRequest.cs b/Software/Visual_Studio/Tango.PMR/MachineStatus/SpoolTypeChangedRequest.cs
new file mode 100644
index 000000000..aa4cd4039
--- /dev/null
+++ b/Software/Visual_Studio/Tango.PMR/MachineStatus/SpoolTypeChangedRequest.cs
@@ -0,0 +1,161 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: SpoolTypeChangedRequest.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 {
+
+ /// <summary>Holder for reflection information generated from SpoolTypeChangedRequest.proto</summary>
+ public static partial class SpoolTypeChangedRequestReflection {
+
+ #region Descriptor
+ /// <summary>File descriptor for SpoolTypeChangedRequest.proto</summary>
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static SpoolTypeChangedRequestReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "Ch1TcG9vbFR5cGVDaGFuZ2VkUmVxdWVzdC5wcm90bxIXVGFuZ28uUE1SLk1h",
+ "Y2hpbmVTdGF0dXMaEkpvYlNwb29sVHlwZS5wcm90byJOChdTcG9vbFR5cGVD",
+ "aGFuZ2VkUmVxdWVzdBIzCglTcG9vbFR5cGUYASABKA4yIC5UYW5nby5QTVIu",
+ "UHJpbnRpbmcuSm9iU3Bvb2xUeXBlQiMKIWNvbS50d2luZS50YW5nby5wbXIu",
+ "bWFjaGluZXN0YXR1c2IGcHJvdG8z"));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { global::Tango.PMR.Printing.JobSpoolTypeReflection.Descriptor, },
+ new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
+ new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.MachineStatus.SpoolTypeChangedRequest), global::Tango.PMR.MachineStatus.SpoolTypeChangedRequest.Parser, new[]{ "SpoolType" }, null, null, null)
+ }));
+ }
+ #endregion
+
+ }
+ #region Messages
+ public sealed partial class SpoolTypeChangedRequest : pb::IMessage<SpoolTypeChangedRequest> {
+ private static readonly pb::MessageParser<SpoolTypeChangedRequest> _parser = new pb::MessageParser<SpoolTypeChangedRequest>(() => new SpoolTypeChangedRequest());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser<SpoolTypeChangedRequest> Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Tango.PMR.MachineStatus.SpoolTypeChangedRequestReflection.Descriptor.MessageTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public SpoolTypeChangedRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public SpoolTypeChangedRequest(SpoolTypeChangedRequest other) : this() {
+ spoolType_ = other.spoolType_;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public SpoolTypeChangedRequest Clone() {
+ return new SpoolTypeChangedRequest(this);
+ }
+
+ /// <summary>Field number for the "SpoolType" field.</summary>
+ public const int SpoolTypeFieldNumber = 1;
+ private global::Tango.PMR.Printing.JobSpoolType spoolType_ = 0;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::Tango.PMR.Printing.JobSpoolType SpoolType {
+ get { return spoolType_; }
+ set {
+ spoolType_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as SpoolTypeChangedRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(SpoolTypeChangedRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (SpoolType != other.SpoolType) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (SpoolType != 0) hash ^= SpoolType.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 (SpoolType != 0) {
+ output.WriteRawTag(8);
+ output.WriteEnum((int) SpoolType);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (SpoolType != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) SpoolType);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(SpoolTypeChangedRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.SpoolType != 0) {
+ SpoolType = other.SpoolType;
+ }
+ }
+
+ [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: {
+ spoolType_ = (global::Tango.PMR.Printing.JobSpoolType) input.ReadEnum();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ #endregion
+
+}
+
+#endregion Designer generated code
diff --git a/Software/Visual_Studio/Tango.PMR/MachineStatus/SpoolTypeChangedResponse.cs b/Software/Visual_Studio/Tango.PMR/MachineStatus/SpoolTypeChangedResponse.cs
new file mode 100644
index 000000000..a605239c3
--- /dev/null
+++ b/Software/Visual_Studio/Tango.PMR/MachineStatus/SpoolTypeChangedResponse.cs
@@ -0,0 +1,131 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: SpoolTypeChangedResponse.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 {
+
+ /// <summary>Holder for reflection information generated from SpoolTypeChangedResponse.proto</summary>
+ public static partial class SpoolTypeChangedResponseReflection {
+
+ #region Descriptor
+ /// <summary>File descriptor for SpoolTypeChangedResponse.proto</summary>
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static SpoolTypeChangedResponseReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "Ch5TcG9vbFR5cGVDaGFuZ2VkUmVzcG9uc2UucHJvdG8SF1RhbmdvLlBNUi5N",
+ "YWNoaW5lU3RhdHVzIhoKGFNwb29sVHlwZUNoYW5nZWRSZXNwb25zZUIjCiFj",
+ "b20udHdpbmUudGFuZ28ucG1yLm1hY2hpbmVzdGF0dXNiBnByb3RvMw=="));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { },
+ new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
+ new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.MachineStatus.SpoolTypeChangedResponse), global::Tango.PMR.MachineStatus.SpoolTypeChangedResponse.Parser, null, null, null, null)
+ }));
+ }
+ #endregion
+
+ }
+ #region Messages
+ public sealed partial class SpoolTypeChangedResponse : pb::IMessage<SpoolTypeChangedResponse> {
+ private static readonly pb::MessageParser<SpoolTypeChangedResponse> _parser = new pb::MessageParser<SpoolTypeChangedResponse>(() => new SpoolTypeChangedResponse());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser<SpoolTypeChangedResponse> Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Tango.PMR.MachineStatus.SpoolTypeChangedResponseReflection.Descriptor.MessageTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public SpoolTypeChangedResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public SpoolTypeChangedResponse(SpoolTypeChangedResponse other) : this() {
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public SpoolTypeChangedResponse Clone() {
+ return new SpoolTypeChangedResponse(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as SpoolTypeChangedResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(SpoolTypeChangedResponse 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(SpoolTypeChangedResponse 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