<Window
    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:local="clr-namespace:TestTool.RemoteTriggerAPP"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    Title="下發測試用工具(公司內網) V1.1.39 (20230223)"
    Width="652"
    Height="481"
    mc:Ignorable="d"
    x:Class="TestTool.RemoteTriggerAPP.MainWindow">
    <Viewbox>
        <Grid Margin="0,2,2,0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="109*" />
                <ColumnDefinition Width="222*" />
            </Grid.ColumnDefinitions>
            <Label
                Width="91"
                Height="27"
                Margin="69,23,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Content="Charge Box Id:" />
            <Label
                Grid.Column="1"
                Width="92"
                Height="27"
                Margin="118,23,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Content="Connector Id:" />
            <TextBox
                Name="uxChargeBoxIdTb"
                Grid.ColumnSpan="2"
                Width="148"
                Height="27"
                Margin="179,23,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Text="OCTT_1"
                LostFocus="uxChargeBoxIdTb_LostFocus" />
            <TextBox
                Name="uxConnectorIdTb"
                Grid.Column="1"
                Width="35"
                Height="27"
                Margin="210,23,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Text="1" />
            <ComboBox
                Name="uxCmdCb"
                Grid.Column="1"
                Width="253"
                Height="34"
                Margin="5.333,189,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                SelectionChanged="UxCmdCb_SelectionChanged">
                <ComboBoxItem>WrongAction(破壞模式專用)</ComboBoxItem>
                <ComboBoxItem>ChangeAvailability_Inoperative</ComboBoxItem>
                <ComboBoxItem>ChangeAvailability_Operative</ComboBoxItem>
                <ComboBoxItem>UpdateFirmware(搭配破壞模式,請勿下Publish)</ComboBoxItem>
                <ComboBoxItem>DataTransfer</ComboBoxItem>
                <ComboBoxItem>ChangeConfiguration</ComboBoxItem>
                <ComboBoxItem>ClearCache</ComboBoxItem>
                <ComboBoxItem>GetConfiguration</ComboBoxItem>
                <ComboBoxItem>RemoteStartTransaction</ComboBoxItem>
                <ComboBoxItem>RemoteStartTransaction_ChargingProfile</ComboBoxItem>
                <ComboBoxItem>RemoteStopTransaction</ComboBoxItem>
                <ComboBoxItem>Reset_SoftReset</ComboBoxItem>
                <ComboBoxItem>Reset_HardReset</ComboBoxItem>
                <ComboBoxItem>UnlockConnector</ComboBoxItem>
                <ComboBoxItem>GetLocalListVersion</ComboBoxItem>
                <ComboBoxItem>SendLocalList_Full</ComboBoxItem>
                <ComboBoxItem>SendLocalList_Diff</ComboBoxItem>
                <ComboBoxItem>GetDiagnostics_FTP</ComboBoxItem>
                <ComboBoxItem>GetDiagnostics_HTTP</ComboBoxItem>
                <ComboBoxItem>ReserveNow</ComboBoxItem>
                <ComboBoxItem>CancelReservation</ComboBoxItem>
                <ComboBoxItem>SetChargingProfile</ComboBoxItem>
                <ComboBoxItem>ClearChargingProfile</ComboBoxItem>
                <ComboBoxItem>GetCompositeSchedule</ComboBoxItem>
                <ComboBoxItem>TriggerMessage_BootNotification</ComboBoxItem>
                <ComboBoxItem>TriggerMessage_DiagnosticsStatusNotification</ComboBoxItem>
                <ComboBoxItem>TriggerMessage_FirmwareStatusNotification</ComboBoxItem>
                <ComboBoxItem>TriggerMessage_Heartbeat</ComboBoxItem>
                <ComboBoxItem>TriggerMessage_MeterValues</ComboBoxItem>
                <ComboBoxItem>TriggerMessage_StatusNotification</ComboBoxItem>
            </ComboBox>
            <Label
                Width="137"
                Height="27"
                Margin="69,191,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Content="Remote Trigger Cmd:" />
            <Button
                Name="uxSubmitBtn"
                Grid.Column="1"
                Width="51"
                Height="34"
                Margin="265.333,188,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Click="UxSubmitBtn_Click"
                Content="Submit" />
            <TextBox
                Name="uxMsgTb"
                Grid.ColumnSpan="2"
                Width="471"
                Height="80"
                Margin="84,346,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top" />
            <Label
                Width="43"
                Height="27"
                Margin="75,314,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Content="Msg:"
                RenderTransformOrigin="0.744,3.407" />
            <Label
                Width="47"
                Height="27"
                Margin="71,74,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Content="Id Tag:" />
            <TextBox
                x:Name="uxIdTagTb"
                Width="63"
                Height="27"
                Margin="121,74,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Text="TestTool"
                RenderTransformOrigin="3.714,1" />
            <Label
                Grid.Column="1"
                Width="100"
                Height="27"
                Margin="152,74,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Content="TransactionId:" />
            <TextBox
                x:Name="uxTransactionIdTb"
                Grid.Column="1"
                Width="44"
                Height="27"
                Margin="245,74,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Text="0"
                RenderTransformOrigin="3.714,1" />
            <Label
                Grid.ColumnSpan="2"
                Width="87"
                Height="27"
                Margin="191,74,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Content="ParentId Tag:" />
            <TextBox
                x:Name="uxParentIdTagTb"
                Grid.Column="1"
                Width="73"
                Height="27"
                Margin="75,74,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Text="TestTool"
                RenderTransformOrigin="3.714,1" />
            <Label
                Width="120"
                Height="27"
                Margin="71,119,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Content="Configuration Key:" />
            <TextBox
                x:Name="uxConfigKeyTb"
                Grid.ColumnSpan="2"
                Width="138"
                Height="27"
                Margin="196,119,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Text="ConnectionTimeOut"
                RenderTransformOrigin="3.714,1" />
            <Label
                Grid.Column="1"
                Width="54"
                Height="27"
                Margin="124.333,119,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Content=" Value:" />
            <TextBox
                x:Name="uxConfigValueTb"
                Grid.Column="1"
                Width="52"
                Height="27"
                Margin="180,117,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Text="30"
                RenderTransformOrigin="3.714,1" />

            <Label
                Width="113"
                Height="27"
                Margin="69,243,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Content="Upload Firmware:"
                Visibility="Visible" />
            <TextBox
                x:Name="uxUploadFileTb"
                Grid.ColumnSpan="2"
                Width="210"
                Height="27"
                Margin="182,244,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Text=""
                RenderTransformOrigin="3.714,1"
                Visibility="Visible" />
            <Button
                x:Name="uxFileSubmitBtn"
                Grid.Column="1"
                Width="46"
                Height="29"
                Margin="187.333,241,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Click="uxFileSubmitBtn_Click"
                Content="..."
                Visibility="Visible" />
            <Button
                x:Name="uxUploadBtn"
                Grid.Column="1"
                Width="52"
                Height="34"
                Margin="259.333,238,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Click="uxUploadBtn_Click"
                Content="Upload"
                Visibility="Visible" />
            <Label
                Width="113"
                Height="27"
                Margin="69,292,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Content="Publish Version:"
                Visibility="Visible" />
            <ComboBox
                x:Name="uxPublishCb"
                Grid.ColumnSpan="2"
                Width="213"
                Height="34"
                Margin="179,292,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                SelectionChanged="uxPublishCb_SelectionChanged"
                Visibility="Visible" />
            <Button
                x:Name="uxRefreshBtn"
                Grid.Column="1"
                Width="53"
                Height="34"
                Margin="192.333,292,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Click="uxRefreshBtn_Click"
                Content="Refresh"
                Visibility="Visible" />
            <Button
                x:Name="uxPublishBtn"
                Grid.Column="1"
                Width="53"
                Height="34"
                Margin="258.333,292,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Click="uxPublishBtn_Click"
                Content="Publish"
                Visibility="Visible" />
            <Label
                Grid.Column="1"
                Width="100"
                Height="27"
                Margin="262,23,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Content="ReservationId:"
                Visibility="Visible" />
            <TextBox
                x:Name="uxReservationTb"
                Grid.Column="1"
                Width="44"
                Height="27"
                Margin="367,23,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Text="0"
                RenderTransformOrigin="3.714,1"
                Visibility="Visible" />
            <Button
                x:Name="uxClearPublishBtn"
                Grid.Column="1"
                Width="86"
                Height="34"
                Margin="325.333,292,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Click="uxClearPublishBtn_Click"
                Content="Clear Publish"
                Visibility="Visible" />
            <Button
                x:Name="uxFTPUploadBtn"
                Grid.Column="1"
                Width="86"
                Height="34"
                Margin="325.333,238,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Click="uxFTPUploadBtn_Click"
                Content="Upload(FTP)"
                RenderTransformOrigin="2.058,0.529"
                Visibility="Visible" />

            <Label
                Grid.Column="1"
                Width="80"
                Height="27"
                Margin="237,119,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Content=" Expiry Time:" />

            <TextBox
                x:Name="uxExpiryTimeTb"
                Grid.Column="1"
                Margin="325,117,10,283"
                Text="2020/02/06 12:00" />
            <Label
                Grid.Column="1"
                Width="87"
                Height="27"
                Margin="294,74,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Content="LocalListSize:" />
            <TextBox
                x:Name="uxLocalListSizeTb"
                Grid.Column="1"
                Width="44"
                Height="27"
                Margin="381,74,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Text="0"
                RenderTransformOrigin="3.714,1" />
            <CheckBox
                x:Name="uxDestroyCb"
                Grid.Column="1"
                Width="100"
                Height="27"
                Margin="325.333,191,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                FontSize="18"
                Checked="uxDestroyCb_Checked"
                Content="破壞模式"
                Foreground="#FFF11010"
                Unchecked="uxDestroyCb_Unchecked" />
            <Label
                Width="126"
                Height="27"
                Margin="71,151,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Content="WrongActionName:" />
            <TextBox
                x:Name="uxWrongActionNameTb"
                Grid.ColumnSpan="2"
                Width="138"
                Height="27"
                Margin="196,157,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Text="WrongAction"
                RenderTransformOrigin="3.714,1" />
        </Grid>
    </Viewbox>
</Window>