aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.PMR/Hardware/PIDControl.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/Hardware/PIDControl.cs')
-rw-r--r--Software/Visual_Studio/Tango.PMR/Hardware/PIDControl.cs616
1 files changed, 0 insertions, 616 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/Hardware/PIDControl.cs b/Software/Visual_Studio/Tango.PMR/Hardware/PIDControl.cs
deleted file mode 100644
index 053963484..000000000
--- a/Software/Visual_Studio/Tango.PMR/Hardware/PIDControl.cs
+++ /dev/null
@@ -1,616 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: PIDControl.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.Hardware {
-
- /// <summary>Holder for reflection information generated from PIDControl.proto</summary>
- public static partial class PIDControlReflection {
-
- #region Descriptor
- /// <summary>File descriptor for PIDControl.proto</summary>
- public static pbr::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbr::FileDescriptor descriptor;
-
- static PIDControlReflection() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- string.Concat(
- "ChBQSURDb250cm9sLnByb3RvEhJUYW5nby5QTVIuSGFyZHdhcmUinQQKEFBJ",
- "RENvbnRyb2xDb25maWcSKQoCSWQYASABKA4yHS5UYW5nby5QTVIuSGFyZHdh",
- "cmUuQ29udHJvbElkEgwKBE5hbWUYAiABKAkSIwobT3V0cHV0UHJvcG9ydGlv",
- "bmFsQ3ljbGVUaW1lGAMgASgFEiQKHE91dHB1dFByb3BvcnRpb25hbFBvd2Vy",
- "TGltaXQYBCABKAUSHgoWT3V0cHV0UHJvcG9ydGlvbmFsQmFuZBgFIAEoBRIU",
- "CgxJbnRlZ3JhbFRpbWUYBiABKAUSFgoORGVyaXZhdGl2ZVRpbWUYByABKAUS",
- "IgoaU2Vuc29yQ29ycmVjdGlvbkFkanVzdG1lbnQYCCABKAUSIwobU2Vuc29y",
- "VHlwZWFuZFNldHBvaW50TGltaXRzGAkgASgFEicKH1NldHBvaW50UmFtcFJh",
- "dGVvclNvZnRTdGFydFJhbXAYCiABKAUSIQoZU2V0cG9pbnRDb250cm9sT3V0",
- "cHV0UmF0ZRgLIAEoBRIZChFDb250cm9sT3V0cHV0VHlwZRgMIAEoBRIcChRT",
- "U1JDb250cm9sT3V0cHV0VHlwZRgNIAEoBRIjChtPdXRwdXRPTk9GRkh5c3Rl",
- "cmVzaXNWYWx1ZXMYDiABKAUSIwobUHJvY2Vzc1ZhcmlhYmxlU2FtcGxpbmdS",
- "YXRlGA8gASgFEh8KF1BWSW5wdXRGaWx0ZXJGYWN0b3JNb2RlGBAgASgFKo8C",
- "CglDb250cm9sSWQSFAoQRHJ5ZXJIZWF0ZXIxMDAwdxAAEhQKEERyeWVySGVh",
- "dGVyMjAwdzEQARIUChBEcnllckhlYXRlcjIwMHcyEAISEAoMSGVhZEhlYXRl",
- "cloxEAMSEAoMSGVhZEhlYXRlcloyEAQSEAoMSGVhZEhlYXRlclozEAUSEAoM",
- "SGVhZEhlYXRlclo0EAYSDwoLTWl4ZXJIZWF0ZXIQBxIQCgxXYXN0ZUNvbnRy",
- "b2wQCBIOCgpNb3RvckRyeWVyEAkSDwoLTW90b3JGZWVkZXIQChIPCgtNb3Rv",
- "clBvb2xlchALEg8KC01vdG9yV2luZGVyEAwSEgoORHJ5ZXJIZWF0ZXI0MDAQ",
- "DUIeChxjb20udHdpbmUudGFuZ28ucG1yLmhhcmR3YXJlYgZwcm90bzM="));
- descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { },
- new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Tango.PMR.Hardware.ControlId), }, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Hardware.PIDControlConfig), global::Tango.PMR.Hardware.PIDControlConfig.Parser, new[]{ "Id", "Name", "OutputProportionalCycleTime", "OutputProportionalPowerLimit", "OutputProportionalBand", "IntegralTime", "DerivativeTime", "SensorCorrectionAdjustment", "SensorTypeandSetpointLimits", "SetpointRampRateorSoftStartRamp", "SetpointControlOutputRate", "ControlOutputType", "SSRControlOutputType", "OutputONOFFHysteresisValues", "ProcessVariableSamplingRate", "PVInputFilterFactorMode" }, null, null, null)
- }));
- }
- #endregion
-
- }
- #region Enums
- public enum ControlId {
- [pbr::OriginalName("DryerHeater1000w")] DryerHeater1000W = 0,
- [pbr::OriginalName("DryerHeater200w1")] DryerHeater200W1 = 1,
- [pbr::OriginalName("DryerHeater200w2")] DryerHeater200W2 = 2,
- [pbr::OriginalName("HeadHeaterZ1")] HeadHeaterZ1 = 3,
- [pbr::OriginalName("HeadHeaterZ2")] HeadHeaterZ2 = 4,
- [pbr::OriginalName("HeadHeaterZ3")] HeadHeaterZ3 = 5,
- [pbr::OriginalName("HeadHeaterZ4")] HeadHeaterZ4 = 6,
- [pbr::OriginalName("MixerHeater")] MixerHeater = 7,
- [pbr::OriginalName("WasteControl")] WasteControl = 8,
- [pbr::OriginalName("MotorDryer")] MotorDryer = 9,
- [pbr::OriginalName("MotorFeeder")] MotorFeeder = 10,
- [pbr::OriginalName("MotorPooler")] MotorPooler = 11,
- [pbr::OriginalName("MotorWinder")] MotorWinder = 12,
- [pbr::OriginalName("DryerHeater400")] DryerHeater400 = 13,
- }
-
- #endregion
-
- #region Messages
- public sealed partial class PIDControlConfig : pb::IMessage<PIDControlConfig> {
- private static readonly pb::MessageParser<PIDControlConfig> _parser = new pb::MessageParser<PIDControlConfig>(() => new PIDControlConfig());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser<PIDControlConfig> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Tango.PMR.Hardware.PIDControlReflection.Descriptor.MessageTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public PIDControlConfig() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public PIDControlConfig(PIDControlConfig other) : this() {
- id_ = other.id_;
- name_ = other.name_;
- outputProportionalCycleTime_ = other.outputProportionalCycleTime_;
- outputProportionalPowerLimit_ = other.outputProportionalPowerLimit_;
- outputProportionalBand_ = other.outputProportionalBand_;
- integralTime_ = other.integralTime_;
- derivativeTime_ = other.derivativeTime_;
- sensorCorrectionAdjustment_ = other.sensorCorrectionAdjustment_;
- sensorTypeandSetpointLimits_ = other.sensorTypeandSetpointLimits_;
- setpointRampRateorSoftStartRamp_ = other.setpointRampRateorSoftStartRamp_;
- setpointControlOutputRate_ = other.setpointControlOutputRate_;
- controlOutputType_ = other.controlOutputType_;
- sSRControlOutputType_ = other.sSRControlOutputType_;
- outputONOFFHysteresisValues_ = other.outputONOFFHysteresisValues_;
- processVariableSamplingRate_ = other.processVariableSamplingRate_;
- pVInputFilterFactorMode_ = other.pVInputFilterFactorMode_;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public PIDControlConfig Clone() {
- return new PIDControlConfig(this);
- }
-
- /// <summary>Field number for the "Id" field.</summary>
- public const int IdFieldNumber = 1;
- private global::Tango.PMR.Hardware.ControlId id_ = 0;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::Tango.PMR.Hardware.ControlId Id {
- get { return id_; }
- set {
- id_ = value;
- }
- }
-
- /// <summary>Field number for the "Name" field.</summary>
- public const int NameFieldNumber = 2;
- private string name_ = "";
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string Name {
- get { return name_; }
- set {
- name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- /// <summary>Field number for the "OutputProportionalCycleTime" field.</summary>
- public const int OutputProportionalCycleTimeFieldNumber = 3;
- private int outputProportionalCycleTime_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int OutputProportionalCycleTime {
- get { return outputProportionalCycleTime_; }
- set {
- outputProportionalCycleTime_ = value;
- }
- }
-
- /// <summary>Field number for the "OutputProportionalPowerLimit" field.</summary>
- public const int OutputProportionalPowerLimitFieldNumber = 4;
- private int outputProportionalPowerLimit_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int OutputProportionalPowerLimit {
- get { return outputProportionalPowerLimit_; }
- set {
- outputProportionalPowerLimit_ = value;
- }
- }
-
- /// <summary>Field number for the "OutputProportionalBand" field.</summary>
- public const int OutputProportionalBandFieldNumber = 5;
- private int outputProportionalBand_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int OutputProportionalBand {
- get { return outputProportionalBand_; }
- set {
- outputProportionalBand_ = value;
- }
- }
-
- /// <summary>Field number for the "IntegralTime" field.</summary>
- public const int IntegralTimeFieldNumber = 6;
- private int integralTime_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int IntegralTime {
- get { return integralTime_; }
- set {
- integralTime_ = value;
- }
- }
-
- /// <summary>Field number for the "DerivativeTime" field.</summary>
- public const int DerivativeTimeFieldNumber = 7;
- private int derivativeTime_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int DerivativeTime {
- get { return derivativeTime_; }
- set {
- derivativeTime_ = value;
- }
- }
-
- /// <summary>Field number for the "SensorCorrectionAdjustment" field.</summary>
- public const int SensorCorrectionAdjustmentFieldNumber = 8;
- private int sensorCorrectionAdjustment_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int SensorCorrectionAdjustment {
- get { return sensorCorrectionAdjustment_; }
- set {
- sensorCorrectionAdjustment_ = value;
- }
- }
-
- /// <summary>Field number for the "SensorTypeandSetpointLimits" field.</summary>
- public const int SensorTypeandSetpointLimitsFieldNumber = 9;
- private int sensorTypeandSetpointLimits_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int SensorTypeandSetpointLimits {
- get { return sensorTypeandSetpointLimits_; }
- set {
- sensorTypeandSetpointLimits_ = value;
- }
- }
-
- /// <summary>Field number for the "SetpointRampRateorSoftStartRamp" field.</summary>
- public const int SetpointRampRateorSoftStartRampFieldNumber = 10;
- private int setpointRampRateorSoftStartRamp_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int SetpointRampRateorSoftStartRamp {
- get { return setpointRampRateorSoftStartRamp_; }
- set {
- setpointRampRateorSoftStartRamp_ = value;
- }
- }
-
- /// <summary>Field number for the "SetpointControlOutputRate" field.</summary>
- public const int SetpointControlOutputRateFieldNumber = 11;
- private int setpointControlOutputRate_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int SetpointControlOutputRate {
- get { return setpointControlOutputRate_; }
- set {
- setpointControlOutputRate_ = value;
- }
- }
-
- /// <summary>Field number for the "ControlOutputType" field.</summary>
- public const int ControlOutputTypeFieldNumber = 12;
- private int controlOutputType_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int ControlOutputType {
- get { return controlOutputType_; }
- set {
- controlOutputType_ = value;
- }
- }
-
- /// <summary>Field number for the "SSRControlOutputType" field.</summary>
- public const int SSRControlOutputTypeFieldNumber = 13;
- private int sSRControlOutputType_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int SSRControlOutputType {
- get { return sSRControlOutputType_; }
- set {
- sSRControlOutputType_ = value;
- }
- }
-
- /// <summary>Field number for the "OutputONOFFHysteresisValues" field.</summary>
- public const int OutputONOFFHysteresisValuesFieldNumber = 14;
- private int outputONOFFHysteresisValues_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int OutputONOFFHysteresisValues {
- get { return outputONOFFHysteresisValues_; }
- set {
- outputONOFFHysteresisValues_ = value;
- }
- }
-
- /// <summary>Field number for the "ProcessVariableSamplingRate" field.</summary>
- public const int ProcessVariableSamplingRateFieldNumber = 15;
- private int processVariableSamplingRate_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int ProcessVariableSamplingRate {
- get { return processVariableSamplingRate_; }
- set {
- processVariableSamplingRate_ = value;
- }
- }
-
- /// <summary>Field number for the "PVInputFilterFactorMode" field.</summary>
- public const int PVInputFilterFactorModeFieldNumber = 16;
- private int pVInputFilterFactorMode_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int PVInputFilterFactorMode {
- get { return pVInputFilterFactorMode_; }
- set {
- pVInputFilterFactorMode_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as PIDControlConfig);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(PIDControlConfig other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Id != other.Id) return false;
- if (Name != other.Name) return false;
- if (OutputProportionalCycleTime != other.OutputProportionalCycleTime) return false;
- if (OutputProportionalPowerLimit != other.OutputProportionalPowerLimit) return false;
- if (OutputProportionalBand != other.OutputProportionalBand) return false;
- if (IntegralTime != other.IntegralTime) return false;
- if (DerivativeTime != other.DerivativeTime) return false;
- if (SensorCorrectionAdjustment != other.SensorCorrectionAdjustment) return false;
- if (SensorTypeandSetpointLimits != other.SensorTypeandSetpointLimits) return false;
- if (SetpointRampRateorSoftStartRamp != other.SetpointRampRateorSoftStartRamp) return false;
- if (SetpointControlOutputRate != other.SetpointControlOutputRate) return false;
- if (ControlOutputType != other.ControlOutputType) return false;
- if (SSRControlOutputType != other.SSRControlOutputType) return false;
- if (OutputONOFFHysteresisValues != other.OutputONOFFHysteresisValues) return false;
- if (ProcessVariableSamplingRate != other.ProcessVariableSamplingRate) return false;
- if (PVInputFilterFactorMode != other.PVInputFilterFactorMode) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (Id != 0) hash ^= Id.GetHashCode();
- if (Name.Length != 0) hash ^= Name.GetHashCode();
- if (OutputProportionalCycleTime != 0) hash ^= OutputProportionalCycleTime.GetHashCode();
- if (OutputProportionalPowerLimit != 0) hash ^= OutputProportionalPowerLimit.GetHashCode();
- if (OutputProportionalBand != 0) hash ^= OutputProportionalBand.GetHashCode();
- if (IntegralTime != 0) hash ^= IntegralTime.GetHashCode();
- if (DerivativeTime != 0) hash ^= DerivativeTime.GetHashCode();
- if (SensorCorrectionAdjustment != 0) hash ^= SensorCorrectionAdjustment.GetHashCode();
- if (SensorTypeandSetpointLimits != 0) hash ^= SensorTypeandSetpointLimits.GetHashCode();
- if (SetpointRampRateorSoftStartRamp != 0) hash ^= SetpointRampRateorSoftStartRamp.GetHashCode();
- if (SetpointControlOutputRate != 0) hash ^= SetpointControlOutputRate.GetHashCode();
- if (ControlOutputType != 0) hash ^= ControlOutputType.GetHashCode();
- if (SSRControlOutputType != 0) hash ^= SSRControlOutputType.GetHashCode();
- if (OutputONOFFHysteresisValues != 0) hash ^= OutputONOFFHysteresisValues.GetHashCode();
- if (ProcessVariableSamplingRate != 0) hash ^= ProcessVariableSamplingRate.GetHashCode();
- if (PVInputFilterFactorMode != 0) hash ^= PVInputFilterFactorMode.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 (Id != 0) {
- output.WriteRawTag(8);
- output.WriteEnum((int) Id);
- }
- if (Name.Length != 0) {
- output.WriteRawTag(18);
- output.WriteString(Name);
- }
- if (OutputProportionalCycleTime != 0) {
- output.WriteRawTag(24);
- output.WriteInt32(OutputProportionalCycleTime);
- }
- if (OutputProportionalPowerLimit != 0) {
- output.WriteRawTag(32);
- output.WriteInt32(OutputProportionalPowerLimit);
- }
- if (OutputProportionalBand != 0) {
- output.WriteRawTag(40);
- output.WriteInt32(OutputProportionalBand);
- }
- if (IntegralTime != 0) {
- output.WriteRawTag(48);
- output.WriteInt32(IntegralTime);
- }
- if (DerivativeTime != 0) {
- output.WriteRawTag(56);
- output.WriteInt32(DerivativeTime);
- }
- if (SensorCorrectionAdjustment != 0) {
- output.WriteRawTag(64);
- output.WriteInt32(SensorCorrectionAdjustment);
- }
- if (SensorTypeandSetpointLimits != 0) {
- output.WriteRawTag(72);
- output.WriteInt32(SensorTypeandSetpointLimits);
- }
- if (SetpointRampRateorSoftStartRamp != 0) {
- output.WriteRawTag(80);
- output.WriteInt32(SetpointRampRateorSoftStartRamp);
- }
- if (SetpointControlOutputRate != 0) {
- output.WriteRawTag(88);
- output.WriteInt32(SetpointControlOutputRate);
- }
- if (ControlOutputType != 0) {
- output.WriteRawTag(96);
- output.WriteInt32(ControlOutputType);
- }
- if (SSRControlOutputType != 0) {
- output.WriteRawTag(104);
- output.WriteInt32(SSRControlOutputType);
- }
- if (OutputONOFFHysteresisValues != 0) {
- output.WriteRawTag(112);
- output.WriteInt32(OutputONOFFHysteresisValues);
- }
- if (ProcessVariableSamplingRate != 0) {
- output.WriteRawTag(120);
- output.WriteInt32(ProcessVariableSamplingRate);
- }
- if (PVInputFilterFactorMode != 0) {
- output.WriteRawTag(128, 1);
- output.WriteInt32(PVInputFilterFactorMode);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (Id != 0) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Id);
- }
- if (Name.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
- }
- if (OutputProportionalCycleTime != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(OutputProportionalCycleTime);
- }
- if (OutputProportionalPowerLimit != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(OutputProportionalPowerLimit);
- }
- if (OutputProportionalBand != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(OutputProportionalBand);
- }
- if (IntegralTime != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(IntegralTime);
- }
- if (DerivativeTime != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(DerivativeTime);
- }
- if (SensorCorrectionAdjustment != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(SensorCorrectionAdjustment);
- }
- if (SensorTypeandSetpointLimits != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(SensorTypeandSetpointLimits);
- }
- if (SetpointRampRateorSoftStartRamp != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(SetpointRampRateorSoftStartRamp);
- }
- if (SetpointControlOutputRate != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(SetpointControlOutputRate);
- }
- if (ControlOutputType != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(ControlOutputType);
- }
- if (SSRControlOutputType != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(SSRControlOutputType);
- }
- if (OutputONOFFHysteresisValues != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(OutputONOFFHysteresisValues);
- }
- if (ProcessVariableSamplingRate != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(ProcessVariableSamplingRate);
- }
- if (PVInputFilterFactorMode != 0) {
- size += 2 + pb::CodedOutputStream.ComputeInt32Size(PVInputFilterFactorMode);
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(PIDControlConfig other) {
- if (other == null) {
- return;
- }
- if (other.Id != 0) {
- Id = other.Id;
- }
- if (other.Name.Length != 0) {
- Name = other.Name;
- }
- if (other.OutputProportionalCycleTime != 0) {
- OutputProportionalCycleTime = other.OutputProportionalCycleTime;
- }
- if (other.OutputProportionalPowerLimit != 0) {
- OutputProportionalPowerLimit = other.OutputProportionalPowerLimit;
- }
- if (other.OutputProportionalBand != 0) {
- OutputProportionalBand = other.OutputProportionalBand;
- }
- if (other.IntegralTime != 0) {
- IntegralTime = other.IntegralTime;
- }
- if (other.DerivativeTime != 0) {
- DerivativeTime = other.DerivativeTime;
- }
- if (other.SensorCorrectionAdjustment != 0) {
- SensorCorrectionAdjustment = other.SensorCorrectionAdjustment;
- }
- if (other.SensorTypeandSetpointLimits != 0) {
- SensorTypeandSetpointLimits = other.SensorTypeandSetpointLimits;
- }
- if (other.SetpointRampRateorSoftStartRamp != 0) {
- SetpointRampRateorSoftStartRamp = other.SetpointRampRateorSoftStartRamp;
- }
- if (other.SetpointControlOutputRate != 0) {
- SetpointControlOutputRate = other.SetpointControlOutputRate;
- }
- if (other.ControlOutputType != 0) {
- ControlOutputType = other.ControlOutputType;
- }
- if (other.SSRControlOutputType != 0) {
- SSRControlOutputType = other.SSRControlOutputType;
- }
- if (other.OutputONOFFHysteresisValues != 0) {
- OutputONOFFHysteresisValues = other.OutputONOFFHysteresisValues;
- }
- if (other.ProcessVariableSamplingRate != 0) {
- ProcessVariableSamplingRate = other.ProcessVariableSamplingRate;
- }
- if (other.PVInputFilterFactorMode != 0) {
- PVInputFilterFactorMode = other.PVInputFilterFactorMode;
- }
- }
-
- [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: {
- id_ = (global::Tango.PMR.Hardware.ControlId) input.ReadEnum();
- break;
- }
- case 18: {
- Name = input.ReadString();
- break;
- }
- case 24: {
- OutputProportionalCycleTime = input.ReadInt32();
- break;
- }
- case 32: {
- OutputProportionalPowerLimit = input.ReadInt32();
- break;
- }
- case 40: {
- OutputProportionalBand = input.ReadInt32();
- break;
- }
- case 48: {
- IntegralTime = input.ReadInt32();
- break;
- }
- case 56: {
- DerivativeTime = input.ReadInt32();
- break;
- }
- case 64: {
- SensorCorrectionAdjustment = input.ReadInt32();
- break;
- }
- case 72: {
- SensorTypeandSetpointLimits = input.ReadInt32();
- break;
- }
- case 80: {
- SetpointRampRateorSoftStartRamp = input.ReadInt32();
- break;
- }
- case 88: {
- SetpointControlOutputRate = input.ReadInt32();
- break;
- }
- case 96: {
- ControlOutputType = input.ReadInt32();
- break;
- }
- case 104: {
- SSRControlOutputType = input.ReadInt32();
- break;
- }
- case 112: {
- OutputONOFFHysteresisValues = input.ReadInt32();
- break;
- }
- case 120: {
- ProcessVariableSamplingRate = input.ReadInt32();
- break;
- }
- case 128: {
- PVInputFilterFactorMode = input.ReadInt32();
- break;
- }
- }
- }
- }
-
- }
-
- #endregion
-
-}
-
-#endregion Designer generated code