|
@@ -147,14 +147,28 @@
|
|
|
<TextBlock Grid.Column="2" Text="{Binding StateText, StringFormat=舱室 {0}}" FontSize="34" Foreground="{Binding StateBrush}" VerticalAlignment="Center"/>
|
|
<TextBlock Grid.Column="2" Text="{Binding StateText, StringFormat=舱室 {0}}" FontSize="34" Foreground="{Binding StateBrush}" VerticalAlignment="Center"/>
|
|
|
<TextBlock Grid.Column="3" Text="{Binding ComText, StringFormat=通讯 {0}}" FontSize="34" Foreground="{Binding ComBrush}" VerticalAlignment="Center"/>
|
|
<TextBlock Grid.Column="3" Text="{Binding ComText, StringFormat=通讯 {0}}" FontSize="34" Foreground="{Binding ComBrush}" VerticalAlignment="Center"/>
|
|
|
<TextBlock Grid.Column="4" Text="{Binding CcdText, StringFormat=CCD {0}}" FontSize="34" Foreground="{Binding CcdBrush}" VerticalAlignment="Center"/>
|
|
<TextBlock Grid.Column="4" Text="{Binding CcdText, StringFormat=CCD {0}}" FontSize="34" Foreground="{Binding CcdBrush}" VerticalAlignment="Center"/>
|
|
|
- <TextBlock Grid.Column="5" Text="{Binding RunState}" FontSize="30" Foreground="#959596" VerticalAlignment="Center" TextTrimming="CharacterEllipsis"/>
|
|
|
|
|
|
|
+ <StackPanel Grid.Column="5" VerticalAlignment="Center">
|
|
|
|
|
+ <TextBlock Text="{Binding WorkingType, StringFormat=活动 {0}}" FontSize="30" Foreground="#4D75AC"/>
|
|
|
|
|
+ <TextBlock Text="{Binding ValveState, StringFormat=排气阀 {0}}" FontSize="28" Foreground="#959596"/>
|
|
|
|
|
+ <TextBlock Text="{Binding CapturePausedText}" FontSize="28" Foreground="{Binding CapturePausedBrush}"/>
|
|
|
|
|
+ </StackPanel>
|
|
|
</Grid>
|
|
</Grid>
|
|
|
</Border>
|
|
</Border>
|
|
|
</DataTemplate>
|
|
</DataTemplate>
|
|
|
</ItemsControl.ItemTemplate>
|
|
</ItemsControl.ItemTemplate>
|
|
|
</ItemsControl>
|
|
</ItemsControl>
|
|
|
|
|
|
|
|
- <TextBlock Text="本页只读,仅展示后台服务运行状态,不提供任何控制/重启/写入操作。" FontSize="30" Foreground="#959596" Margin="0 30 0 40" TextWrapping="Wrap"/>
|
|
|
|
|
|
|
+ <!-- 阶段2 §5.4 受护栏停止:二次确认 + 工程师口令 → control 安全停机(唯一写操作) -->
|
|
|
|
|
+ <Border Margin="0 30 0 10" Padding="30 20" Background="#FBE9E7" CornerRadius="10">
|
|
|
|
|
+ <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
|
|
|
|
|
+ <Button Content="整体停止 control(受护栏)" Command="{Binding ShutdownControlCommand}"
|
|
|
|
|
+ FontSize="40" FontWeight="Bold" Foreground="White" Background="#D0322D"
|
|
|
|
|
+ BorderThickness="0" Padding="40 18" Cursor="Hand"/>
|
|
|
|
|
+ <TextBlock Text="需二次确认 + 工程师口令;停止后机器不再被驱动,重启 operate 才会重新拉起。"
|
|
|
|
|
+ FontSize="28" Foreground="#959596" VerticalAlignment="Center" Margin="30 0 0 0" TextWrapping="Wrap" Width="700"/>
|
|
|
|
|
+ </StackPanel>
|
|
|
|
|
+ </Border>
|
|
|
|
|
+ <TextBlock Text="本页监控经本地 HTTP 跨进程读取独立 control 的 /status;除受护栏停止外不提供其它控制操作。" FontSize="30" Foreground="#959596" Margin="0 10 0 40" TextWrapping="Wrap"/>
|
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
</ScrollViewer>
|
|
</ScrollViewer>
|
|
|
</Grid>
|
|
</Grid>
|