aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.PMR/MachineStatus/MachineStatus.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2021-02-16 17:15:16 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2021-02-16 17:15:16 +0200
commitf73b3b8043e4f9183a5450afdbb99bcde1b63ff1 (patch)
tree97a83df9ae9f248388769b00e63ec495d3bd2123 /Software/Visual_Studio/Tango.PMR/MachineStatus/MachineStatus.cs
parent8a4a7818428d7b203cb28082c720c74831b2165f (diff)
downloadTango-f73b3b8043e4f9183a5450afdbb99bcde1b63ff1.tar.gz
Tango-f73b3b8043e4f9183a5450afdbb99bcde1b63ff1.zip
Short cycle mode done.
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/MachineStatus/MachineStatus.cs')
-rw-r--r--Software/Visual_Studio/Tango.PMR/MachineStatus/MachineStatus.cs36
1 files changed, 32 insertions, 4 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/MachineStatus/MachineStatus.cs b/Software/Visual_Studio/Tango.PMR/MachineStatus/MachineStatus.cs
index dc2713128..ccc02e572 100644
--- a/Software/Visual_Studio/Tango.PMR/MachineStatus/MachineStatus.cs
+++ b/Software/Visual_Studio/Tango.PMR/MachineStatus/MachineStatus.cs
@@ -24,17 +24,17 @@ namespace Tango.PMR.MachineStatus {
string.Concat(
"ChNNYWNoaW5lU3RhdHVzLnByb3RvEhdUYW5nby5QTVIuTWFjaGluZVN0YXR1",
"cxoSTWFjaGluZVN0YXRlLnByb3RvGhJJRFNQYWNrTGV2ZWwucHJvdG8aEFNw",
- "b29sU3RhdGUucHJvdG8i2QEKDU1hY2hpbmVTdGF0dXMSNAoFU3RhdGUYASAB",
+ "b29sU3RhdGUucHJvdG8i+QEKDU1hY2hpbmVTdGF0dXMSNAoFU3RhdGUYASAB",
"KA4yJS5UYW5nby5QTVIuTWFjaGluZVN0YXR1cy5NYWNoaW5lU3RhdGUSPQoO",
"SURTUGFja3NMZXZlbHMYAiADKAsyJS5UYW5nby5QTVIuTWFjaGluZVN0YXR1",
"cy5JRFNQYWNrTGV2ZWwSGgoST3ZlcmFsbFRlbXBlcmF0dXJlGAMgASgBEjcK",
"ClNwb29sU3RhdGUYBCABKA4yIy5UYW5nby5QTVIuTWFjaGluZVN0YXR1cy5T",
- "cG9vbFN0YXRlQiMKIWNvbS50d2luZS50YW5nby5wbXIubWFjaGluZXN0YXR1",
- "c2IGcHJvdG8z"));
+ "cG9vbFN0YXRlEh4KFkF1dG9JbmtGaWxsaW5nRGlzYWJsZWQYBSABKAhCIwoh",
+ "Y29tLnR3aW5lLnRhbmdvLnBtci5tYWNoaW5lc3RhdHVzYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Tango.PMR.MachineStatus.MachineStateReflection.Descriptor, global::Tango.PMR.MachineStatus.IDSPackLevelReflection.Descriptor, global::Tango.PMR.MachineStatus.SpoolStateReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.MachineStatus.MachineStatus), global::Tango.PMR.MachineStatus.MachineStatus.Parser, new[]{ "State", "IDSPacksLevels", "OverallTemperature", "SpoolState" }, null, null, null)
+ new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.MachineStatus.MachineStatus), global::Tango.PMR.MachineStatus.MachineStatus.Parser, new[]{ "State", "IDSPacksLevels", "OverallTemperature", "SpoolState", "AutoInkFillingDisabled" }, null, null, null)
}));
}
#endregion
@@ -69,6 +69,7 @@ namespace Tango.PMR.MachineStatus {
iDSPacksLevels_ = other.iDSPacksLevels_.Clone();
overallTemperature_ = other.overallTemperature_;
spoolState_ = other.spoolState_;
+ autoInkFillingDisabled_ = other.autoInkFillingDisabled_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -119,6 +120,17 @@ namespace Tango.PMR.MachineStatus {
}
}
+ /// <summary>Field number for the "AutoInkFillingDisabled" field.</summary>
+ public const int AutoInkFillingDisabledFieldNumber = 5;
+ private bool autoInkFillingDisabled_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool AutoInkFillingDisabled {
+ get { return autoInkFillingDisabled_; }
+ set {
+ autoInkFillingDisabled_ = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as MachineStatus);
@@ -136,6 +148,7 @@ namespace Tango.PMR.MachineStatus {
if(!iDSPacksLevels_.Equals(other.iDSPacksLevels_)) return false;
if (OverallTemperature != other.OverallTemperature) return false;
if (SpoolState != other.SpoolState) return false;
+ if (AutoInkFillingDisabled != other.AutoInkFillingDisabled) return false;
return true;
}
@@ -146,6 +159,7 @@ namespace Tango.PMR.MachineStatus {
hash ^= iDSPacksLevels_.GetHashCode();
if (OverallTemperature != 0D) hash ^= OverallTemperature.GetHashCode();
if (SpoolState != 0) hash ^= SpoolState.GetHashCode();
+ if (AutoInkFillingDisabled != false) hash ^= AutoInkFillingDisabled.GetHashCode();
return hash;
}
@@ -169,6 +183,10 @@ namespace Tango.PMR.MachineStatus {
output.WriteRawTag(32);
output.WriteEnum((int) SpoolState);
}
+ if (AutoInkFillingDisabled != false) {
+ output.WriteRawTag(40);
+ output.WriteBool(AutoInkFillingDisabled);
+ }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -184,6 +202,9 @@ namespace Tango.PMR.MachineStatus {
if (SpoolState != 0) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) SpoolState);
}
+ if (AutoInkFillingDisabled != false) {
+ size += 1 + 1;
+ }
return size;
}
@@ -202,6 +223,9 @@ namespace Tango.PMR.MachineStatus {
if (other.SpoolState != 0) {
SpoolState = other.SpoolState;
}
+ if (other.AutoInkFillingDisabled != false) {
+ AutoInkFillingDisabled = other.AutoInkFillingDisabled;
+ }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -228,6 +252,10 @@ namespace Tango.PMR.MachineStatus {
spoolState_ = (global::Tango.PMR.MachineStatus.SpoolState) input.ReadEnum();
break;
}
+ case 40: {
+ AutoInkFillingDisabled = input.ReadBool();
+ break;
+ }
}
}
}