public BasicHeaterSimScanEnginePlugin(string name, BasicHeaterSimScanEnginePluginConfig config) : base(name) { Config = new BasicHeaterSimScanEnginePluginConfig(config); IsOnline = true; IsContactorEnabled = true; OutputValues = new BasicHeaterSimScanEnginePluginOutputs(); OutputValues.slewLimitedSetpoint = Config.AmbientTemp; OutputValues.currentPower = 0.0; OutputValues.IntrinsicTemperature = Config.InitialTemp; OutputValues.Readback = OutputValues.IntrinsicTemperature; }
public BasicHeaterSimScanEnginePluginConfig(BasicHeaterSimScanEnginePluginConfig other) { other = other ?? emptyConfig; InitialTemp = other.InitialTemp; AmbientTemp = other.AmbientTemp; MaxHeatRampRatePerSec = other.MaxHeatRampRatePerSec; MaxCoolRampRatePerSec = other.MaxCoolRampRatePerSec; ErrorClip = other.ErrorClip; ThermalMassDegPerSecPerWatt = other.ThermalMassDegPerSecPerWatt; ThermalLoadWattsPerDeg = other.ThermalLoadWattsPerDeg; FullScalePowerWatts = other.FullScalePowerWatts; PhysicalPowerRampLimitWattsPerSec = other.PhysicalPowerRampLimitWattsPerSec; EnableNoise = other.EnableNoise; }