数据记录的参数更改

This commit is contained in:
2025-05-21 18:37:46 +08:00
parent 34ec76fda5
commit b6c10f5b6b
9 changed files with 456 additions and 156 deletions

View File

@@ -949,34 +949,34 @@
</Canvas.Background>
<Rectangle
Canvas.Left="30"
Canvas.Top="85"
Width="470"
Canvas.Top="127"
Width="400"
Height="380"
HorizontalAlignment="Center"
VerticalAlignment="Top"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Stroke="SkyBlue"
StrokeThickness="4" />
<Label
Canvas.Left="35"
Canvas.Top="88"
Canvas.Top="128"
HorizontalAlignment="Center"
VerticalAlignment="Top"
Content="压缩机环境箱"
FontSize="26"
Foreground="DarkSlateBlue" />
<Label
Canvas.Left="795"
Canvas.Top="252"
HorizontalAlignment="Left"
Canvas.Left="582"
Canvas.Top="57"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Content="HCV1"
FontSize="16"
FontWeight="Bold" />
<Label
Canvas.Left="697"
Canvas.Top="293"
Canvas.Left="907"
Canvas.Top="37"
HorizontalAlignment="Left"
VerticalAlignment="Center"
VerticalAlignment="Top"
Content="HCV2"
FontSize="16"
FontWeight="Bold" />
@@ -989,33 +989,25 @@
FontSize="16"
FontWeight="Bold" />
<Label
Canvas.Left="906"
Canvas.Top="360"
HorizontalAlignment="Center"
Canvas.Left="897"
Canvas.Top="362"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Content="ECV2"
Content="HCV4"
FontSize="16"
FontWeight="Bold" />
<Label
Canvas.Left="915"
Canvas.Top="88"
Canvas.Left="1057"
Canvas.Top="117"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Content="COND"
FontSize="16"
FontWeight="Bold" />
<Label
Canvas.Left="1219"
Canvas.Top="231"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Content="CCV1&#x0a;冷凝器出水"
VerticalAlignment="Top"
Content="COND2"
FontSize="16"
FontWeight="Bold" />
<Controls:ValueShow
Canvas.Left="290"
Canvas.Top="290"
Canvas.Top="332"
HorizontalAlignment="Center"
VerticalAlignment="Top"
CellTitle="转速"
@@ -1023,58 +1015,58 @@
CellValue="{Binding SpeedTag.EngPvValueStr}" />
<Controls:ValueShow
Canvas.Left="301"
Canvas.Top="120"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Canvas.Top="162"
HorizontalAlignment="Center"
VerticalAlignment="Top"
CellTitle="电压"
CellUnit="{Binding ComCapBusVolTag.Unit}"
CellValue="{Binding ComCapBusVolTag.EngPvValueStr}" />
<Controls:ValueShow
Canvas.Left="301"
Canvas.Top="170"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Canvas.Top="212"
HorizontalAlignment="Center"
VerticalAlignment="Top"
CellTitle="电流"
CellUnit="{Binding ComCapBusCurTag.Unit}"
CellValue="{Binding ComCapBusCurTag.EngPvValueStr}" />
<!-- CellUnit="{Binding ComCapPwTag.Unit}" -->
<Controls:ValueShow
Canvas.Left="301"
Canvas.Top="220"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Canvas.Top="262"
HorizontalAlignment="Center"
VerticalAlignment="Top"
CellTitle="功率"
CellUnit="{Binding ComCapPwTag.Unit}"
CellValue="{Binding ComCapPwTag.EngPvValueStr}" />
<Controls:ValueShow
Canvas.Left="105"
Canvas.Top="147"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Canvas.Top="189"
HorizontalAlignment="Center"
VerticalAlignment="Top"
CellTitle="排气口压力"
CellUnit="{Binding ExPressTag.Unit}"
CellValue="{Binding ExPressTag.EngPvValueStr}" />
<Controls:ValueShow
Canvas.Left="106"
Canvas.Top="193"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Canvas.Top="235"
HorizontalAlignment="Center"
VerticalAlignment="Top"
CellTitle="排气口温度"
CellUnit="{Binding ExTempTag.Unit}"
CellValue="{Binding ExTempTag.EngPvValueStr}" />
<Controls:ValueShow
Canvas.Left="105"
Canvas.Top="292"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Canvas.Top="308"
HorizontalAlignment="Center"
VerticalAlignment="Top"
CellTitle="吸气口压力"
CellUnit="{Binding InhPressTag.Unit}"
CellValue="{Binding InhPressTag.EngPvValueStr}" />
<Controls:ValueShow
Canvas.Left="106"
Canvas.Top="338"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Canvas.Top="354"
HorizontalAlignment="Center"
VerticalAlignment="Top"
CellTitle="吸气口温度"
CellUnit="{Binding InhTempTag.Unit}"
CellValue="{Binding InhTempTag.EngPvValueStr}" />
@@ -1142,14 +1134,6 @@
CellTitle="吸气温度MV"
CellUnit="%"
CellValue="{Binding InhTempTag.EngMvValue}" />-->
<Label
Canvas.Left="1339"
Canvas.Top="225"
HorizontalAlignment="Center"
VerticalAlignment="Top"
Content="CCV2&#x0a;冷凝器出水"
FontSize="16"
FontWeight="Bold" />
<StackPanel
Canvas.Left="1250"
Canvas.Top="5"
@@ -1166,6 +1150,159 @@
FontWeight="Bold"
Foreground="Gray" />
</StackPanel>
<Label
Canvas.Left="447"
Canvas.Top="120"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Content="COND1"
FontSize="16"
FontWeight="Bold" />
<Label
Canvas.Left="365"
Canvas.Top="15"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Content="CCV1"
FontSize="16"
FontWeight="Bold" />
<Label
Canvas.Left="1009"
Canvas.Top="12"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Content="CCV2"
FontSize="16"
FontWeight="Bold" />
<Label
Canvas.Left="852"
Canvas.Top="67"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Content="FM1"
FontSize="16"
FontWeight="Bold"
RenderTransformOrigin="0.879,0.282" />
<Label
Canvas.Left="760"
Canvas.Top="150"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Content="OS1"
FontSize="16"
FontWeight="Bold" />
<Label
Canvas.Left="692"
Canvas.Top="293"
HorizontalAlignment="Center"
VerticalAlignment="Top"
Content="OS2"
FontSize="16"
FontWeight="Bold" />
<Label
Canvas.Left="752"
Canvas.Top="377"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Content="FM2"
FontSize="16"
FontWeight="Bold" />
<Label
Canvas.Left="927"
Canvas.Top="462"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Content="HCV3"
FontSize="16"
FontWeight="Bold" />
<Label
Canvas.Left="1097"
Canvas.Top="437"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Content="EV4"
FontSize="16"
FontWeight="Bold" />
<Label
Canvas.Left="1157"
Canvas.Top="392"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Content="EV3"
FontSize="16"
FontWeight="Bold" />
<Label
Canvas.Left="1215"
Canvas.Top="345"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Content="EV2"
FontSize="16"
FontWeight="Bold" />
<Label
Canvas.Left="1272"
Canvas.Top="295"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Content="EV1"
FontSize="16"
FontWeight="Bold" />
<Controls:ValueShow
Canvas.Left="740"
Canvas.Top="435"
HorizontalAlignment="Left"
VerticalAlignment="Top"
CellTitle="油流量"
CellUnit="{Binding ComCapBusVolTag.Unit}"
CellValue="{Binding ComCapBusVolTag.EngPvValueStr}" />
<Controls:ValueShow
Canvas.Left="755"
Canvas.Top="39"
HorizontalAlignment="Left"
VerticalAlignment="Center"
CellTitle="冷媒流量"
CellUnit="{Binding ComCapBusVolTag.Unit}"
CellValue="{Binding ComCapBusVolTag.EngPvValueStr}" />
<Controls:ValueShow
Canvas.Left="1060"
Canvas.Top="149"
HorizontalAlignment="Left"
VerticalAlignment="Top"
CellTitle="COND2入口温度"
CellUnit="{Binding ComCapBusVolTag.Unit}"
CellValue="{Binding ComCapBusVolTag.EngPvValueStr}" />
<Controls:ValueShow
Canvas.Left="1280"
Canvas.Top="109"
HorizontalAlignment="Left"
VerticalAlignment="Top"
CellTitle="阀前压力"
CellUnit="{Binding ComCapBusVolTag.Unit}"
CellValue="{Binding ComCapBusVolTag.EngPvValueStr}" />
<Controls:ValueShow
Canvas.Left="1280"
Canvas.Top="164"
HorizontalAlignment="Center"
VerticalAlignment="Top"
CellTitle="阀前温度"
CellUnit="{Binding ComCapBusVolTag.Unit}"
CellValue="{Binding ComCapBusVolTag.EngPvValueStr}" />
<Controls:ValueShow
Canvas.Left="1280"
Canvas.Top="219"
HorizontalAlignment="Center"
VerticalAlignment="Top"
CellTitle="过冷度"
CellUnit="{Binding ComCapBusVolTag.Unit}"
CellValue="{Binding ComCapBusVolTag.EngPvValueStr}" />
<Controls:ValueShow
Canvas.Left="448"
Canvas.Top="149"
HorizontalAlignment="Left"
VerticalAlignment="Center"
CellTitle="COND1进口温度"
CellUnit="{Binding ComCapBusVolTag.Unit}"
CellValue="{Binding ComCapBusVolTag.EngPvValueStr}" />
</Canvas>
@@ -1180,7 +1317,7 @@
Margin="0,2,2,2"
BorderBrush="Gray"
BorderThickness="2">
<ListView FontSize="16" ItemsSource="{Binding ListTag}">
<ListView FontSize="12" ItemsSource="{Binding ListTag}">
<ListView.View>
<GridView ColumnHeaderContainerStyle="{StaticResource myHeaderStyle1}">
<GridViewColumn DisplayMemberBinding="{Binding Name}" Header="名称" />
@@ -1199,7 +1336,7 @@
<ListView.ItemContainerStyle>
<Style TargetType="ListViewItem">
<!--<Setter Property="Background" Value="Transparent" />-->
<Setter Property="Height" Value="18" />
<Setter Property="Height" Value="15.5" />
</Style>
</ListView.ItemContainerStyle>
</ListView>