aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.PMR/MachineStatus/IDSPackLevel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/MachineStatus/IDSPackLevel.cs')
-rw-r--r--Software/Visual_Studio/Tango.PMR/MachineStatus/IDSPackLevel.cs123
1 files changed, 119 insertions, 4 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/MachineStatus/IDSPackLevel.cs b/Software/Visual_Studio/Tango.PMR/MachineStatus/IDSPackLevel.cs
index 18024c6d7..099069143 100644
--- a/Software/Visual_Studio/Tango.PMR/MachineStatus/IDSPackLevel.cs
+++ b/Software/Visual_Studio/Tango.PMR/MachineStatus/IDSPackLevel.cs
@@ -23,13 +23,16 @@ namespace Tango.PMR.MachineStatus {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChJJRFNQYWNrTGV2ZWwucHJvdG8SF1RhbmdvLlBNUi5NYWNoaW5lU3RhdHVz",
- "IksKDElEU1BhY2tMZXZlbBINCgVJbmRleBgBIAEoBRIWCg5EaXNwZW5zZXJM",
- "ZXZlbBgCIAEoBRIUCgxNaWRUYW5rTGV2ZWwYAyABKAFCIwohY29tLnR3aW5l",
- "LnRhbmdvLnBtci5tYWNoaW5lc3RhdHVzYgZwcm90bzM="));
+ "IrgBCgxJRFNQYWNrTGV2ZWwSDQoFSW5kZXgYASABKAUSFgoORGlzcGVuc2Vy",
+ "TGV2ZWwYAiABKAUSFAoMTWlkVGFua0xldmVsGAMgASgBEhcKD0plcnJpY2Fu",
+ "UHJlc2VudBgEIAEoCBIbChNGaWxsaW5nVGltZW91dEVycm9yGAUgASgIEhQK",
+ "DE1pZFRhbmtFbXB0eRgGIAEoCBIfChdNaWRUYW5rUmVmaWxsUHVtcEFjdGl2",
+ "ZRgHIAEoCEIjCiFjb20udHdpbmUudGFuZ28ucG1yLm1hY2hpbmVzdGF0dXNi",
+ "BnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.MachineStatus.IDSPackLevel), global::Tango.PMR.MachineStatus.IDSPackLevel.Parser, new[]{ "Index", "DispenserLevel", "MidTankLevel" }, null, null, null)
+ new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.MachineStatus.IDSPackLevel), global::Tango.PMR.MachineStatus.IDSPackLevel.Parser, new[]{ "Index", "DispenserLevel", "MidTankLevel", "JerricanPresent", "FillingTimeoutError", "MidTankEmpty", "MidTankRefillPumpActive" }, null, null, null)
}));
}
#endregion
@@ -63,6 +66,10 @@ namespace Tango.PMR.MachineStatus {
index_ = other.index_;
dispenserLevel_ = other.dispenserLevel_;
midTankLevel_ = other.midTankLevel_;
+ jerricanPresent_ = other.jerricanPresent_;
+ fillingTimeoutError_ = other.fillingTimeoutError_;
+ midTankEmpty_ = other.midTankEmpty_;
+ midTankRefillPumpActive_ = other.midTankRefillPumpActive_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -103,6 +110,50 @@ namespace Tango.PMR.MachineStatus {
}
}
+ /// <summary>Field number for the "JerricanPresent" field.</summary>
+ public const int JerricanPresentFieldNumber = 4;
+ private bool jerricanPresent_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool JerricanPresent {
+ get { return jerricanPresent_; }
+ set {
+ jerricanPresent_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "FillingTimeoutError" field.</summary>
+ public const int FillingTimeoutErrorFieldNumber = 5;
+ private bool fillingTimeoutError_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool FillingTimeoutError {
+ get { return fillingTimeoutError_; }
+ set {
+ fillingTimeoutError_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "MidTankEmpty" field.</summary>
+ public const int MidTankEmptyFieldNumber = 6;
+ private bool midTankEmpty_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool MidTankEmpty {
+ get { return midTankEmpty_; }
+ set {
+ midTankEmpty_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "MidTankRefillPumpActive" field.</summary>
+ public const int MidTankRefillPumpActiveFieldNumber = 7;
+ private bool midTankRefillPumpActive_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool MidTankRefillPumpActive {
+ get { return midTankRefillPumpActive_; }
+ set {
+ midTankRefillPumpActive_ = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as IDSPackLevel);
@@ -119,6 +170,10 @@ namespace Tango.PMR.MachineStatus {
if (Index != other.Index) return false;
if (DispenserLevel != other.DispenserLevel) return false;
if (MidTankLevel != other.MidTankLevel) return false;
+ if (JerricanPresent != other.JerricanPresent) return false;
+ if (FillingTimeoutError != other.FillingTimeoutError) return false;
+ if (MidTankEmpty != other.MidTankEmpty) return false;
+ if (MidTankRefillPumpActive != other.MidTankRefillPumpActive) return false;
return true;
}
@@ -128,6 +183,10 @@ namespace Tango.PMR.MachineStatus {
if (Index != 0) hash ^= Index.GetHashCode();
if (DispenserLevel != 0) hash ^= DispenserLevel.GetHashCode();
if (MidTankLevel != 0D) hash ^= MidTankLevel.GetHashCode();
+ if (JerricanPresent != false) hash ^= JerricanPresent.GetHashCode();
+ if (FillingTimeoutError != false) hash ^= FillingTimeoutError.GetHashCode();
+ if (MidTankEmpty != false) hash ^= MidTankEmpty.GetHashCode();
+ if (MidTankRefillPumpActive != false) hash ^= MidTankRefillPumpActive.GetHashCode();
return hash;
}
@@ -150,6 +209,22 @@ namespace Tango.PMR.MachineStatus {
output.WriteRawTag(25);
output.WriteDouble(MidTankLevel);
}
+ if (JerricanPresent != false) {
+ output.WriteRawTag(32);
+ output.WriteBool(JerricanPresent);
+ }
+ if (FillingTimeoutError != false) {
+ output.WriteRawTag(40);
+ output.WriteBool(FillingTimeoutError);
+ }
+ if (MidTankEmpty != false) {
+ output.WriteRawTag(48);
+ output.WriteBool(MidTankEmpty);
+ }
+ if (MidTankRefillPumpActive != false) {
+ output.WriteRawTag(56);
+ output.WriteBool(MidTankRefillPumpActive);
+ }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -164,6 +239,18 @@ namespace Tango.PMR.MachineStatus {
if (MidTankLevel != 0D) {
size += 1 + 8;
}
+ if (JerricanPresent != false) {
+ size += 1 + 1;
+ }
+ if (FillingTimeoutError != false) {
+ size += 1 + 1;
+ }
+ if (MidTankEmpty != false) {
+ size += 1 + 1;
+ }
+ if (MidTankRefillPumpActive != false) {
+ size += 1 + 1;
+ }
return size;
}
@@ -181,6 +268,18 @@ namespace Tango.PMR.MachineStatus {
if (other.MidTankLevel != 0D) {
MidTankLevel = other.MidTankLevel;
}
+ if (other.JerricanPresent != false) {
+ JerricanPresent = other.JerricanPresent;
+ }
+ if (other.FillingTimeoutError != false) {
+ FillingTimeoutError = other.FillingTimeoutError;
+ }
+ if (other.MidTankEmpty != false) {
+ MidTankEmpty = other.MidTankEmpty;
+ }
+ if (other.MidTankRefillPumpActive != false) {
+ MidTankRefillPumpActive = other.MidTankRefillPumpActive;
+ }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -203,6 +302,22 @@ namespace Tango.PMR.MachineStatus {
MidTankLevel = input.ReadDouble();
break;
}
+ case 32: {
+ JerricanPresent = input.ReadBool();
+ break;
+ }
+ case 40: {
+ FillingTimeoutError = input.ReadBool();
+ break;
+ }
+ case 48: {
+ MidTankEmpty = input.ReadBool();
+ break;
+ }
+ case 56: {
+ MidTankRefillPumpActive = input.ReadBool();
+ break;
+ }
}
}
}