<?xml version="1.0"?>
<wizard title="Instrument Specification Wizard" pic="InstrumentSpecificationWizard.bmp" reg="Instrument Specification">

  <page border="5" id="Introduction">
    <text alignment="centred" background="yellow" expand="true" font="arial bold" rounded="true" size="30">Instrument Specification</text>
    <spacer height="10"></spacer>
    <text background="blue" bold="true" expand="true" height="30">Introduction</text>
    <text>This wizard is designed to automatically measure and report MS performance.</text>
    <spacer height="20"></spacer>
    <text>An infusion from the instrument fluidics is required. Please prepare and locate solutions as directed.</text>
    <spacer height="20"/>
    <row>
    	<text>Specification Mode:</text>
    	<spacer width="20"/>
    	<combobox sort="false" width="150" reglink="SPECIFICATION_MODE" valuelink="SPECIFICATION_MODE">
    	  <entry>Positive</entry>
    	  <entry>Negative</entry>
    	  <entry>Polarity Switching</entry>
    	</combobox>
    </row>
  </page>
  
  <page border="5" id="Inputs">
    <text alignment="centred" background="yellow" expand="true" font="arial bold" rounded="true" size="30">Instrument Specification</text>
    <spacer height="10"></spacer>
    <text background="blue" bold="true" expand="true" height="30">Masses</text>
    <text>Please provide the optimum m/z of the ions to be monitored in each mode.</text>
    <spacer height="20"></spacer>
    
    <overlay>
      <column valuelink="SHOW_SIR_OPTIONS" show="false">
        <row valuelink="SHOW_SIR_POSITIVE_OPTIONS">
          <text width="200">Positive mass:</text>
          <doubleedit valuelink="SIR_POSITIVE_MASS" reglink="SIR_POSITIVE_MASS">609.0</doubleedit>
        </row>
        <row valuelink="SHOW_SIR_NEGATIVE_OPTIONS">
          <text width="200">Negative mass:</text>
          <doubleedit valuelink="SIR_NEGATIVE_MASS" reglink="SIR_NEGATIVE_MASS">321.0</doubleedit>
        </row>
      </column>
      <column valuelink="SHOW_MRM_OPTIONS">
        <column valuelink="SHOW_MRM_POSITIVE_OPTIONS">
          <row>
            <text width="200">Positive Parent Mass:</text>
            <doubleedit valuelink="MRM_POSITIVE_PARENT_MASS" reglink="MRM_POSITIVE_PARENT_MASS">609.0</doubleedit>
          </row>
          <row>
            <text width="200">Positive Daughter Mass:</text>
            <doubleedit valuelink="MRM_POSITIVE_DAUGHTER_MASS" reglink="MRM_POSITIVE_DAUGHTER_MASS">195.0</doubleedit>
          </row>
        </column>
        <spacer height="10"></spacer>
        <column valuelink="SHOW_MRM_NEGATIVE_OPTIONS">
          <row>
            <text width="200">Negative Parent Mass:</text>
            <doubleedit valuelink="MRM_NEGATIVE_PARENT_MASS" reglink="MRM_NEGATIVE_PARENT_MASS">321.0</doubleedit>
          </row>
          <row>
            <text width="200">Negative Daughter Mass:</text>
            <doubleedit valuelink="MRM_NEGATIVE_DAUGHTER_MASS" reglink="MRM_NEGATIVE_DAUGHTER_MASS">152.0</doubleedit>
          </row>
        </column>
      </column>
    </overlay>
    
    <spacer height="20"></spacer>
    <text background="blue" bold="true" expand="true" height="30">Output File</text>
    <spacer height="10"></spacer>
    <row>
      <text width="110">Saved data file:</text>
      <edit valuelink="RESULTS_RAW_FILENAME" reglink="RESULTS_RAW_FILENAME">InstrumentSpecification</edit>
    </row>
  </page>
  
  <page border="5" id="Ready">
    <text alignment="centred" background="yellow" expand="true" font="arial bold" rounded="true" size="30">Instrument Specification</text>
    <spacer height="10"></spacer>

    <text background="blue" bold="true" expand="true" height="30">About to begin</text>
    <spacer height="10"></spacer>
    <text>Please prepare and locate the following Waters test solutions prior to commencing:</text>
    <spacer height="20"></spacer>
    <row>
      <spacer width="20"/>
      <text width="10">-</text>
      <text>Vial A : Blank (50:50 Acetonitrile:Water)</text>
    </row>
    <spacer height="10"></spacer>
    <row>
      <spacer width="20"/>
      <text width="10">-</text>
      <text>Vial B : Specification test mix (10pg/ul Reserpine; 20pg/ul Chloramphenicol in 50:50 Acetonitrile:Water)</text>
    </row>
    <spacer height="20"></spacer>
    <text>Click Next to begin data acquisition.</text>
  </page>

  <page border="5" id="Data Acquisition">
    <text alignment="centred" background="yellow" expand="true" font="arial bold" rounded="true" size="30">Instrument Specification</text>
    <spacer height="10"></spacer>

    <text background="blue" bold="true" expand="true" height="30">Progress</text>
    <spacer height="10"></spacer>

    <text expand="true" valuelink="PROGRESS_LABEL">Progress:</text>
    <progress height="15" valuelink="TOTAL_PROGRESS"></progress>
  </page>

  <page border="5" id="Results">
    <text alignment="centred" background="yellow" expand="true" font="arial bold" rounded="true" size="30">Instrument Specification</text>
    <spacer height="10"></spacer>
    <text background="blue" bold="true" expand="true" height="30">Postive Results</text>
    <spacer height="10"></spacer>
    <row>
      <spacer width="243"/>
      <text>Positive</text>
      <spacer width="13"/>
      <text>Negative</text>
    </row>
    <spacer height="5"/>
    <row>
      <column>
        <text>Electronic noise peak to peak amplitude:</text>
        <text>Chemical noise peak to peak amplitude:</text>
        <text>Signal peak to peak amplitude:</text>
        <text>Signal to noise:</text>
        <text>Signal:Chemical ratio:</text>
      </column>
      <spacer width="20"></spacer>
      <column valuelink="SHOW_POSITIVE_RESULTS">
        <text width="50" valuelink="POSITIVE_ELECRONIC_NOISE_PEAK_TO_PEAK_AMPLITUDE">0.0</text>
        <text width="50" valuelink="POSITIVE_CHEMICAL_NOISE_PEAK_TO_PEAK_AMPLITUDE">0.0</text>
        <text width="50" valuelink="POSITIVE_SIGNAL_PEAK_TO_PEAK_AMPLITUDE">0.0</text>
        <text width="50" valuelink="POSITIVE_SIGNAL_TO_NOISE">0.0</text>
        <text width="50" valuelink="POSITIVE_SIGNAL_TO_CHEMICAL_RATIO">0.0</text>
      </column>
      <spacer width="10"></spacer>
      <column valuelink="SHOW_NEGATIVE_RESULTS">
        <text width="50" valuelink="NEGATIVE_ELECRONIC_NOISE_PEAK_TO_PEAK_AMPLITUDE">0.0</text>
        <text width="50" valuelink="NEGATIVE_CHEMICAL_NOISE_PEAK_TO_PEAK_AMPLITUDE">0.0</text>
        <text width="50" valuelink="NEGATIVE_SIGNAL_PEAK_TO_PEAK_AMPLITUDE">0.0</text>
        <text width="50" valuelink="NEGATIVE_SIGNAL_TO_NOISE">0.0</text>
        <text width="50" valuelink="NEGATIVE_SIGNAL_TO_CHEMICAL_RATIO">0.0</text>
      </column>
    </row>
    <spacer height="10"></spacer>
    <text background="blue" bold="true" expand="true" height="30">Report</text>
    <spacer height="10"></spacer>
    <row>
      <text>Produce Report</text>
      <spacer width="10"/>
      <checkbox reglink="PRODUCE_REPORT" valuelink="PRODUCE_REPORT"></checkbox>
    </row>
    <spacer height="5"/>
    <row valuelink="REPORT_OUTPUT_OPTION">
      <text>Report file name:</text>
      <spacer width="10"/>
      <filename valuelink="REPORT_OUTPUT_FILENAME" reglink="REPORT_OUTPUT_FILENAME" open="false" default_extension=".xml" extensions="Report File (*.xml)|*.xml||">C:\MassLynx\Default.pro\Data\specification_report.xml</filename>
    </row>
    <connect from="PRODUCE_REPORT" signal="CHANGED" to="REPORT_OUTPUT_OPTION" slot="ENABLE"/>
  </page>
  
  <page border="5" id="Finish">
    <text alignment="centred" background="yellow" expand="true" font="arial bold" rounded="true" size="30">Instrument Specification</text>
    <spacer height="10"></spacer>
    <text background="green" bold="true" expand="true" height="30">Complete</text>
    <spacer height="10"></spacer>
    <text>Detector Gain has successfully completed, select Finish.</text>
  </page>

  <page border="5" id="Error" active="false">
    <text alignment="centred" background="yellow" expand="true" font="arial bold" rounded="true" size="30">Instrument Specification</text>
    <spacer height="10"></spacer>
    <text background="red" bold="true" expand="true" height="30">Instrument Specification Wizard failed.</text>
    <spacer height="10"></spacer>
    <text valuelink="ERROR_REASON"></text>
  </page>

</wizard>
