更新库文件,实现当水温报警相关参数变化时,实时生效,而不用重启软件。

This commit is contained in:
DESKTOP-1N1NK8A\auvkk 2023-04-20 15:04:57 +08:00
parent cc42997e5e
commit d94f00a342
10 changed files with 60 additions and 29 deletions

View File

@ -979,24 +979,25 @@
<config default="1" name="TMA-Eff" description="TMA Bubbling efficiency for recipe" max="100" min="0" paramter="" tag="" unit="" type="Double" />
</configs>
<configs name="CoolingWater">
<config default="3" name="FilterDuration" description="温度采样值滤波时间,对指定时长内的采样数据求算术平均值作为报警判断" max="10" min="0" paramter="" tag="" unit="s" type="Integer" />
<config default="5" name="WarningOffset" description="超温警告偏移,当水温超过(报警值-Offset产生警告" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="5" name="WarningDelay" description="设置值和反馈值之差超限后,引发警告的延迟时间" max="300" min="0" paramter="" tag="" unit="s" type="Integer" visible="true" />
<config default="10" name="AlarmDelay" description="设置值和反馈值之差超限后,引发报警的延迟时间" max="300" min="0" paramter="" tag="" unit="s" type="Integer" visible="true" />
<config default="3" name="FilterDuration" description="温度采样值滤波时间,对指定时长内的采样数据求算术平均值作为报警判断" max="10" min="0" paramter="" tag="" unit="s" type="Integer" />
<config default="30" name="SHFlowTemp" description="DO196 喷淋头超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="30" name="ChamTopFlowTemp" description="DO197 PM中间法兰超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="30" name="ChamMiddleFlow1Temp" description="DO198 PM腔中部1超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="30" name="ChamMiddleFlow2Temp" description="DO195 PM腔中部2超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="30" name="ChamBottomFlowTemp" description="DO199 PM腔下部超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="30" name="ChamBottomPlateFlowTemp" description="DO200 PM腔底部超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="20" name="PowerRod1FlowTemp" description="DO201 下电极超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="20" name="PowerRod2FlowTemp" description="DO202 下电极和磁流体超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="20" name="ForelineFlowTemp" description="DO203 真空管道和方口法兰超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="20" name="ElectrodeWFlowTemp" description="DO204 侧壁电极超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="20" name="TMPumpFlowTemp" description="DO205 TM干泵超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="20" name="TMTopLidFlowTemp" description="DO207 TM腔上盖超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="20" name="TransformerFlowTemp" description="DO206 变压器超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="45" name="SHFlowTemp" description="DO196 喷淋头超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="45" name="ChamTopFlowTemp" description="DO197 PM中间法兰超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="45" name="ChamMiddleFlow1Temp" description="DO198 PM腔中部1超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="45" name="ChamMiddleFlow2Temp" description="DO195 PM腔中部2超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="45" name="ChamBottomFlowTemp" description="DO199 PM腔下部超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="45" name="ChamBottomPlateFlowTemp" description="DO200 PM腔底部超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="45" name="PowerRod1FlowTemp" description="DO201 下电极超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="45" name="PowerRod2FlowTemp" description="DO202 下电极和磁流体超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="45" name="ForelineFlowTemp" description="DO203 真空管道和方口法兰超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="45" name="ElectrodeWFlowTemp" description="DO204 侧壁电极超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="45" name="TMPumpFlowTemp" description="DO205 TM干泵超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="45" name="TMTopLidFlowTemp" description="DO207 TM腔上盖超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="45" name="TransformerFlowTemp" description="DO206 变压器超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
</configs>
<configs name="IdleService" visible="false">
@ -1559,24 +1560,24 @@
<config default="1" name="TMA-Eff" description="TMA Bubbling efficiency for recipe" max="100" min="0" paramter="" tag="" unit="" type="Double" />
</configs>
<configs name="CoolingWater">
<config default="3" name="FilterDuration" description="温度采样值滤波时间,对指定时长内的采样数据求算术平均值作为报警判断" max="10" min="0" paramter="" tag="" unit="s" type="Integer" />
<config default="5" name="WarningOffset" description="超温警告偏移,当水温超过(报警值-Offset产生警告" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="5" name="WarningDelay" description="设置值和反馈值之差超限后,引发警告的延迟时间" max="300" min="0" paramter="" tag="" unit="s" type="Integer" visible="true" />
<config default="10" name="AlarmDelay" description="设置值和反馈值之差超限后,引发报警的延迟时间" max="300" min="0" paramter="" tag="" unit="s" type="Integer" visible="true" />
<config default="3" name="FilterDuration" description="温度采样值滤波时间,对指定时长内的采样数据求算术平均值作为报警判断" max="10" min="0" paramter="" tag="" unit="s" type="Integer" />
<config default="30" name="SHFlowTemp" description="DO196 喷淋头超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="30" name="ChamTopFlowTemp" description="DO197 PM中间法兰超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="30" name="ChamMiddleFlow1Temp" description="DO198 PM腔中部1超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="30" name="ChamMiddleFlow2Temp" description="DO195 PM腔中部2超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="30" name="ChamBottomFlowTemp" description="DO199 PM腔下部超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="30" name="ChamBottomPlateFlowTemp" description="DO200 PM腔底部超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="20" name="PowerRod1FlowTemp" description="DO201 下电极超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="20" name="PowerRod2FlowTemp" description="DO202 下电极和磁流体超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="20" name="ForelineFlowTemp" description="DO203 真空管道和方口法兰超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="20" name="ElectrodeWFlowTemp" description="DO204 侧壁电极超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="20" name="TMPumpFlowTemp" description="DO205 TM干泵超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="20" name="TMTopLidFlowTemp" description="DO207 TM腔上盖超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="20" name="TransformerFlowTemp" description="DO206 变压器超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="45" name="SHFlowTemp" description="DO196 喷淋头超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="45" name="ChamTopFlowTemp" description="DO197 PM中间法兰超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="45" name="ChamMiddleFlow1Temp" description="DO198 PM腔中部1超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="45" name="ChamMiddleFlow2Temp" description="DO195 PM腔中部2超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="45" name="ChamBottomFlowTemp" description="DO199 PM腔下部超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="45" name="ChamBottomPlateFlowTemp" description="DO200 PM腔底部超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="45" name="PowerRod1FlowTemp" description="DO201 下电极超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="45" name="PowerRod2FlowTemp" description="DO202 下电极和磁流体超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="45" name="ForelineFlowTemp" description="DO203 真空管道和方口法兰超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="45" name="ElectrodeWFlowTemp" description="DO204 侧壁电极超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="45" name="TMPumpFlowTemp" description="DO205 TM干泵超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="45" name="TMTopLidFlowTemp" description="DO207 TM腔上盖超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
<config default="45" name="TransformerFlowTemp" description="DO206 变压器超温报警" max="90" min="0" paramter="" tag="" unit="℃" type="Double" />
</configs>
<configs name="IdleService" visible="false">
<config default="false" name="IdleFirstEnable" description="IdleService是否启用首次Clean" max="" min="" paramter="" tag="" unit="" type="Bool" />

