219 lines
8.7 KiB
XML
219 lines
8.7 KiB
XML
<UserControl x:Class="OperationControl.Views.Operacao.MonitoramentoView"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:local="clr-namespace:OperationControl.Views.Operacao"
|
|
xmlns:controls="clr-namespace:OperationControl.Controls"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="900"
|
|
d:DesignWidth="1600">
|
|
|
|
<Grid Margin="12">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="2.2*"/>
|
|
<RowDefinition Height="1.3*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<!-- CÂMERA FRONTAL -->
|
|
<Border Grid.Row="0" Grid.Column="0"
|
|
Margin="0,0,6,6"
|
|
Padding="10"
|
|
CornerRadius="10"
|
|
Background="#202020"
|
|
BorderBrush="#353535"
|
|
BorderThickness="1">
|
|
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<DockPanel Grid.Row="0" Margin="0,0,0,8">
|
|
<TextBlock Text="Câmera frontal"
|
|
DockPanel.Dock="Left"
|
|
FontSize="12"
|
|
FontWeight="SemiBold"
|
|
Foreground="#E6E6E6"
|
|
VerticalAlignment="Center"/>
|
|
|
|
<ComboBox x:Name="cmbCameraFrontalFrameTipo"
|
|
Width="130"
|
|
Height="26"
|
|
HorizontalAlignment="Right"
|
|
SelectionChanged="cmbCameraFrontalFrameTipo_SelectionChanged"/>
|
|
|
|
<TextBlock Text="12 fps • 230 kbps • CaminhandoRua"
|
|
Margin="12,0,8,0"
|
|
Foreground="#AFAFAF"
|
|
FontSize="11"
|
|
VerticalAlignment="Center"
|
|
HorizontalAlignment="Right"/>
|
|
</DockPanel>
|
|
|
|
<Grid Grid.Row="1" Background="Black">
|
|
<TextBlock Text="SEM SINAL"
|
|
Foreground="Gray"
|
|
FontSize="18"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"/>
|
|
|
|
<Image x:Name="imgVideoFront"
|
|
Stretch="Uniform"
|
|
RenderOptions.BitmapScalingMode="LowQuality"/>
|
|
</Grid>
|
|
</Grid>
|
|
</Border>
|
|
|
|
<!-- CÂMERA DE ERVAS -->
|
|
<Border Grid.Row="0" Grid.Column="1"
|
|
Margin="6,0,0,6"
|
|
Padding="10"
|
|
CornerRadius="10"
|
|
Background="#202020"
|
|
BorderBrush="#353535"
|
|
BorderThickness="1">
|
|
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<DockPanel Grid.Row="0" Margin="0,0,0,8">
|
|
<TextBlock Text="Câmera de ervas"
|
|
DockPanel.Dock="Left"
|
|
FontSize="12"
|
|
FontWeight="SemiBold"
|
|
Foreground="#E6E6E6"
|
|
VerticalAlignment="Center"/>
|
|
|
|
<ComboBox x:Name="cmbCameraTraseiraFrameTipo"
|
|
Width="130"
|
|
Height="26"
|
|
HorizontalAlignment="Right"
|
|
SelectionChanged="cmbCameraTraseiraFrameTipo_SelectionChanged"/>
|
|
|
|
<TextBlock Text="10 fps • 193 kbps • 5,41% erva • 0,00% cana"
|
|
Margin="12,0,8,0"
|
|
Foreground="#AFAFAF"
|
|
FontSize="11"
|
|
VerticalAlignment="Center"
|
|
HorizontalAlignment="Right"/>
|
|
</DockPanel>
|
|
|
|
<Grid Grid.Row="1" Background="Black">
|
|
<TextBlock Text="SEM SINAL"
|
|
Foreground="Gray"
|
|
FontSize="18"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"/>
|
|
|
|
<Image x:Name="imgVideoWeed"
|
|
Stretch="Uniform"
|
|
RenderOptions.BitmapScalingMode="LowQuality"/>
|
|
</Grid>
|
|
</Grid>
|
|
</Border>
|
|
|
|
<!-- MAPA -->
|
|
<Border Grid.Row="1" Grid.Column="0"
|
|
Margin="0,6,6,0"
|
|
Padding="10"
|
|
CornerRadius="10"
|
|
Background="#202020"
|
|
BorderBrush="#353535"
|
|
BorderThickness="1">
|
|
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock Grid.Row="0"
|
|
Text="Mapa e posição do rover"
|
|
Margin="0,0,0,8"
|
|
FontSize="12"
|
|
FontWeight="SemiBold"
|
|
Foreground="#E6E6E6"/>
|
|
|
|
<controls:MapViewControl x:Name="MapaMonitoramento" MarkerClicked="MAP_MarkerClicked" StreetMapClicked="MAP_StreetMapClicked" Grid.Row="1" Latitude="-22.1726572492617" Longitude="-47.3952163870556" Scale="5000" />
|
|
</Grid>
|
|
</Border>
|
|
|
|
<!-- ÁREA DIREITA INFERIOR -->
|
|
<Grid Grid.Row="1" Grid.Column="1" Margin="6,6,0,0">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="1.15*"/>
|
|
<RowDefinition Height="0.85*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<!-- PULVERIZADOR -->
|
|
<Border Grid.Row="0"
|
|
Margin="0,0,0,6"
|
|
Padding="10"
|
|
CornerRadius="10"
|
|
Background="#202020"
|
|
BorderBrush="#353535"
|
|
BorderThickness="1">
|
|
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock Grid.Row="0"
|
|
Text="Pulverizador"
|
|
Margin="0,0,0,8"
|
|
FontSize="12"
|
|
FontWeight="SemiBold"
|
|
Foreground="#E6E6E6"/>
|
|
|
|
<Grid Grid.Row="1">
|
|
<controls:PulverizadorIndicator x:Name="ATU"
|
|
HorizontalAlignment="Stretch"
|
|
VerticalAlignment="Center"/>
|
|
</Grid>
|
|
</Grid>
|
|
</Border>
|
|
|
|
<!-- AÇÕES RÁPIDAS -->
|
|
<Border Grid.Row="1"
|
|
Padding="10"
|
|
CornerRadius="10"
|
|
Background="#202020"
|
|
BorderBrush="#353535"
|
|
BorderThickness="1">
|
|
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock Grid.Row="0"
|
|
Text="Ações rápidas"
|
|
Margin="0,0,0,8"
|
|
FontSize="12"
|
|
FontWeight="SemiBold"
|
|
Foreground="#E6E6E6"/>
|
|
|
|
<UniformGrid Grid.Row="1" Rows="2" Columns="2" Margin="0,4,0,0">
|
|
<Button Content="Retorno à base" Margin="4"/>
|
|
<Button Content="Parametrização" Margin="4"/>
|
|
<Button Content="Pausar operação" Margin="4"/>
|
|
<Button Content="Diagnóstico" Margin="4"/>
|
|
</UniformGrid>
|
|
</Grid>
|
|
</Border>
|
|
</Grid>
|
|
</Grid>
|
|
</UserControl> |