<?xml version="1.0" encoding="UTF-8"?>
<otrunk id="874b8410-3938-012a-b543-0017f2cc694e" >
  <imports>
    <import class="org.concord.otrunk.OTSystem"/>
    <import class="org.concord.otrunk.view.OTViewEntry"/>
    <import class="org.concord.otrunk.view.OTViewBundle" />
    <import class="org.concord.otrunk.script.OTScriptEngineBundle" />
    <import class="org.concord.otrunk.script.OTScriptEngineEntry" />
    <import class="org.concord.otrunk.view.document.OTCompoundDoc"/>
    <import class="org.concord.otrunk.view.document.OTTextObject"/>
    <import class="org.concord.otrunkmw.OTModelerPage"/>
    <import class="org.concord.otrunk.ui.OTText"/>
    <import class="org.concord.otrunk.ui.snapshot.OTSnapshot"/>
    <import class="org.concord.otrunk.ui.snapshot.OTSnapshotButton"/>
    <import class="org.concord.otrunk.ui.snapshot.OTSnapshotAlbum"/>
    <import class="org.concord.otrunk.view.document.OTDocumentViewConfig"/>
    <import class="org.concord.otrunk.script.ui.OTScriptObject" />
    <import class="org.concord.otrunk.script.ui.OTScriptVariable" />
    <import class="org.concord.otrunk.script.ui.OTScriptVariableComponent" />
    <import class="org.concord.otrunk.script.js.OTJavascript" />
    <import class="org.concord.datagraph.state.OTDataGraph"/>
    <import class="org.concord.datagraph.state.OTDataCollector"/>
    <import class="org.concord.datagraph.state.OTDataAxis"/>
    <import class="org.concord.datagraph.state.OTDataGraphable"/>
    <import class="org.concord.data.state.OTDataStore"/>
    <import class="org.concord.data.state.OTDataChannelDescription"/>
    <import class="org.concord.otrunk.ui.OTTextPane"/>
    <import class="org.concord.otrunk.ui.OTPlacementContainer"/>
    <import class="org.concord.otrunk.ui.OTPlacement"/>
    <import class="org.concord.framework.otrunk.view.OTFrame" />
  </imports>
  <objects>
    <OTSystem>
      <bundles>
        <OTViewBundle showLeftPanel="false">
          <views>
            <OTViewEntry
              objectClass="org.concord.otrunkmw.OTModelerPage" 
                viewClass="org.concord.otrunkmw.OTModelerPageView" />
            <OTViewEntry
              objectClass="org.concord.otrunk.ui.OTTextPane"
              viewClass="org.concord.otrunk.ui.swing.OTTextPaneView"/>
            <OTViewEntry
              objectClass="org.concord.otrunk.ui.OTPlacementContainer"
                viewClass="org.concord.otrunk.ui.swing.OTPlacementContainerView"/>
            <OTViewEntry
              objectClass="org.concord.otrunk.script.ui.OTScriptObject"
              viewClass="org.concord.otrunk.script.ui.OTScriptObjectView" />
            <OTDocumentViewConfig
              objectClass="org.concord.otrunk.view.document.OTDocument" 
                viewClass="org.concord.otrunk.view.document.OTDocumentView">
                <css>
                body {
                  font-size: medium;
                  font-family: verdana;
                  background-color: white;
                }
                .sub {
                  font-size: x-small;
                }
                .header {
                  font-size: large;
                  font-weight: bold;
                }
              </css>
            </OTDocumentViewConfig>
            <OTViewEntry
              objectClass="org.concord.otrunk.ui.snapshot.OTSnapshotButton" 
                viewClass="org.concord.otrunk.ui.snapshot.OTSnapshotButtonView"/>
            <OTViewEntry
              objectClass="org.concord.otrunk.ui.snapshot.OTSnapshotAlbum" 
                viewClass="org.concord.otrunk.ui.snapshot.OTSnapshotAlbumView"/>
            <OTViewEntry 
              objectClass="org.concord.datagraph.state.OTDataGraph" 
              viewClass="org.concord.datagraph.state.OTDataGraphView"/>
            <OTViewEntry 
              objectClass="org.concord.datagraph.state.OTDataCollector" 
              viewClass="org.concord.datagraph.state.OTDataCollectorNonEditableView"/>
          </views>
          <frame>
            <OTFrame width="850" height="640" />
          </frame>
        </OTViewBundle>
        <OTScriptEngineBundle>
          <engines>
            <OTScriptEngineEntry
              objectClass="org.concord.otrunk.script.js.OTJavascript"
              engineClass="org.concord.otrunk.script.js.OTJavascriptEngine" />
          </engines>
        </OTScriptEngineBundle>
      </bundles>
      <root>
        <OTCompoundDoc>
          <bodyText>
          <p>
            <center><font size='6'><b>
            	What Do You Think of Mary's Investigation?
            </b></font></center>
            </p>
	        <p><font size='4'>
		        Before you conduct your investigation look at Mary's study and suggest how she could improve it.
	        </font></p>
			<p><font size='4'>
				Mary has one question: How does the motion of the cup and counter molecules change when a hot cup is placed on a glass counter?
			</font></p>
			<p><font size='4'>
				Mary's experiment: Check below to make sure Mary's setting: (1) Glass counter; (2) Cup temperature: 70; (3) Counter temperature: 60; (4) Observation time: 1. 
			</font></p>
			<p><font size='4'>
				Click "Run" to run the model. Remember to check the settings so that they represent the values that Mary set up when you reset and re-run the model. 
			</font></p>
            <center>
            <object refid="${model}" />
            <object refid="${graph}" />
            </center>
            <p>
            <font size='4'>
            	Mary's analysis of the result: Mary explained that when the cup is put on the table for 1 minute, the temperature of the cup and table went down, and the motion of the molecules did not change.
            </font>
            </p>
            
            <object refid="${script}" />
          </bodyText>
          <documentRefs>
            <OTModelerPage local_id="model"
              authoredDataURL="http://svn.concord.org/svn/projects/trunk/common/java/otrunk/otrunk-examples/MolecularWorkbench/thermal-conduction-models/Mary-01.cml" />
            <OTDataCollector name="Model Data" local_id="graph" multipleGraphableEnabled="false" autoScaleEnabled="false">
              <graphables>
                <OTDataGraphable local_id="atom_ck"
                  connectPoints="true" color="0x6f9400" drawMarks="false"
                  name="Ck Temp" xColumn="0" yColumn="1">
                  <dataStore>
                    <OTDataStore local_id="atom_ck_datastore" numberChannels="2">
                      <channelDescriptions>
                        <OTDataChannelDescription precision="0" unit="s"/>
                        <OTDataChannelDescription precision="-2" unit="degC"/>
                      </channelDescriptions>
                      <valuesString></valuesString>
                    </OTDataStore>
                  </dataStore>
                </OTDataGraphable>
                <OTDataGraphable local_id="atom_ws"
                  connectPoints="true" color="0x5959df" drawMarks="false"
                  name="Ws Temp" xColumn="0" yColumn="1">
                  <dataStore>
                    <OTDataStore local_id="atom_ws_datastore" numberChannels="2">
                      <channelDescriptions>
                        <OTDataChannelDescription precision="0" unit="s"/>
                        <OTDataChannelDescription precision="-2" unit="degC"/>
                      </channelDescriptions>
                      <valuesString></valuesString>
                    </OTDataStore>
                  </dataStore>
                </OTDataGraphable>
                <OTDataGraphable local_id="atom_pl"
                  connectPoints="true" color="0xc900c9" drawMarks="false"
                  name="Pl Temp" xColumn="0" yColumn="1">
                  <dataStore>
                    <OTDataStore local_id="atom_pl_datastore" numberChannels="2">
                      <channelDescriptions>
                        <OTDataChannelDescription precision="0" unit="s"/>
                        <OTDataChannelDescription precision="-2" unit="degC"/>
                      </channelDescriptions>
                      <valuesString></valuesString>
                    </OTDataStore>
                  </dataStore>
                </OTDataGraphable>
                <OTDataGraphable local_id="atom_nt"
                  connectPoints="true" color="0xa9a9a9" drawMarks="false"
                  name="Nt Temp" xColumn="0" yColumn="1">
                  <dataStore>
                    <OTDataStore local_id="atom_nt_datastore" numberChannels="2">
                      <channelDescriptions>
                        <OTDataChannelDescription precision="0" unit="s"/>
                        <OTDataChannelDescription precision="-2" unit="degC"/>
                      </channelDescriptions>
                      <valuesString></valuesString>
                    </OTDataStore>
                  </dataStore>
                </OTDataGraphable>
              </graphables>
              <xDataAxis>
                <OTDataAxis min="-1" max="56" label="Time" units="s" local_id="xAxis">
                  <graphables>
                    <object refid="${atom_ck}"/>
                    <object refid="${atom_ws}"/>
                    <object refid="${atom_pl}"/>
                    <object refid="${atom_nt}"/>
                  </graphables>
                </OTDataAxis>
              </xDataAxis>
              <yDataAxis>
                <OTDataAxis min="-10" max="100" label="Temperature" units="degC" local_id="yAxis">
                  <graphables>
                    <object refid="${atom_ck}"/>
                    <object refid="${atom_ws}"/>
                    <object refid="${atom_pl}"/>
                    <object refid="${atom_nt}"/>
                  </graphables>
                </OTDataAxis>
              </yDataAxis>              
              </OTDataCollector>
            <OTScriptObject local_id="script">
              <variables>
                <OTScriptVariable name="datastore_ck" reference="${atom_ck_datastore}" />
                <OTScriptVariable name="datastore_ws" reference="${atom_ws_datastore}" />
                <OTScriptVariable name="datastore_pl" reference="${atom_pl_datastore}" />
                <OTScriptVariable name="datastore_nt" reference="${atom_nt_datastore}" />
                <OTScriptVariableComponent name="modelComponent" reference="${model}" />
                <OTScriptVariableComponent name="graph" reference="${graph}" />
              </variables>
              <script>
                <OTJavascript src="http://svn.concord.org/svn/projects/trunk/common/java/otrunk/otrunk-examples/MolecularWorkbench/document-heat-and-temp-thermal-conduction-mary.js" />
              </script>
            </OTScriptObject>
          </documentRefs>
        </OTCompoundDoc>      
      </root>
    </OTSystem>
  </objects>
</otrunk>