diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-02-25 11:26:06 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-02-25 11:26:06 +0200 |
| commit | e068fa9d45e3ad6da977a08d722453756c38eee7 (patch) | |
| tree | 775f8e4313105536dbaab1adf325c9655a0de750 /Software/Visual_Studio/Tango.PMR/EmbeddedParameters | |
| parent | cc7cafd24fdb59afc78d198062c469344177f553 (diff) | |
| download | Tango-e068fa9d45e3ad6da977a08d722453756c38eee7.tar.gz Tango-e068fa9d45e3ad6da977a08d722453756c38eee7.zip | |
Updated PMR.
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/EmbeddedParameters')
| -rw-r--r-- | Software/Visual_Studio/Tango.PMR/EmbeddedParameters/ConfigurationParameters.cs | 152 |
1 files changed, 148 insertions, 4 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/EmbeddedParameters/ConfigurationParameters.cs b/Software/Visual_Studio/Tango.PMR/EmbeddedParameters/ConfigurationParameters.cs index 26953788d..7f6f2d2c0 100644 --- a/Software/Visual_Studio/Tango.PMR/EmbeddedParameters/ConfigurationParameters.cs +++ b/Software/Visual_Studio/Tango.PMR/EmbeddedParameters/ConfigurationParameters.cs @@ -23,7 +23,7 @@ namespace Tango.PMR.EmbeddedParameters { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Ch1Db25maWd1cmF0aW9uUGFyYW1ldGVycy5wcm90bxIcVGFuZ28uUE1SLkVt", - "YmVkZGVkUGFyYW1ldGVycyK8AwoXQ29uZmlndXJhdGlvblBhcmFtZXRlcnMS", + "YmVkZGVkUGFyYW1ldGVycyL3BAoXQ29uZmlndXJhdGlvblBhcmFtZXRlcnMS", "GAoQQnJlYWtTZW5zb3JMaW1pdBgBIAEoDRIhChlEaWFnbm9zdGljQ29sbGVj", "dGlvbkxpbWl0GAIgASgNEhoKEk92ZXJIZWF0Q291bnRMaW1pdBgDIAEoDRIb", "ChNVbmRlckhlYXRDb3VudExpbWl0GAQgASgNEhkKEUNsb3NlVmFsdmVUaW1l", @@ -33,12 +33,16 @@ namespace Tango.PMR.EmbeddedParameters { "EiMKG0Rpc3BlbnNlckJ1aWxkUHJlc3N1cmVTcGVlZBgKIAEoDRIjChtEaXNw", "ZW5zZXJCdWlsZFByZXNzdXJlTGltaXQYCyABKAESJQodRGlzcGVuc2VyQnVp", "bGRQcmVzc3VyZVRpbWVvdXQYDCABKA0SIQoZRGlzcGVuc2VyQnVpbGRQcmVz", - "c3VyZUxhZxgNIAEoDUIoCiZjb20udHdpbmUudGFuZ28ucG1yLmVtYmVkZGVk", - "cGFyYW1ldGVyc2IGcHJvdG8z")); + "c3VyZUxhZxgNIAEoDRIkChxBQ0hlYXRlcnNMb3dlck9wZXJhdGlvbkxpbWl0", + "GA4gASgNEiQKHEFDSGVhdGVyc1VwcGVyT3BlcmF0aW9uTGltaXQYDyABKA0S", + "JAocRENIZWF0ZXJzTG93ZXJPcGVyYXRpb25MaW1pdBgQIAEoDRIkChxEQ0hl", + "YXRlcnNVcHBlck9wZXJhdGlvbkxpbWl0GBEgASgNEiEKGU1pZFRhbmtQcmVz", + "c3VyZUNvcnJlY3Rpb24YEiABKAFCKAomY29tLnR3aW5lLnRhbmdvLnBtci5l", + "bWJlZGRlZHBhcmFtZXRlcnNiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.EmbeddedParameters.ConfigurationParameters), global::Tango.PMR.EmbeddedParameters.ConfigurationParameters.Parser, new[]{ "BreakSensorLimit", "DiagnosticCollectionLimit", "OverHeatCountLimit", "UnderHeatCountLimit", "CloseValveTimeout", "OpenValveTimeout", "InitialDispenserPressure", "InitialDispenserTimeout", "InitialDispenserTimeLag", "DispenserBuildPressureSpeed", "DispenserBuildPressureLimit", "DispenserBuildPressureTimeout", "DispenserBuildPressureLag" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.EmbeddedParameters.ConfigurationParameters), global::Tango.PMR.EmbeddedParameters.ConfigurationParameters.Parser, new[]{ "BreakSensorLimit", "DiagnosticCollectionLimit", "OverHeatCountLimit", "UnderHeatCountLimit", "CloseValveTimeout", "OpenValveTimeout", "InitialDispenserPressure", "InitialDispenserTimeout", "InitialDispenserTimeLag", "DispenserBuildPressureSpeed", "DispenserBuildPressureLimit", "DispenserBuildPressureTimeout", "DispenserBuildPressureLag", "ACHeatersLowerOperationLimit", "ACHeatersUpperOperationLimit", "DCHeatersLowerOperationLimit", "DCHeatersUpperOperationLimit", "MidTankPressureCorrection" }, null, null, null) })); } #endregion @@ -82,6 +86,11 @@ namespace Tango.PMR.EmbeddedParameters { dispenserBuildPressureLimit_ = other.dispenserBuildPressureLimit_; dispenserBuildPressureTimeout_ = other.dispenserBuildPressureTimeout_; dispenserBuildPressureLag_ = other.dispenserBuildPressureLag_; + aCHeatersLowerOperationLimit_ = other.aCHeatersLowerOperationLimit_; + aCHeatersUpperOperationLimit_ = other.aCHeatersUpperOperationLimit_; + dCHeatersLowerOperationLimit_ = other.dCHeatersLowerOperationLimit_; + dCHeatersUpperOperationLimit_ = other.dCHeatersUpperOperationLimit_; + midTankPressureCorrection_ = other.midTankPressureCorrection_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -271,6 +280,61 @@ namespace Tango.PMR.EmbeddedParameters { } } + /// <summary>Field number for the "ACHeatersLowerOperationLimit" field.</summary> + public const int ACHeatersLowerOperationLimitFieldNumber = 14; + private uint aCHeatersLowerOperationLimit_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public uint ACHeatersLowerOperationLimit { + get { return aCHeatersLowerOperationLimit_; } + set { + aCHeatersLowerOperationLimit_ = value; + } + } + + /// <summary>Field number for the "ACHeatersUpperOperationLimit" field.</summary> + public const int ACHeatersUpperOperationLimitFieldNumber = 15; + private uint aCHeatersUpperOperationLimit_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public uint ACHeatersUpperOperationLimit { + get { return aCHeatersUpperOperationLimit_; } + set { + aCHeatersUpperOperationLimit_ = value; + } + } + + /// <summary>Field number for the "DCHeatersLowerOperationLimit" field.</summary> + public const int DCHeatersLowerOperationLimitFieldNumber = 16; + private uint dCHeatersLowerOperationLimit_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public uint DCHeatersLowerOperationLimit { + get { return dCHeatersLowerOperationLimit_; } + set { + dCHeatersLowerOperationLimit_ = value; + } + } + + /// <summary>Field number for the "DCHeatersUpperOperationLimit" field.</summary> + public const int DCHeatersUpperOperationLimitFieldNumber = 17; + private uint dCHeatersUpperOperationLimit_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public uint DCHeatersUpperOperationLimit { + get { return dCHeatersUpperOperationLimit_; } + set { + dCHeatersUpperOperationLimit_ = value; + } + } + + /// <summary>Field number for the "MidTankPressureCorrection" field.</summary> + public const int MidTankPressureCorrectionFieldNumber = 18; + private double midTankPressureCorrection_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public double MidTankPressureCorrection { + get { return midTankPressureCorrection_; } + set { + midTankPressureCorrection_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as ConfigurationParameters); @@ -297,6 +361,11 @@ namespace Tango.PMR.EmbeddedParameters { if (DispenserBuildPressureLimit != other.DispenserBuildPressureLimit) return false; if (DispenserBuildPressureTimeout != other.DispenserBuildPressureTimeout) return false; if (DispenserBuildPressureLag != other.DispenserBuildPressureLag) return false; + if (ACHeatersLowerOperationLimit != other.ACHeatersLowerOperationLimit) return false; + if (ACHeatersUpperOperationLimit != other.ACHeatersUpperOperationLimit) return false; + if (DCHeatersLowerOperationLimit != other.DCHeatersLowerOperationLimit) return false; + if (DCHeatersUpperOperationLimit != other.DCHeatersUpperOperationLimit) return false; + if (MidTankPressureCorrection != other.MidTankPressureCorrection) return false; return true; } @@ -316,6 +385,11 @@ namespace Tango.PMR.EmbeddedParameters { if (DispenserBuildPressureLimit != 0D) hash ^= DispenserBuildPressureLimit.GetHashCode(); if (DispenserBuildPressureTimeout != 0) hash ^= DispenserBuildPressureTimeout.GetHashCode(); if (DispenserBuildPressureLag != 0) hash ^= DispenserBuildPressureLag.GetHashCode(); + if (ACHeatersLowerOperationLimit != 0) hash ^= ACHeatersLowerOperationLimit.GetHashCode(); + if (ACHeatersUpperOperationLimit != 0) hash ^= ACHeatersUpperOperationLimit.GetHashCode(); + if (DCHeatersLowerOperationLimit != 0) hash ^= DCHeatersLowerOperationLimit.GetHashCode(); + if (DCHeatersUpperOperationLimit != 0) hash ^= DCHeatersUpperOperationLimit.GetHashCode(); + if (MidTankPressureCorrection != 0D) hash ^= MidTankPressureCorrection.GetHashCode(); return hash; } @@ -378,6 +452,26 @@ namespace Tango.PMR.EmbeddedParameters { output.WriteRawTag(104); output.WriteUInt32(DispenserBuildPressureLag); } + if (ACHeatersLowerOperationLimit != 0) { + output.WriteRawTag(112); + output.WriteUInt32(ACHeatersLowerOperationLimit); + } + if (ACHeatersUpperOperationLimit != 0) { + output.WriteRawTag(120); + output.WriteUInt32(ACHeatersUpperOperationLimit); + } + if (DCHeatersLowerOperationLimit != 0) { + output.WriteRawTag(128, 1); + output.WriteUInt32(DCHeatersLowerOperationLimit); + } + if (DCHeatersUpperOperationLimit != 0) { + output.WriteRawTag(136, 1); + output.WriteUInt32(DCHeatersUpperOperationLimit); + } + if (MidTankPressureCorrection != 0D) { + output.WriteRawTag(145, 1); + output.WriteDouble(MidTankPressureCorrection); + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -422,6 +516,21 @@ namespace Tango.PMR.EmbeddedParameters { if (DispenserBuildPressureLag != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DispenserBuildPressureLag); } + if (ACHeatersLowerOperationLimit != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ACHeatersLowerOperationLimit); + } + if (ACHeatersUpperOperationLimit != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ACHeatersUpperOperationLimit); + } + if (DCHeatersLowerOperationLimit != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(DCHeatersLowerOperationLimit); + } + if (DCHeatersUpperOperationLimit != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(DCHeatersUpperOperationLimit); + } + if (MidTankPressureCorrection != 0D) { + size += 2 + 8; + } return size; } @@ -469,6 +578,21 @@ namespace Tango.PMR.EmbeddedParameters { if (other.DispenserBuildPressureLag != 0) { DispenserBuildPressureLag = other.DispenserBuildPressureLag; } + if (other.ACHeatersLowerOperationLimit != 0) { + ACHeatersLowerOperationLimit = other.ACHeatersLowerOperationLimit; + } + if (other.ACHeatersUpperOperationLimit != 0) { + ACHeatersUpperOperationLimit = other.ACHeatersUpperOperationLimit; + } + if (other.DCHeatersLowerOperationLimit != 0) { + DCHeatersLowerOperationLimit = other.DCHeatersLowerOperationLimit; + } + if (other.DCHeatersUpperOperationLimit != 0) { + DCHeatersUpperOperationLimit = other.DCHeatersUpperOperationLimit; + } + if (other.MidTankPressureCorrection != 0D) { + MidTankPressureCorrection = other.MidTankPressureCorrection; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -531,6 +655,26 @@ namespace Tango.PMR.EmbeddedParameters { DispenserBuildPressureLag = input.ReadUInt32(); break; } + case 112: { + ACHeatersLowerOperationLimit = input.ReadUInt32(); + break; + } + case 120: { + ACHeatersUpperOperationLimit = input.ReadUInt32(); + break; + } + case 128: { + DCHeatersLowerOperationLimit = input.ReadUInt32(); + break; + } + case 136: { + DCHeatersUpperOperationLimit = input.ReadUInt32(); + break; + } + case 145: { + MidTankPressureCorrection = input.ReadDouble(); + break; + } } } } |
