| | |
| | | <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,4,0,0"> |
| | | |
| | | <TextBlock Text="参数:" Margin="22 0 0 0" VerticalAlignment="Center" /> |
| | | <TextBox Width="45" x:Name="tagNumber" Text="0" VerticalContentAlignment="Center"/> |
| | | <TextBox Width="100" x:Name="tagParameter" Text="0" VerticalContentAlignment="Center"/> |
| | | |
| | | <ComboBox SelectedIndex="0" x:Name="slOperate"> |
| | | <ComboBoxItem>障碍</ComboBoxItem> |
| | | <ComboBoxItem>定位点</ComboBoxItem> |
| | | <ComboBoxItem>寻路点</ComboBoxItem> |
| | | <ComboBoxItem>巡逻线</ComboBoxItem> |
| | | <ComboBoxItem>寻路线</ComboBoxItem> |
| | | <ComboBoxItem>测试起终点 </ComboBoxItem> |
| | | <ComboBoxItem>巡逻点</ComboBoxItem> |
| | | <ComboBoxItem>入门点</ComboBoxItem> |
| | | <ComboBoxItem>路径引导</ComboBoxItem> |
| | | <ComboBoxItem>读坐标</ComboBoxItem> |
| | | <ComboBoxItem>测试起终点</ComboBoxItem> |
| | | </ComboBox> |
| | | <Button Content="清空定位点" Margin="5 0" Click="ClearPosition_Click" /> |
| | | <TextBlock VerticalAlignment="Center">除定位点外,其它物体右键删除。</TextBlock> |
| | |
| | | <Button Content="加载图片" Margin="5 0" Click="OpenFromFile_Click" /> |
| | | <Button Content="复制为JSON" Margin="5 0" Click="CopyJSON_Click" /> |
| | | <Button Content="加载JSON" Margin="5 0" Click="CreateFromJSON_Click" /> |
| | | |
| | | |
| | | <Button Content="生成定位图片" Margin="5 0" Click="CreateLocationPicture" /> |
| | | </StackPanel> |
| | | |
| | | </Grid> |
| | |
| | | <Canvas x:Name="HouseInfoLayer" /> |
| | | <Canvas x:Name="LocationPointLayer" IsHitTestVisible="False"/> |
| | | <Canvas x:Name="StartEndPointLayer" IsHitTestVisible="False"/> |
| | | |
| | | <!--<Polyline StrokeThickness="1" Stroke="Black" Opacity="0.5"> |
| | | <Polyline.Points>10,50 180,50 180,150 </Polyline.Points> |
| | | </Polyline>--> |
| | | <Canvas x:Name="PathGuideLayer" IsHitTestVisible="False"/> |
| | | <Canvas x:Name="PathGuideShapeLayer" /> |
| | | </Canvas> |
| | | </ScrollViewer> |
| | | </Grid> |