aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.PMR/EmbeddedParameters/ConfigurationParameters.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/EmbeddedParameters/ConfigurationParameters.cs')
-rw-r--r--Software/Visual_Studio/Tango.PMR/EmbeddedParameters/ConfigurationParameters.cs108
1 files changed, 33 insertions, 75 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/EmbeddedParameters/ConfigurationParameters.cs b/Software/Visual_Studio/Tango.PMR/EmbeddedParameters/ConfigurationParameters.cs
index 1e7767423..a7e1345bd 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",
- "YmVkZGVkUGFyYW1ldGVycyKNCgoXQ29uZmlndXJhdGlvblBhcmFtZXRlcnMS",
+ "YmVkZGVkUGFyYW1ldGVycyLjCQoXQ29uZmlndXJhdGlvblBhcmFtZXRlcnMS",
"GAoQQnJlYWtTZW5zb3JMaW1pdBgBIAEoDRIhChlEaWFnbm9zdGljQ29sbGVj",
"dGlvbkxpbWl0GAIgASgNEhoKEk92ZXJIZWF0Q291bnRMaW1pdBgDIAEoDRIb",
"ChNVbmRlckhlYXRDb3VudExpbWl0GAQgASgNEhkKEUNsb3NlVmFsdmVUaW1l",
@@ -51,13 +51,12 @@ namespace Tango.PMR.EmbeddedParameters {
"ICABKA0SGwoTSWRsZUhlYWRUZW1wZXJhdHVyZRghIAEoDRIcChRJZGxlTWl4",
"ZXJUZW1wZXJhdHVyZRgiIAEoDRIgChhQb3dlck9mZlRlbXBlcmF0dXJlTGlt",
"aXQYIyABKA0SLQolSURTX1ByZVNlZ21lbnRfV0ZDRl9UaW1lQmVmb3JlU2Vn",
- "bWVudBgkIAEoARITCgtGaWxlVmVyc2lvbhglIAEoDRITCgtEZXNjcmlwdGlv",
- "bhgmIAEoCUIoCiZjb20udHdpbmUudGFuZ28ucG1yLmVtYmVkZGVkcGFyYW1l",
- "dGVyc2IGcHJvdG8z"));
+ "bWVudBgkIAEoAUIoCiZjb20udHdpbmUudGFuZ28ucG1yLmVtYmVkZGVkcGFy",
+ "YW1ldGVyc2IGcHJvdG8z"));
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", "ACHeatersLowerOperationLimit", "ACHeatersUpperOperationLimit", "DCHeatersLowerOperationLimit", "DCHeatersUpperOperationLimit", "MidTankPressureCorrection", "DispenserPresegmentWFCF", "StartHeatingOnInitSequence", "GeneralParameters", "CurrentAlarmLowLimit", "CurrentAlarmHighLimit", "IDSSegmentRefillTimeout", "IDSPreSegmentBuildupTime", "IDSCleaningSpeed", "IDSCleaningStopBeforeSegmentTime", "IDSCleaningStartSprayPreSegmentTime", "IDSLeftCleaningMotorSpeed", "IDSRightCleaningMotorSpeed", "SwitchToIdleTimeinSeconds", "IdleDrierTemperature", "IdleHeadTemperature", "IdleMixerTemperature", "PowerOffTemperatureLimit", "IDSPreSegmentWFCFTimeBeforeSegment", "FileVersion", "Description" }, 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", "DispenserPresegmentWFCF", "StartHeatingOnInitSequence", "GeneralParameters", "CurrentAlarmLowLimit", "CurrentAlarmHighLimit", "IDSSegmentRefillTimeout", "IDSPreSegmentBuildupTime", "IDSCleaningSpeed", "IDSCleaningStopBeforeSegmentTime", "IDSCleaningStartSprayPreSegmentTime", "IDSLeftCleaningMotorSpeed", "IDSRightCleaningMotorSpeed", "SwitchToIdleTimeinSeconds", "IdleDrierTemperature", "IdleHeadTemperature", "IdleMixerTemperature", "PowerOffTemperatureLimit", "IDSPreSegmentWFCFTimeBeforeSegment" }, null, null, null)
}));
}
#endregion
@@ -124,8 +123,6 @@ namespace Tango.PMR.EmbeddedParameters {
idleMixerTemperature_ = other.idleMixerTemperature_;
powerOffTemperatureLimit_ = other.powerOffTemperatureLimit_;
iDSPreSegmentWFCFTimeBeforeSegment_ = other.iDSPreSegmentWFCFTimeBeforeSegment_;
- fileVersion_ = other.fileVersion_;
- description_ = other.description_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -137,7 +134,7 @@ namespace Tango.PMR.EmbeddedParameters {
public const int BreakSensorLimitFieldNumber = 1;
private uint breakSensorLimit_;
/// <summary>
- /// Break Sensor Limit
+ ///#define BREAK_SENSOR_LIMIT 10
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint BreakSensorLimit {
@@ -151,7 +148,7 @@ namespace Tango.PMR.EmbeddedParameters {
public const int DiagnosticCollectionLimitFieldNumber = 2;
private uint diagnosticCollectionLimit_;
/// <summary>
- /// Diagnostics send interval in milliseconds 2
+ ///#define Diagnostics send interval in milliseconds 2
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint DiagnosticCollectionLimit {
@@ -165,7 +162,7 @@ namespace Tango.PMR.EmbeddedParameters {
public const int OverHeatCountLimitFieldNumber = 3;
private uint overHeatCountLimit_;
/// <summary>
- /// Overheat Count Limit
+ ///#define OVERHEAT_COUNT_LIMIT 3
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint OverHeatCountLimit {
@@ -179,7 +176,7 @@ namespace Tango.PMR.EmbeddedParameters {
public const int UnderHeatCountLimitFieldNumber = 4;
private uint underHeatCountLimit_;
/// <summary>
- /// Underheat Count Limit
+ ///#define UNDERHEAT_COUNT_LIMIT 3
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint UnderHeatCountLimit {
@@ -193,7 +190,7 @@ namespace Tango.PMR.EmbeddedParameters {
public const int CloseValveTimeoutFieldNumber = 5;
private uint closeValveTimeout_;
/// <summary>
- /// Close Valve Timeout
+ ///uint32_t CloseValveTimeout = 250;
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint CloseValveTimeout {
@@ -207,7 +204,7 @@ namespace Tango.PMR.EmbeddedParameters {
public const int OpenValveTimeoutFieldNumber = 6;
private uint openValveTimeout_;
/// <summary>
- /// Open Valve Timeout = 250;
+ ///uint32_t OpenValveTimeout = 250;
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint OpenValveTimeout {
@@ -221,7 +218,7 @@ namespace Tango.PMR.EmbeddedParameters {
public const int InitialDispenserPressureFieldNumber = 7;
private double initialDispenserPressure_;
/// <summary>
- /// Initial Dispenser Pressure
+ ///#define INITIAL_DISPENSER_PRESSURE 0.10
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double InitialDispenserPressure {
@@ -235,7 +232,7 @@ namespace Tango.PMR.EmbeddedParameters {
public const int InitialDispenserTimeoutFieldNumber = 8;
private uint initialDispenserTimeout_;
/// <summary>
- /// Initial Dispenser Timeout Limit
+ ///#define INITIAL_DISPENSER_TIMEOUT_LIMIT 10000
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint InitialDispenserTimeout {
@@ -249,7 +246,7 @@ namespace Tango.PMR.EmbeddedParameters {
public const int InitialDispenserTimeLagFieldNumber = 9;
private uint initialDispenserTimeLag_;
/// <summary>
- /// Initial Dispenser Timeout
+ ///#define INITIAL_DISPENSER_TIMEOUT 100
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint InitialDispenserTimeLag {
@@ -263,7 +260,7 @@ namespace Tango.PMR.EmbeddedParameters {
public const int DispenserBuildPressureSpeedFieldNumber = 10;
private uint dispenserBuildPressureSpeed_;
/// <summary>
- /// Dispenser prepare pressure building parameters - job prepare
+ ///#define DISPENSER_BUILD_PRESSURE_SPEED 500
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint DispenserBuildPressureSpeed {
@@ -276,6 +273,9 @@ namespace Tango.PMR.EmbeddedParameters {
/// <summary>Field number for the "DispenserBuildPressureLimit" field.</summary>
public const int DispenserBuildPressureLimitFieldNumber = 11;
private double dispenserBuildPressureLimit_;
+ /// <summary>
+ ///#define DISPENSER_BUILD_PRESSURE_LIMIT 0.5
+ /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double DispenserBuildPressureLimit {
get { return dispenserBuildPressureLimit_; }
@@ -287,6 +287,9 @@ namespace Tango.PMR.EmbeddedParameters {
/// <summary>Field number for the "DispenserBuildPressureTimeout" field.</summary>
public const int DispenserBuildPressureTimeoutFieldNumber = 12;
private uint dispenserBuildPressureTimeout_;
+ /// <summary>
+ ///#define DISPENSER_BUILD_PRESSURE_TIMEOUT 8000
+ /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint DispenserBuildPressureTimeout {
get { return dispenserBuildPressureTimeout_; }
@@ -298,6 +301,9 @@ namespace Tango.PMR.EmbeddedParameters {
/// <summary>Field number for the "DispenserBuildPressureLag" field.</summary>
public const int DispenserBuildPressureLagFieldNumber = 13;
private uint dispenserBuildPressureLag_;
+ /// <summary>
+ ///#define DISPENSER_BUILD_PRESSURE_LAG 50
+ /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint DispenserBuildPressureLag {
get { return dispenserBuildPressureLag_; }
@@ -356,9 +362,6 @@ namespace Tango.PMR.EmbeddedParameters {
/// <summary>Field number for the "MidTankPressureCorrection" field.</summary>
public const int MidTankPressureCorrectionFieldNumber = 18;
private double midTankPressureCorrection_;
- /// <summary>
- ///obsolete
- /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double MidTankPressureCorrection {
get { return midTankPressureCorrection_; }
@@ -425,6 +428,9 @@ namespace Tango.PMR.EmbeddedParameters {
/// <summary>Field number for the "CurrentAlarmHighLimit" field.</summary>
public const int CurrentAlarmHighLimitFieldNumber = 23;
private double currentAlarmHighLimit_;
+ /// <summary>
+ /// a limit percentage for current deviation predefined level
+ /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double CurrentAlarmHighLimit {
get { return currentAlarmHighLimit_; }
@@ -465,7 +471,7 @@ namespace Tango.PMR.EmbeddedParameters {
public const int IDSCleaningSpeedFieldNumber = 26;
private double iDSCleaningSpeed_;
/// <summary>
- ///cleaning dispenser motor speed and timing - going to move to RML
+ ///cleaning dispenser motorspeed
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double IDSCleaningSpeed {
@@ -478,6 +484,9 @@ namespace Tango.PMR.EmbeddedParameters {
/// <summary>Field number for the "IDS_CleaningStopBeforeSegmentTime" field.</summary>
public const int IDSCleaningStopBeforeSegmentTimeFieldNumber = 27;
private double iDSCleaningStopBeforeSegmentTime_;
+ /// <summary>
+ ///cleaning dispenser stop before segment start
+ /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double IDSCleaningStopBeforeSegmentTime {
get { return iDSCleaningStopBeforeSegmentTime_; }
@@ -489,6 +498,9 @@ namespace Tango.PMR.EmbeddedParameters {
/// <summary>Field number for the "IDS_CleaningStartSprayPreSegmentTime" field.</summary>
public const int IDSCleaningStartSprayPreSegmentTimeFieldNumber = 28;
private double iDSCleaningStartSprayPreSegmentTime_;
+ /// <summary>
+ ///cleaning dispenser start during pre segment
+ /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double IDSCleaningStartSprayPreSegmentTime {
get { return iDSCleaningStartSprayPreSegmentTime_; }
@@ -588,28 +600,6 @@ namespace Tango.PMR.EmbeddedParameters {
}
}
- /// <summary>Field number for the "FileVersion" field.</summary>
- public const int FileVersionFieldNumber = 37;
- private uint fileVersion_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public uint FileVersion {
- get { return fileVersion_; }
- set {
- fileVersion_ = value;
- }
- }
-
- /// <summary>Field number for the "Description" field.</summary>
- public const int DescriptionFieldNumber = 38;
- private string description_ = "";
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string Description {
- get { return description_; }
- set {
- description_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as ConfigurationParameters);
@@ -659,8 +649,6 @@ namespace Tango.PMR.EmbeddedParameters {
if (IdleMixerTemperature != other.IdleMixerTemperature) return false;
if (PowerOffTemperatureLimit != other.PowerOffTemperatureLimit) return false;
if (IDSPreSegmentWFCFTimeBeforeSegment != other.IDSPreSegmentWFCFTimeBeforeSegment) return false;
- if (FileVersion != other.FileVersion) return false;
- if (Description != other.Description) return false;
return true;
}
@@ -703,8 +691,6 @@ namespace Tango.PMR.EmbeddedParameters {
if (IdleMixerTemperature != 0) hash ^= IdleMixerTemperature.GetHashCode();
if (PowerOffTemperatureLimit != 0) hash ^= PowerOffTemperatureLimit.GetHashCode();
if (IDSPreSegmentWFCFTimeBeforeSegment != 0D) hash ^= IDSPreSegmentWFCFTimeBeforeSegment.GetHashCode();
- if (FileVersion != 0) hash ^= FileVersion.GetHashCode();
- if (Description.Length != 0) hash ^= Description.GetHashCode();
return hash;
}
@@ -856,14 +842,6 @@ namespace Tango.PMR.EmbeddedParameters {
output.WriteRawTag(161, 2);
output.WriteDouble(IDSPreSegmentWFCFTimeBeforeSegment);
}
- if (FileVersion != 0) {
- output.WriteRawTag(168, 2);
- output.WriteUInt32(FileVersion);
- }
- if (Description.Length != 0) {
- output.WriteRawTag(178, 2);
- output.WriteString(Description);
- }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -975,12 +953,6 @@ namespace Tango.PMR.EmbeddedParameters {
if (IDSPreSegmentWFCFTimeBeforeSegment != 0D) {
size += 2 + 8;
}
- if (FileVersion != 0) {
- size += 2 + pb::CodedOutputStream.ComputeUInt32Size(FileVersion);
- }
- if (Description.Length != 0) {
- size += 2 + pb::CodedOutputStream.ComputeStringSize(Description);
- }
return size;
}
@@ -1095,12 +1067,6 @@ namespace Tango.PMR.EmbeddedParameters {
if (other.IDSPreSegmentWFCFTimeBeforeSegment != 0D) {
IDSPreSegmentWFCFTimeBeforeSegment = other.IDSPreSegmentWFCFTimeBeforeSegment;
}
- if (other.FileVersion != 0) {
- FileVersion = other.FileVersion;
- }
- if (other.Description.Length != 0) {
- Description = other.Description;
- }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -1256,14 +1222,6 @@ namespace Tango.PMR.EmbeddedParameters {
IDSPreSegmentWFCFTimeBeforeSegment = input.ReadDouble();
break;
}
- case 296: {
- FileVersion = input.ReadUInt32();
- break;
- }
- case 306: {
- Description = input.ReadString();
- break;
- }
}
}
}