|
|
@@ -204,6 +204,9 @@ |
|
|
|
<Trigger Property="Text" Value="故障">
|
|
|
|
<Setter Property="Foreground" Value="Red"/>
|
|
|
|
</Trigger>
|
|
|
|
<Trigger Property="Text" Value="停止">
|
|
|
|
<Setter Property="Foreground" Value="Red"/>
|
|
|
|
</Trigger>
|
|
|
|
</Style.Triggers>
|
|
|
|
</Style>
|
|
|
|
</TextBlock.Style>
|
|
|
@@ -222,6 +225,9 @@ |
|
|
|
<Trigger Property="Text" Value="故障">
|
|
|
|
<Setter Property="Foreground" Value="Red"/>
|
|
|
|
</Trigger>
|
|
|
|
<Trigger Property="Text" Value="停止">
|
|
|
|
<Setter Property="Foreground" Value="Red"/>
|
|
|
|
</Trigger>
|
|
|
|
</Style.Triggers>
|
|
|
|
</Style>
|
|
|
|
</TextBlock.Style>
|
|
|
@@ -283,6 +289,9 @@ |
|
|
|
<Trigger Property="Text" Value="故障">
|
|
|
|
<Setter Property="Foreground" Value="Red"/>
|
|
|
|
</Trigger>
|
|
|
|
<Trigger Property="Text" Value="停止">
|
|
|
|
<Setter Property="Foreground" Value="Red"/>
|
|
|
|
</Trigger>
|
|
|
|
</Style.Triggers>
|
|
|
|
</Style>
|
|
|
|
</TextBlock.Style>
|
|
|
@@ -301,6 +310,9 @@ |
|
|
|
<Trigger Property="Text" Value="故障">
|
|
|
|
<Setter Property="Foreground" Value="Red"/>
|
|
|
|
</Trigger>
|
|
|
|
<Trigger Property="Text" Value="停止">
|
|
|
|
<Setter Property="Foreground" Value="Red"/>
|
|
|
|
</Trigger>
|
|
|
|
</Style.Triggers>
|
|
|
|
</Style>
|
|
|
|
</TextBlock.Style>
|
|
|
@@ -346,6 +358,9 @@ |
|
|
|
<Trigger Property="Text" Value="故障">
|
|
|
|
<Setter Property="Foreground" Value="Red"/>
|
|
|
|
</Trigger>
|
|
|
|
<Trigger Property="Text" Value="停止">
|
|
|
|
<Setter Property="Foreground" Value="Red"/>
|
|
|
|
</Trigger>
|
|
|
|
</Style.Triggers>
|
|
|
|
</Style>
|
|
|
|
</TextBlock.Style>
|
|
|
@@ -372,6 +387,7 @@ |
|
|
|
</StackPanel>
|
|
|
|
</GroupBox>
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
<Grid Grid.Column="1" >
|
|
|
|
<Grid>
<Grid VerticalAlignment="Top" Margin="0,-30,0,0">
<Image Style="{DynamicResource imagezhu}"></Image>
<Image Style="{DynamicResource image中1}" Margin="0,400,0,0"></Image>
<GroupBox Margin="600,100,0,500" Header="{Binding GZallCout,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Style="{DynamicResource GroupStyle圆形}" Tag="累计故障数" Content="次" Width="100"/>
<GroupBox Margin="600,400,0,0" Header="{Binding SplitMealsCout,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Style="{DynamicResource GroupStyle圆形}" Tag="食堂累计刷卡次数" Content="次" Width="160"/>
<GroupBox Margin="-500,100,0,0" Header="{Binding UserCout,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Style="{DynamicResource GroupStyle圆形}" Tag="日总接待人数" Content="人" Width="160"/>
</Grid>
<GroupBox Margin="0,0,0,0" Height="340" Width="950" Header="信息通知区域" VerticalAlignment="Bottom" Style="{DynamicResource from}">
|
|
|
|
<!--<ListBox Margin="10,-10,10,10" ScrollViewer.VerticalScrollBarVisibility="Disabled" ItemsSource="{Binding AlarmAll,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}">
|
|
|
@@ -457,6 +473,9 @@ |
|
|
|
<Trigger Property="Text" Value="故障">
|
|
|
|
<Setter Property="Foreground" Value="Red"/>
|
|
|
|
</Trigger>
|
|
|
|
<Trigger Property="Text" Value="停止">
|
|
|
|
<Setter Property="Foreground" Value="Red"/>
|
|
|
|
</Trigger>
|
|
|
|
</Style.Triggers>
|
|
|
|
</Style>
|
|
|
|
</TextBlock.Style>
|
|
|
@@ -490,14 +509,14 @@ |
|
|
|
ItemsSource="{Binding StatsCountAll,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}">
|
|
|
|
<ListBox.ItemTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<StackPanel x:Name="mainPanel1" Margin="15,5,0,0" >
|
|
|
|
<StackPanel x:Name="mainPanel1" Margin="15,0,0,0" >
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<TextBlock HorizontalAlignment="Left" Style="{DynamicResource textms}" Margin="10,5,0,0" FontSize="20" Text="{Binding Name}"/>
|
|
|
|
<TextBlock HorizontalAlignment="Left" Style="{DynamicResource textms}" Margin="10,5,0,0" FontSize="20" Text="/"/>
|
|
|
|
<TextBlock HorizontalAlignment="Left" Style="{DynamicResource textms}" Margin="10,5,0,0" FontSize="20" Text="{Binding Count, StringFormat={}{0} 单}"/>
|
|
|
|
</StackPanel>
|
|
|
|
<Grid HorizontalAlignment="Left" Margin="0,5,0,0">
|
|
|
|
<ProgressBar Style="{DynamicResource bfb}" Value="{Binding bfb,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="360" Height="24" Margin="10,0,0,0"></ProgressBar>
|
|
|
|
<ProgressBar Style="{DynamicResource bfb}" Value="{Binding bfb,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="360" Height="19" Margin="10,0,0,0"></ProgressBar>
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|