<Page x:Class="B20UVLog.Pages.SYSPara"
      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:B20UVLog.Pages" xmlns:My="clr-namespace:MyWPFControl.Controls;assembly=MyWPFControl" xmlns:viewmodels="clr-namespace:B20UVLog.ViewModels"
      mc:Ignorable="d" 
      d:DesignHeight="450" d:DesignWidth="800"
      Title="SYSPara">
    <Page.DataContext>
        <viewmodels:SysParaViewModel/>
    </Page.DataContext>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0" Orientation="Horizontal" VerticalAlignment="Center">
            <!--<My:MTextBox x:Name="TextIndex" Title="Index_No"/>-->
            <My:MDateTimePicker x:Name="DTPStart" Title="开始时间"/>
            <TextBlock Text="--" VerticalAlignment="Center" Margin="2"/>
            <My:MDateTimePicker x:Name="DTPEnd" Title="结束时间"/>
            <My:MButton x:Name="BtnSearch" Content="查询" Type="Primary"  Click="BtnSearch_Click"/>
            <My:MButton x:Name="BtnReset" Content="条件重置"  Click="BtnReset_Click"/>
            <My:MButton x:Name="BtnExport" Content="导出报表"  Click="BtnExport_Click" Type="Warning"/>
        </StackPanel>
        <StackPanel x:Name="DP" Grid.Row="1">
            <My:MPagination x:Name="MyPagination" PageSize="1" 
                            PageIndexChange="MyPagination_PageIndexChange" 
                            IsShowPageSize="False"
                            IsShowTotalNum="False"/>
        </StackPanel>
        <WrapPanel Grid.Row="2" Orientation="Vertical" Margin="10 10 0 0" IsHitTestVisible="False" DataContext="{Binding GridData}">
            <WrapPanel.Resources>
                <Style TargetType="TextBlock" BasedOn="{StaticResource TextBlockStyle}">
                    <!--<Setter Property="Width" Value="165"/>-->
                    <Setter Property="TextAlignment" Value="Right"/>
                    <Setter Property="Margin" Value="10 0 5 0"/>
                </Style>
                <Style TargetType="My:MTextBox" BasedOn="{StaticResource TextBoxStyle}">
                    <Setter Property="Width" Value="auto"/>
                    <Setter Property="Title" Value=""/>
                    <Setter Property="IconDock" Value="Right"/>
                </Style>
                <Style TargetType="My:MRadioButton" BasedOn="{StaticResource RadioButtonStyle}">
                    <Setter Property="Margin" Value="2 0 0 0"/>
                </Style>
                <Style TargetType="StackPanel">
                    <Setter Property="Orientation" Value="Horizontal"/>
                </Style>
            </WrapPanel.Resources>
            <StackPanel>
                <TextBlock>配置保存时间:</TextBlock>
                <My:MTextBox Text="{Binding RecordTime}" Width="180"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>照度异常上限:</TextBlock>
                <My:MTextBox Text="{Binding LightAbnormalUp}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>照度异常下限:</TextBlock>
                <My:MTextBox Text="{Binding LightAbnormalDown}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>照度报警上限:</TextBlock>
                <My:MTextBox Text="{Binding LightAlarmUp}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>照度报警下限:</TextBlock>
                <My:MTextBox Text="{Binding LightAlarmDown}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp:</TextBlock>
                <My:MRadioButton IsChecked="{Binding UVLamp,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding UVLamp,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>Lamp种类:</TextBlock>
                <My:MRadioButton IsChecked="{Binding LampType,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">UV</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding LampType,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">可视光</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>图像处理:</TextBlock>
                <My:MRadioButton IsChecked="{Binding ImageProcess,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding ImageProcess,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>自动运行前X-Ray Check:</TextBlock>
                <My:MRadioButton IsChecked="{Binding XRayCheck,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding XRayCheck,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>X-Ray1寿命检测:</TextBlock>
                <My:MRadioButton IsChecked="{Binding XRay1,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding XRay1,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>X-Ray2寿命检测:</TextBlock>
                <My:MRadioButton IsChecked="{Binding XRay2,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding XRay2,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>X-Ray3寿命检测:</TextBlock>
                <My:MRadioButton IsChecked="{Binding XRay3,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding XRay3,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>X-Ray4寿命检测:</TextBlock>
                <My:MRadioButton IsChecked="{Binding XRay4,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding XRay4,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>X-Ray5寿命检测:</TextBlock>
                <My:MRadioButton IsChecked="{Binding XRay5,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding XRay5,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>X-Ray6寿命检测:</TextBlock>
                <My:MRadioButton IsChecked="{Binding XRay6,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding XRay6,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>X-Ray7寿命检测:</TextBlock>
                <My:MRadioButton IsChecked="{Binding XRay7,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding XRay7,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>X-Ray8寿命检测:</TextBlock>
                <My:MRadioButton IsChecked="{Binding XRay8,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding XRay8,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>负载传感器检查:</TextBlock>
                <My:MRadioButton IsChecked="{Binding LoadSensorCheck,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding LoadSensorCheck,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>运行前Mask位置登记:</TextBlock>
                <My:MRadioButton IsChecked="{Binding BeforeMask,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding BeforeMask,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>运行中Mask位置登记:</TextBlock>
                <My:MRadioButton IsChecked="{Binding MaskPosition,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding MaskPosition,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>Mask位置登记Timing:</TextBlock>
                <My:MTextBox Text="{Binding MaskTime}"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>照度测定Unit:</TextBlock>
                <My:MRadioButton IsChecked="{Binding TestUnit,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding TestUnit,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>自动运行设定:</TextBlock>
                <My:MRadioButton IsChecked="{Binding AutoSet,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">通常</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding AutoSet,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">PASS</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>自动运行除电Bar:</TextBlock>
                <My:MRadioButton IsChecked="{Binding AutoBar,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">常On</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding AutoBar,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=2}">常Off</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding AutoBar,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=4}">搬出时</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>基板搬出时Shutter操作:</TextBlock>
                <My:MRadioButton IsChecked="{Binding Shutter,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">搬出前</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding Shutter,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">Stage下降时</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>Stage温度异常:</TextBlock>
                <My:MRadioButton IsChecked="{Binding StageTempAbnormal,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding StageTempAbnormal,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>Stage温度警报上限:</TextBlock>
                <My:MTextBox Text="{Binding StageTempAlarmUp}"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>Stage温度异常上限:</TextBlock>
                <My:MTextBox Text="{Binding StageTempAbnormalUp}"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>Stage温度控制下限:</TextBlock>
                <My:MTextBox Text="{Binding StageTempDown}"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>Stage温度控制上限:</TextBlock>
                <My:MTextBox Text="{Binding StageTempUp}"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>静电检测Sensor异常:</TextBlock>
                <My:MRadioButton IsChecked="{Binding StaticSensorAbnormal,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding StaticSensorAbnormal,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>除电Bar Error（上）:</TextBlock>
                <My:MRadioButton IsChecked="{Binding BarErrorUp,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding BarErrorUp,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>除电Bar Error（下）:</TextBlock>
                <My:MRadioButton IsChecked="{Binding BarErrorDown,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding BarErrorDown,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>StageZ允许偏差值:</TextBlock>
                <My:MTextBox Text="{Binding StageZDeviation,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.001}" Icon="mm"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>StageZ允许电流差值异常:</TextBlock>
                <My:MTextBox Text="{Binding StageZCurrent}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>StageZ允许偏差值报警:</TextBlock>
                <My:MTextBox Text="{Binding StageZAlarm,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.001}" Icon="mm"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>StageZ允许偏差值异常检测时间:</TextBlock>
                <My:MTextBox Text="{Binding StageZAbnormalTime,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="s"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>Camera1-X Alignment位置:</TextBlock>
                <My:MTextBox Text="{Binding Camera1X,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.001}" Icon="mm"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>Camera1-Y Alignment位置:</TextBlock>
                <My:MTextBox Text="{Binding Camera1Y,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.001}" Icon="mm"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>Camera1-Z Alignment位置:</TextBlock>
                <My:MTextBox Text="{Binding Camera1Z,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.001}" Icon="mm"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>Camera2-X Alignment位置:</TextBlock>
                <My:MTextBox Text="{Binding Camera2X,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.001}" Icon="mm"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>Camera2-Y Alignment位置:</TextBlock>
                <My:MTextBox Text="{Binding Camera2Y,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.001}" Icon="mm"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>Camera2-Z Alignment位置:</TextBlock>
                <My:MTextBox Text="{Binding Camera2Z,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.001}" Icon="mm"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>Mask装/卸上升量:</TextBlock>
                <My:MTextBox Text="{Binding MaskUpMove,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.001}" Icon="mm"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>Mask装/卸上升次数:</TextBlock>
                <My:MTextBox Text="{Binding MaskUpReturn}"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>Mask装/卸上升速度:</TextBlock>
                <My:MTextBox Text="{Binding MaskUpSpeed,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.001}" Icon="mm/s"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>Mask装/卸上升待机时间:</TextBlock>
                <My:MTextBox Text="{Binding MaskUpStandbyTime,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="s"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>Mask装/卸下降量:</TextBlock>
                <My:MTextBox Text="{Binding MaskDownMove,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.001}" Icon="mm"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>Mask装/卸下降次数:</TextBlock>
                <My:MTextBox Text="{Binding MaskDownReturn}"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>Mask装/卸下降速度:</TextBlock>
                <My:MTextBox Text="{Binding MaskDownSpeed,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.001}" Icon="mm/s"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>Mask装/卸下降待机时间:</TextBlock>
                <My:MTextBox Text="{Binding MaskDownStandbyTime,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="s"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>Mask吸着位置移动速度:</TextBlock>
                <My:MTextBox Text="{Binding MaskMoveSpeed,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mm/s"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>Mask Load Over报警次数:</TextBlock>
                <My:MTextBox Text="{Binding MaskLoadOverAlarm}"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>最大照射时间:</TextBlock>
                <My:MTextBox Text="{Binding MaxLightTimeSet}"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp1照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp1Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp2照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp2Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp3照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp3Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp4照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp4Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp5照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp5Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp6照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp6Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp7照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp7Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp8照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp8Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp9照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp9Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp10照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp10Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp11照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp11Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp12照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp12Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp13照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp13Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp14照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp14Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp1照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding Lamp1Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp2照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding Lamp2Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp3照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding Lamp3Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp4照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding Lamp4Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp5照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding Lamp5Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp6照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding Lamp6Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp7照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding Lamp7Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp8照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding Lamp8Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp9照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding Lamp9Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp10照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding Lamp10Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp11照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding Lamp11Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp12照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding Lamp12Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp13照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding Lamp13Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp14照度校正系数:</TextBlock>
                <My:MTextBox Text="{Binding Lamp14Magn}" Icon="%"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp1照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp1Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp2照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp2Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp3照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp3Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp4照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp4Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp5照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp5Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp6照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp6Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp7照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp7Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp8照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp8Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp9照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp9Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp10照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp10Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp11照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp11Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp12照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp12Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp13照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp13Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>UV Lamp14照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding UVLamp14Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp1照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding VisualLamp1Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp2照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding VisualLamp2Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp3照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding VisualLamp3Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp4照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding VisualLamp4Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp5照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding VisualLamp5Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp6照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding VisualLamp6Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp7照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding VisualLamp7Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp8照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding VisualLamp8Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp9照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding VisualLamp9Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp10照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding VisualLamp10Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp11照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding VisualLamp11Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp12照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding VisualLamp12Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp13照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding VisualLamp13Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>可视光 Lamp14照度设定值:</TextBlock>
                <My:MTextBox Text="{Binding VisualLamp14Set,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.1}" Icon="mW/cm²"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>Work Thickness Max:</TextBlock>
                <My:MTextBox Text="{Binding WorkThicknessMax,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.001}" Icon="mm"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>Work Thickness Min:</TextBlock>
                <My:MTextBox Text="{Binding WorkThicknessMin,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.001}" Icon="mm"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>Mask预热:</TextBlock>
                <My:MRadioButton IsChecked="{Binding MaskAction,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding MaskAction,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>Mask装/卸高速速度:</TextBlock>
                <My:MTextBox Text="{Binding MaskHighSpeed,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.001}" Icon="mm/s"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>照度调整/测定速度:</TextBlock>
                <My:MTextBox Text="{Binding LIghtHignSpeed,Converter={StaticResource ConverterMultipleDouble},ConverterParameter=0.001}" Icon="mm/s"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>Lamp使用时间上限:</TextBlock>
                <My:MTextBox Text="{Binding LampUserTIme}" Icon="H"/>
            </StackPanel>
            <StackPanel>
                <TextBlock>漏水Sensor1 Check:</TextBlock>
                <My:MRadioButton IsChecked="{Binding LeakageSensor1Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding LeakageSensor1Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>漏水Sensor2 Check:</TextBlock>
                <My:MRadioButton IsChecked="{Binding LeakageSensor2Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding LeakageSensor2Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>漏水Sensor3 Check:</TextBlock>
                <My:MRadioButton IsChecked="{Binding LeakageSensor3Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding LeakageSensor3Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>漏水Sensor4 Check:</TextBlock>
                <My:MRadioButton IsChecked="{Binding LeakageSensor4Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding LeakageSensor4Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>漏水Sensor5 Check:</TextBlock>
                <My:MRadioButton IsChecked="{Binding LeakageSensor5Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding LeakageSensor5Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>漏水Sensor6 Check:</TextBlock>
                <My:MRadioButton IsChecked="{Binding LeakageSensor6Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding LeakageSensor6Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>漏水Sensor7 Check:</TextBlock>
                <My:MRadioButton IsChecked="{Binding LeakageSensor7Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding LeakageSensor7Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>漏水Sensor8 Check:</TextBlock>
                <My:MRadioButton IsChecked="{Binding LeakageSensor8Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding LeakageSensor8Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>漏水Sensor9 Check:</TextBlock>
                <My:MRadioButton IsChecked="{Binding LeakageSensor9Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding LeakageSensor9Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>漏水Sensor10 Check:</TextBlock>
                <My:MRadioButton IsChecked="{Binding LeakageSensor10Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding LeakageSensor10Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>漏水Sensor11 Check:</TextBlock>
                <My:MRadioButton IsChecked="{Binding LeakageSensor11Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding LeakageSensor11Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>漏水Sensor12 Check:</TextBlock>
                <My:MRadioButton IsChecked="{Binding LeakageSensor12Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding LeakageSensor12Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>漏水Sensor13 Check:</TextBlock>
                <My:MRadioButton IsChecked="{Binding LeakageSensor13Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding LeakageSensor13Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>漏水Sensor14 Check:</TextBlock>
                <My:MRadioButton IsChecked="{Binding LeakageSensor14Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding LeakageSensor14Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>漏水Sensor15 Check:</TextBlock>
                <My:MRadioButton IsChecked="{Binding LeakageSensor15Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=1}">有效</My:MRadioButton>
                <My:MRadioButton IsChecked="{Binding LeakageSensor15Check,Converter={StaticResource ConverterBoolIntPara},ConverterParameter=0}">无效</My:MRadioButton>
            </StackPanel>
            <StackPanel>
                <TextBlock>MaintPassword:</TextBlock>
                <My:MTextBox Text="{Binding MaintPassword}"/>
            </StackPanel>

        </WrapPanel>
    </Grid>

</Page>
