Quellcode durchsuchen

升降温功能加上状态显示

reconfiguration
ZhaoGang vor 1 Monat
Ursprung
Commit
00c5139488
3 geänderte Dateien mit 76 neuen und 10 gelöschten Zeilen
  1. +24
    -1
      BPASmartClient.Academy/View/DeviceMotionView.xaml
  2. +21
    -0
      BPASmartClient.Academy/View/DeviceMotion_2View.xaml
  3. +31
    -9
      BPASmartClient.Academy/View/ReactionKettle50LView.xaml

+ 24
- 1
BPASmartClient.Academy/View/DeviceMotionView.xaml Datei anzeigen

@@ -1040,7 +1040,8 @@
Tag="2" />
</StackPanel>
<StackPanel
Canvas.Left="785" Canvas.Top="41" Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Top">
Canvas.Left="785" Canvas.Top="41" HorizontalAlignment="Center" VerticalAlignment="Top"
Orientation="Vertical">
<RadioButton
Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
Click="new_Click" Content="二次闪蒸:开" FontSize="8" Foreground="White"
@@ -1238,6 +1239,7 @@
<RadioButton
Height="40" Click="auto_click" Content="温度校准" GroupName="heat"
Style="{StaticResource RectangleRadioButtonStyle}" />

</StackPanel>
<Border
Grid.Row="2" Margin="20,0,30,10" BorderBrush="#ff2AB2E7" BorderThickness="2">
@@ -1262,6 +1264,13 @@
Width="100" Height="30" Margin="40,0,0,0" BorderThickness="0"
Click="TempCLose_CLick" Content="停止" Foreground="White" IsChecked="True"
Style="{StaticResource radiobutton}" />
<TextBlock
Margin="15,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="White"
Text="当前状态:" TextAlignment="Center" />
<TextBlock
HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="20"
Foreground="{Binding DeviceStatus.配料罐自动升温, Converter={StaticResource BoolToColorConverter}}"
Text="⬛" TextAlignment="Center" />
</StackPanel>
</WrapPanel>
<WrapPanel
@@ -1284,6 +1293,13 @@
Width="100" Height="30" Margin="40,0,0,0" BorderThickness="0"
Click="TempCLose_CLick" Content="停止" Foreground="White" IsChecked="True"
Style="{StaticResource radiobutton}" />
<TextBlock
Margin="15,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="White"
Text="当前状态:" TextAlignment="Center" />
<TextBlock
HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="20"
Foreground="{Binding DeviceStatus.反应釜自动升温, Converter={StaticResource BoolToColorConverter}}"
Text="⬛" TextAlignment="Center" />
</StackPanel>
</WrapPanel>
<WrapPanel
@@ -1306,6 +1322,13 @@
Width="100" Height="30" Margin="40,0,0,0" BorderThickness="0"
Click="TempCLose_CLick" Content="停止" Foreground="White" IsChecked="True"
Style="{StaticResource radiobutton}" />
<TextBlock
Margin="15,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="White"
Text="当前状态:" TextAlignment="Center" />
<TextBlock
HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="20"
Foreground="{Binding DeviceStatus.反应釜自动降温, Converter={StaticResource BoolToColorConverter}}"
Text="⬛" TextAlignment="Center" />
</StackPanel>
</WrapPanel>
<WrapPanel


+ 21
- 0
BPASmartClient.Academy/View/DeviceMotion_2View.xaml Datei anzeigen

@@ -1424,6 +1424,13 @@
Width="100" Height="30" Margin="40,0,0,0" BorderThickness="0"
Click="TempCLose_CLick" Content="停止" Foreground="White" IsChecked="True"
Style="{StaticResource radiobutton}" />
<TextBlock
Margin="15,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="White"
Text="当前状态:" TextAlignment="Center" />
<TextBlock
HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="20"
Foreground="{Binding DeviceStatus.配料罐自动升温, Converter={StaticResource BoolToColorConverter}}"
Text="⬛" TextAlignment="Center" />
</StackPanel>
</WrapPanel>
<WrapPanel
@@ -1446,6 +1453,13 @@
Width="100" Height="30" Margin="40,0,0,0" BorderThickness="0"
Click="TempCLose_CLick" Content="停止" Foreground="White" IsChecked="True"
Style="{StaticResource radiobutton}" />
<TextBlock
Margin="15,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="White"
Text="当前状态:" TextAlignment="Center" />
<TextBlock
HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="20"
Foreground="{Binding DeviceStatus.反应釜自动升温, Converter={StaticResource BoolToColorConverter}}"
Text="⬛" TextAlignment="Center" />
</StackPanel>
</WrapPanel>
<WrapPanel
@@ -1468,6 +1482,13 @@
Width="100" Height="30" Margin="40,0,0,0" BorderThickness="0"
Click="TempCLose_CLick" Content="停止" Foreground="White" IsChecked="True"
Style="{StaticResource radiobutton}" />
<TextBlock
Margin="15,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="White"
Text="当前状态:" TextAlignment="Center" />
<TextBlock
HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="20"
Foreground="{Binding DeviceStatus.反应釜自动降温, Converter={StaticResource BoolToColorConverter}}"
Text="⬛" TextAlignment="Center" />
</StackPanel>
</WrapPanel>
<WrapPanel