View File

@ -0,0 +1,27 @@
using System;
using System.Globalization;
using System.Windows.Data;
using Aitex.Core.Common.DeviceData;
namespace SicUI.Models.PMs.Converters
{
internal class WaterTempDeviceDataToToolTipConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
if (value is AITSensorAnalogData deviceData)
{
return deviceData.DisplayName;
}
else
{
return null;
}
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
throw new NotImplementedException();
}
}
}

View File

@ -70,13 +70,14 @@
<Setter Property="BorderBrush" Value="{DynamicResource Table_BD}"/>
<Setter Property="BorderThickness" Value="0,0,1,1"/>
<Setter Property="Padding" Value="5,1"/>
<Setter Property="ToolTip.Content" Value="{Binding AlarmHigh}"/>
<Style.Triggers>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding IsWarning}" Value="false"/>
<Condition Binding="{Binding IsAlarm}" Value="false"/>
</MultiDataTrigger.Conditions>
<Setter Property="Background" Value="{DynamicResource Table_BG_Content_Inner}"/>
<Setter Property="Background" Value="Transparent"/>
</MultiDataTrigger>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>

View File

@ -280,6 +280,7 @@ if exist "$(ProjectDir)..\SicSetup\Packages\SicUI\PresetGroups" rd "$(ProjectDir
<Compile Include="Models\PMs\ContinueSelectDialogView.xaml.cs">
<DependentUpon>ContinueSelectDialogView.xaml</DependentUpon>
</Compile>
<Compile Include="Models\PMs\Converters\WaterTempDeviceDataToToolTipConverter.cs" />
<Compile Include="Models\PMs\InverseBoolConverter.cs" />
<Compile Include="Models\PMs\PMAlarmView.xaml.cs">
<DependentUpon>PMAlarmView.xaml</DependentUpon>
@ -951,6 +952,7 @@ if exist "$(ProjectDir)..\SicSetup\Packages\SicUI\PresetGroups" rd "$(ProjectDir
<ItemGroup>
<Resource Include="Resources\Images\eng_mode_watermark.png" />
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>