<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ChoiceBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TextArea?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.text.Font?>

<GridPane prefHeight="800.0" prefWidth="1000.0" stylesheets="@../../css/step-2-pane.css" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1" fx:controller="top.r3944realms.docchecktoolrefactored.ui.module.PathCheckPaneController">
    <columnConstraints>
        <ColumnConstraints hgrow="SOMETIMES" maxWidth="940.0" minWidth="0.0" percentWidth="0.0" prefWidth="104.0" />
        <ColumnConstraints hgrow="SOMETIMES" maxWidth="940.0" minWidth="10.0" percentWidth="0.0" prefWidth="104.0" />
        <ColumnConstraints hgrow="SOMETIMES" maxWidth="1881.0" minWidth="10.0" prefWidth="821.0" />
        <ColumnConstraints hgrow="SOMETIMES" maxWidth="903.0" minWidth="10.0" prefWidth="734.0" />
        <ColumnConstraints hgrow="SOMETIMES" maxWidth="965.0" minWidth="10.0" prefWidth="867.0" />
    </columnConstraints>
    <rowConstraints>
        <RowConstraints maxHeight="224.0" prefHeight="49.333343505859375" vgrow="SOMETIMES" />
        <RowConstraints maxHeight="289.0" prefHeight="68.66666920979819" vgrow="SOMETIMES" />
        <RowConstraints maxHeight="373.0" minHeight="-Infinity" prefHeight="76.66666412353516" vgrow="SOMETIMES" />
        <RowConstraints maxHeight="224.0" prefHeight="31.333333333333343" vgrow="SOMETIMES" />
        <RowConstraints maxHeight="573.3333180745443" prefHeight="553.999989827474" vgrow="SOMETIMES" />
    </rowConstraints>
    <children>
        <Label text="载入目录：">
            <padding>
                <Insets bottom="2.0" left="2.0" right="2.0" top="2.0" />
            </padding>
            <GridPane.margin>
                <Insets left="10.0" />
            </GridPane.margin>
        </Label>
        <Label text="载入文件夹：" GridPane.rowIndex="1">
            <padding>
                <Insets bottom="2.0" left="2.0" right="2.0" top="2.0" />
            </padding>
            <GridPane.margin>
                <Insets left="10.0" />
            </GridPane.margin>
        </Label>
        <Label text="结果反馈：" GridPane.rowIndex="3">
            <padding>
                <Insets bottom="2.0" left="2.0" right="2.0" top="2.0" />
            </padding>
            <GridPane.margin>
                <Insets left="10.0" />
            </GridPane.margin>
        </Label>
        <TextArea id="result2TA" fx:id="result2TA" editable="false" GridPane.columnSpan="4" GridPane.rowIndex="4">
            <padding>
                <Insets bottom="2.0" left="2.0" right="2.0" top="2.0" />
            </padding>
            <GridPane.margin>
                <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
            </GridPane.margin>
        </TextArea>
        <Button id="start2B" fx:id="start2B" mnemonicParsing="false" onAction="#onStart" prefHeight="75.0" prefWidth="800.0" text="开始比对" GridPane.columnSpan="4" GridPane.halignment="LEFT" GridPane.rowIndex="2" GridPane.valignment="CENTER">
            <padding>
                <Insets bottom="2.0" left="2.0" right="2.0" top="2.0" />
            </padding>
            <GridPane.margin>
                <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
            </GridPane.margin>
            <font>
                <Font size="16.0" />
            </font>
        </Button>
        <TextField fx:id="loadCatalog2TF" GridPane.columnIndex="2">
            <padding>
                <Insets bottom="2.0" left="2.0" right="2.0" top="2.0" />
            </padding>
            <GridPane.margin>
                <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
            </GridPane.margin>
        </TextField>
        <TextField fx:id="loadJPGFolder2TF" prefHeight="19.0" GridPane.columnIndex="2" GridPane.rowIndex="1">
            <padding>
                <Insets bottom="2.0" left="2.0" right="2.0" top="2.0" />
            </padding>
            <GridPane.margin>
                <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
            </GridPane.margin>
        </TextField>
        <Button id="selectLoadCatalog2B" fx:id="selectLoadCatalog2B" mnemonicParsing="false" onAction="#onSelectLC" text="  选择文件  " GridPane.columnIndex="3" GridPane.halignment="CENTER" GridPane.valignment="CENTER">
            <padding>
                <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
            </padding>
            <GridPane.margin>
                <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
            </GridPane.margin>
        </Button>
        <Button id="selectJPGFolder2B" fx:id="selectJPGFolder2B" mnemonicParsing="false" onAction="#onSelectJPGF" text=" 选择文件夹" GridPane.columnIndex="3" GridPane.halignment="CENTER" GridPane.rowIndex="1" GridPane.valignment="CENTER">
            <padding>
                <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
            </padding>
            <GridPane.margin>
                <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
            </GridPane.margin>
        </Button>
        <Button id="generateLogicalAddress2B" fx:id="generateLogicalAddress2B" mnemonicParsing="false" onAction="#onGenerateLA" text="生成逻辑地址文件" GridPane.columnIndex="4" GridPane.halignment="CENTER" GridPane.valignment="CENTER">
            <padding>
                <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
            </padding>
            <GridPane.margin>
                <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
            </GridPane.margin>
        </Button>
        <Button id="generatePhysicalAddress2B" fx:id="generatePhysicalAddress2B" mnemonicParsing="false" onAction="#onGeneratePA" text="生成物理地址文件" GridPane.columnIndex="4" GridPane.halignment="CENTER" GridPane.rowIndex="1" GridPane.valignment="CENTER">
            <padding>
                <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
            </padding>
            <GridPane.margin>
                <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
            </GridPane.margin>
        </Button>
        <TextArea editable="false" prefHeight="450.0" prefWidth="400.0" text="1.选择“页面级”，载入目录，生成页面级逻辑地址；载入目录对应的页面级数据，生成页面级物理地址，用软件比对出差异，记录软件反馈结果。&#10;&#10;2.选择“文件级”，载入目录，生成文件级逻辑地址；载入目录对应的文件级数据，生成文件级物理地址，用软件比对出差异，记录软件反馈结果。&#10;&#10;3.逐一核实差异存在的原因，以判断目录和扫描数据存在的问题。&#10;&#10;4.根据核实的情况填写《查遗漏、查存储路径和命名规范登记表》（附件2）。&#10;&#10;" wrapText="true" GridPane.columnIndex="4" GridPane.rowIndex="4">
            <GridPane.margin>
                <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
            </GridPane.margin>
            <font>
                <Font size="14.0" />
            </font>
        </TextArea>
        <ChoiceBox fx:id="loadFolderType2CB" prefHeight="40.0" prefWidth="98.0" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.rowSpan="2" GridPane.valignment="CENTER">
            <GridPane.margin>
                <Insets left="10.0" right="10.0" />
            </GridPane.margin>
            <padding>
                <Insets bottom="2.0" left="2.0" right="2.0" top="2.0" />
            </padding>
        </ChoiceBox>
        <Label text="工作内容：" GridPane.columnIndex="4" GridPane.rowIndex="3">
            <GridPane.margin>
                <Insets left="10.0" />
            </GridPane.margin>
        </Label>
    </children>
    <padding>
        <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
    </padding>
</GridPane>