+ 31
- 9
BPASmartClient.Academy/View/ReactionKettle50LView.xaml Datei anzeigen

@@ -1278,20 +1278,21 @@
</TransformGroup>
</bpa:Joint.RenderTransform>
</bpa:Joint>
<GroupBox Header="显示图例" Canvas.Left="860" Canvas.Top="465" Foreground="White">
<GroupBox
Canvas.Left="860" Canvas.Top="465" Foreground="White" Header="显示图例">
<StackPanel Orientation="Vertical">
<TextBlock
HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="10"
Foreground="Red" Text=" ⬛ :该阀/电机/功能指令为关闭" TextAlignment="Center" />
HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="10" Foreground="Red"
Text=" ⬛ :该阀/电机/功能指令为关闭" TextAlignment="Center" />
<TextBlock
HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="10"
Foreground="Green" Text=" ⬛ :该阀/电机/功能指令为打开" TextAlignment="Center" />
HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="10" Foreground="Green"
Text=" ⬛ :该阀/电机/功能指令为打开" TextAlignment="Center" />
<TextBlock
HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="10"
Foreground="Red" Text="⚫ :该阀/电机/功能当前反馈状态为关闭" TextAlignment="Center" />
HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="10" Foreground="Red"
Text="⚫ :该阀/电机/功能当前反馈状态为关闭" TextAlignment="Center" />
<TextBlock
HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="10"
Foreground="Green" Text="⚫ :该阀/电机/功能当前反馈状态为打开" TextAlignment="Center" />
HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="10" Foreground="Green"
Text="⚫ :该阀/电机/功能当前反馈状态为打开" TextAlignment="Center" />
</StackPanel>
</GroupBox>
<bpa:PipeLineTR
@@ -1497,6 +1498,13 @@
Click="TempCLose_CLick" Content="停止" Foreground="White" IsChecked="True"
Style="{StaticResource radiobutton}"
Tag="反应釜升温" />
<TextBlock
Margin="15,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="White"
Text="当前状态:" TextAlignment="Center" />
<TextBlock
HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="20"
Foreground="{Binding DeviceStatus.IsSetReactHeat, Converter={StaticResource BoolToColorConverter}}"
Text="⬛" TextAlignment="Center" />
</StackPanel>
</WrapPanel>
<!--#endregion-->
@@ -1524,6 +1532,13 @@
Click="TempCLose_CLick" Content="停止" Foreground="White" IsChecked="True"
Style="{StaticResource radiobutton}"
Tag="反应釜降温" />
<TextBlock
Margin="15,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="White"
Text="当前状态:" TextAlignment="Center" />
<TextBlock
HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="20"
Foreground="{Binding DeviceStatus.IsSetReactCool, Converter={StaticResource BoolToColorConverter}}"
Text="⬛" TextAlignment="Center" />
</StackPanel>
</WrapPanel>
<!--#endregion-->
@@ -1551,6 +1566,13 @@
Click="TempCLose_CLick" Content="停止" Foreground="White" IsChecked="True"
Style="{StaticResource radiobutton}"
Tag="冷凝水罐降温" />
<TextBlock
Margin="15,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="White"
Text="当前状态:" TextAlignment="Center" />
<TextBlock
HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="20"
Foreground="{Binding DeviceStatus.IsSetCWTCool, Converter={StaticResource BoolToColorConverter}}"
Text="⬛" TextAlignment="Center" />
</StackPanel>
</WrapPanel>
<!--#endregion-->


Laden…
Abbrechen
Speichern