|
|
@ -21,9 +21,8 @@
|
|
|
|
<Grid>
|
|
|
|
<Grid>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="0.5*"/>
|
|
|
|
<RowDefinition Height="0.5*"/>
|
|
|
|
<RowDefinition Height="6*"/>
|
|
|
|
<RowDefinition Height="7*"/>
|
|
|
|
<RowDefinition Height="27.5"/>
|
|
|
|
<RowDefinition Height="0.7*"/>
|
|
|
|
<RowDefinition Height="35.5"/>
|
|
|
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<Border Grid.Row="0" BorderBrush="Red" BorderThickness="0" CornerRadius="5" Background="Transparent" Margin="2,2,2,2">
|
|
|
|
<Border Grid.Row="0" BorderBrush="Red" BorderThickness="0" CornerRadius="5" Background="Transparent" Margin="2,2,2,2">
|
|
|
|
<Grid>
|
|
|
|
<Grid>
|
|
|
@ -32,25 +31,7 @@
|
|
|
|
<ColumnDefinition Width="7*"/>
|
|
|
|
<ColumnDefinition Width="7*"/>
|
|
|
|
<ColumnDefinition Width="2*"/>
|
|
|
|
<ColumnDefinition Width="2*"/>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<!--<StackPanel Grid.Row="0" >
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!--<TextBlock Text="AUCMA" FontSize="50" Foreground="Red" FontWeight="Bold"/>
|
|
|
|
|
|
|
|
<TextBlock Text="澳云数智" FontSize="30" Foreground="White" FontWeight="Bold"/>-->
|
|
|
|
|
|
|
|
<!--
|
|
|
|
|
|
|
|
<Grid>
|
|
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
|
|
|
<RowDefinition/>
|
|
|
|
|
|
|
|
<RowDefinition/>
|
|
|
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="0" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
|
|
|
|
|
|
<TextBlock Text="AUCMA" FontSize="50" Foreground="Red" FontWeight="Bold"/>
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
|
|
|
|
|
|
<TextBlock Text="澳云数智" FontSize="30" Foreground="White" FontWeight="Bold"/>
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</StackPanel>-->
|
|
|
|
|
|
|
|
<StackPanel Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
|
|
<StackPanel Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
|
|
<TextBlock Text="澳柯玛组装生产控制系统" FontSize="42" Foreground="White" FontWeight="Bold"/>
|
|
|
|
<TextBlock Text="澳柯玛组装生产控制系统" FontSize="42" Foreground="White" FontWeight="Bold"/>
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
@ -84,103 +65,18 @@
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left" Orientation="Horizontal">
|
|
|
|
<StackPanel Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left" Orientation="Horizontal">
|
|
|
|
<Button Content="入库监控" x:Name="instoreInfo" Command="{Binding ControlOnClickCommand}" CommandParameter="{Binding Name,ElementName=instoreInfo}" Style="{StaticResource BUTTON_AGREE}" Width="80" Height="40" Background="#009999" BorderBrush="#FF36B5C1" Margin="5 0"/>
|
|
|
|
<Button Content="入库监控" x:Name="instoreInfo" Command="{Binding ControlOnClickCommand}" CommandParameter="{Binding Name,ElementName=instoreInfo}" Style="{StaticResource BUTTON_AGREE}" Width="80" Height="40" Background="#4285DE" BorderBrush="#FF36B5C1" Margin="5 0" FontSize="17"/>
|
|
|
|
<Button Content="出库监控" x:Name="outstoreInfo" Command="{Binding ControlOnClickCommand}" CommandParameter="{Binding Name,ElementName=outstoreInfo}" Style="{StaticResource BUTTON_AGREE}" Width="80" Height="40" Background="#009999" BorderBrush="#FF36B5C1" Margin="5 0"/>
|
|
|
|
<Button Content="出库监控" x:Name="outstoreInfo" Command="{Binding ControlOnClickCommand}" CommandParameter="{Binding Name,ElementName=outstoreInfo}" Style="{StaticResource BUTTON_AGREE}" Width="80" Height="40" Background="#4285DE" BorderBrush="#FF36B5C1" Margin="5 0" FontSize="17"/>
|
|
|
|
<Button Content="任务列表" x:Name="taskInfo" Command="{Binding ControlOnClickCommand}" CommandParameter="{Binding Name,ElementName=taskInfo}" Style="{StaticResource BUTTON_AGREE}" Width="80" Height="40" Background="#009999" BorderBrush="#FF36B5C1" Margin="5 0"/>
|
|
|
|
<Button Content="任务列表" x:Name="taskInfo" Command="{Binding ControlOnClickCommand}" CommandParameter="{Binding Name,ElementName=taskInfo}" Style="{StaticResource BUTTON_AGREE}" Width="80" Height="40" Background="#4285DE" BorderBrush="#FF36B5C1" Margin="5 0" FontSize="17"/>
|
|
|
|
<Button Content="实时库存" x:Name="inventoryInfo" Command="{Binding ControlOnClickCommand}" CommandParameter="{Binding Name,ElementName=inventoryInfo}" Style="{StaticResource BUTTON_AGREE}" Width="80" Height="40" Background="#009999" BorderBrush="#FF36B5C1" Margin="5 0"/>
|
|
|
|
<Button Content="实时库存" x:Name="inventoryInfo" Command="{Binding ControlOnClickCommand}" CommandParameter="{Binding Name,ElementName=inventoryInfo}" Style="{StaticResource BUTTON_AGREE}" Width="80" Height="40" Background="#4285DE" BorderBrush="#FF36B5C1" Margin="5 0" FontSize="17"/>
|
|
|
|
<Button Content="生产计划" x:Name="assemblyPlan" Command="{Binding ControlOnClickCommand}" CommandParameter="{Binding Name,ElementName=assemblyPlan}" Style="{StaticResource BUTTON_AGREE}" Width="80" Height="40" Background="#009999" BorderBrush="#FF36B5C1" Margin="5 0"/>
|
|
|
|
<Button Content="生产计划" x:Name="assemblyPlan" Command="{Binding ControlOnClickCommand}" CommandParameter="{Binding Name,ElementName=assemblyPlan}" Style="{StaticResource BUTTON_AGREE}" Width="80" Height="40" Background="#4285DE" BorderBrush="#FF36B5C1" Margin="5 0" FontSize="17"/>
|
|
|
|
<Button Content="键 盘" Command="{Binding OpenSystemKeyboardCommand}" Style="{StaticResource BUTTON_AGREE}" Width="80" Height="40" Background="#009999" BorderBrush="#FF36B5C1" Margin="5 0"/>
|
|
|
|
<Button Content="键 盘" Command="{Binding OpenSystemKeyboardCommand}" Style="{StaticResource BUTTON_AGREE}" Width="80" Height="40" Background="#4285DE" BorderBrush="#FF36B5C1" Margin="5 0" FontSize="17"/>
|
|
|
|
<Button Content="最小化" x:Name="Minimized" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=Minimized}" Style="{StaticResource BUTTON_AGREE}" Width="80" Height="40" Background="#FF9900" BorderBrush="#FF9900" Margin="5 0"/>
|
|
|
|
<Button Content="最小化" x:Name="Minimized" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=Minimized}" Style="{StaticResource BUTTON_AGREE}" Width="80" Height="40" Background="#FF9900" BorderBrush="#FF9900" Margin="5 0" FontSize="17"/>
|
|
|
|
<Button Content="退 出" x:Name="Exit" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=Exit}" Style="{StaticResource BUTTON_AGREE}" Width="80" Height="40" Background="#FF0033" BorderBrush="#FF0033" Margin="5 0"/>
|
|
|
|
<Button Content="退 出" x:Name="Exit" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=Exit}" Style="{StaticResource BUTTON_AGREE}" Width="80" Height="40" Background="#FF0033" BorderBrush="#FF0033" Margin="5 0" FontSize="17"/>
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Right" Orientation="Horizontal">
|
|
|
|
<StackPanel Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Right" Orientation="Horizontal">
|
|
|
|
|
|
|
|
|
|
|
|
<!--多行状态显示-->
|
|
|
|
|
|
|
|
<!--<Grid>
|
|
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="0" Margin="0,0,0,0" VerticalAlignment="Center">
|
|
|
|
|
|
|
|
<Grid>
|
|
|
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<StackPanel Grid.Column="0">
|
|
|
|
|
|
|
|
<Grid>
|
|
|
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<StackPanel Grid.Column="1">
|
|
|
|
|
|
|
|
<TextBlock Text="连接状态" FontSize="15" Foreground="Black" Margin="2,0,10,0"/>
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
<StackPanel Grid.Column="0">
|
|
|
|
|
|
|
|
<Ellipse Width="20" Height="20">
|
|
|
|
|
|
|
|
<Ellipse.Style>
|
|
|
|
|
|
|
|
<Style TargetType="Ellipse">
|
|
|
|
|
|
|
|
<Style.Triggers>
|
|
|
|
|
|
|
|
<DataTrigger Binding="{Binding PresentColor}" Value="0">
|
|
|
|
|
|
|
|
<Setter Property="Shape.Fill" Value="Orange"/>
|
|
|
|
|
|
|
|
</DataTrigger>
|
|
|
|
|
|
|
|
<DataTrigger Binding="{Binding PresentColor}" Value="1">
|
|
|
|
|
|
|
|
<Setter Property="Shape.Fill" Value="Green"/>
|
|
|
|
|
|
|
|
</DataTrigger>
|
|
|
|
|
|
|
|
<DataTrigger Binding="{Binding PresentColor}" Value="2">
|
|
|
|
|
|
|
|
<Setter Property="Shape.Fill" Value="Red"/>
|
|
|
|
|
|
|
|
</DataTrigger>
|
|
|
|
|
|
|
|
</Style.Triggers>
|
|
|
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
</Ellipse.Style>
|
|
|
|
|
|
|
|
</Ellipse>
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="1" Margin="0,10,0,0" VerticalAlignment="Center">
|
|
|
|
|
|
|
|
<Grid>
|
|
|
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<StackPanel Grid.Column="0">
|
|
|
|
|
|
|
|
<Grid>
|
|
|
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<StackPanel Grid.Column="1">
|
|
|
|
|
|
|
|
<TextBlock Text="连接状态" FontSize="15" Foreground="Black" Margin="2,0,10,0"/>
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
<StackPanel Grid.Column="0">
|
|
|
|
|
|
|
|
<Ellipse Width="20" Height="20">
|
|
|
|
|
|
|
|
<Ellipse.Style>
|
|
|
|
|
|
|
|
<Style TargetType="Ellipse">
|
|
|
|
|
|
|
|
<Style.Triggers>
|
|
|
|
|
|
|
|
<DataTrigger Binding="{Binding PresentColor}" Value="0">
|
|
|
|
|
|
|
|
<Setter Property="Shape.Fill" Value="Orange"/>
|
|
|
|
|
|
|
|
</DataTrigger>
|
|
|
|
|
|
|
|
<DataTrigger Binding="{Binding PresentColor}" Value="1">
|
|
|
|
|
|
|
|
<Setter Property="Shape.Fill" Value="Green"/>
|
|
|
|
|
|
|
|
</DataTrigger>
|
|
|
|
|
|
|
|
<DataTrigger Binding="{Binding PresentColor}" Value="2">
|
|
|
|
|
|
|
|
<Setter Property="Shape.Fill" Value="Red"/>
|
|
|
|
|
|
|
|
</DataTrigger>
|
|
|
|
|
|
|
|
</Style.Triggers>
|
|
|
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
</Ellipse.Style>
|
|
|
|
|
|
|
|
</Ellipse>
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
</Grid>-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--单行状态显示-->
|
|
|
|
<!--单行状态显示-->
|
|
|
|
<Grid>
|
|
|
|
<Grid>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|