2024-05-30 20:17:38 +08:00
|
|
|
|
<Window x:Class="MPTxtToJson.MainWindow"
|
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
|
xmlns:local="clr-namespace:MPTxtToJson"
|
|
|
|
|
mc:Ignorable="d"
|
2024-07-12 15:23:42 +08:00
|
|
|
|
Title="MPTxtToJson" Height="250" Width="400">
|
|
|
|
|
<Grid Margin="0,0,1,0">
|
|
|
|
|
<Button Content="导入MP航点" HorizontalAlignment="Center" Margin="0,85,0,0" VerticalAlignment="Top" Width="75" Click="HandleImportTxt"/>
|
|
|
|
|
<Button x:Name="JsonButton" Content="导出Josn" HorizontalAlignment="Center" Margin="0,125,0,0" Width="75" IsEnabled="False" Click="HandleSaveJsonFile" VerticalAlignment="Top"/>
|
|
|
|
|
<TextBox x:Name="soundField" HorizontalAlignment="Center" Margin="0,45,0,0" TextWrapping="Wrap" Text="请订餐号为:$food_sn$号,尾号$telTail$的先生取餐。" Width="340" VerticalAlignment="Top" Height="20"/>
|
|
|
|
|
<Label Content="payload航点(94)添加如下sound 键值 $$ 包裹数据库对应字段" HorizontalAlignment="Left" Margin="30,20,0,0" VerticalAlignment="Top" Background="White" FontSize="8" FontStyle="Italic" FontWeight="Bold"/>
|
2024-05-30 20:17:38 +08:00
|
|
|
|
</Grid>
|
|
|
|
|
</Window>
|