<?xml version="1.0" encoding="UTF-8"?>
<rmml>
<!--
$RCSfile: rnmc_labwork_information.xml,v $
$Revision: 910 $

last change: $Date: 2009-01-26 16:18:31 +0300 (Пн, 26 янв 2009) $
             $Author: Pavel $

	Lacerta Project
	version 1.0.0.1
	Copyright (C) 2008 RNMC
-->
<composition name="rnmc_labwork_information" class="rnmc_labwork_base" x="0" y="0">
<script><![CDATA[
	this.type = "RNMC_LABWORK_INFORMATION";

	function loadStep(srcNode){
		if (!srcNode)
			return false;

		var xmlNode = null;
		var xmlAttributeMap = null;
		var xmlAttribute = null;

		this.childObjects = new Array();
		this.loadChildsObject(srcNode);

		xmlNode = srcNode.firstChild;
		rnmc_labwork_base_loadStep(srcNode);
		while(xmlNode){
			if(xmlNode.nodeName == "settings"){
				this.parseSettingsNode(xmlNode);
			} else if(xmlNode.nodeName == "actions"){
				this.parseActionsNode(xmlNode);
			} else if(xmlNode.nodeName == "conditions"){
				var conditionNode = xmlNode.firstChild;
				while(conditionNode){	
					if(conditionNode.nodeName == "condition"){
						this.parseConditionNode(conditionNode);
					}
					conditionNode = conditionNode.nextSibling;
				}
				this.parseConditionNode(xmlNode);
			} else if(xmlNode.nodeName == "objectives"){
				this.parseObjectivesNode(xmlNode);
			}
			xmlNode = xmlNode.nextSibling;
		};
		return true;
	};

	function startStep(){
		rnmc_labwork_base_startStep();
	};

	function dispatchAction(singleAction){
		rnmc_labwork_base_dispatchAction(singleAction);
	}

	function getStepErrors(){
		this.stepErrors = this.getErrors();
		return this.stepErrors;
	}

//	virtual
	function getStepTotalAnswers(){
trace("#FF0000virtual rnmc_labwork_base.getStepTotalAnswers()");
	}

	function getStepHelps(){
		this.stepHelps = this.getHelps();
		return this.stepHelps;
	}
]]> </script>
</composition>
</rmml>
