Exemplo n.º 1
0
 public NuMLDocument(ConcentrationOntology concOntology, TimeOntology timeOntology,
                     ResultComponent resultComponent)
 {
     this.concOntology    = concOntology;
     this.timeOntology    = timeOntology;
     this.resultComponent = resultComponent;
 }
Exemplo n.º 2
0
        public NuMLDocument(XmlElement element)
        {
            // Gets concentration and time ontologies
            concOntology = new ConcentrationOntology((XmlElement)element.ChildNodes[0]);
            timeOntology = new TimeOntology((XmlElement)element.ChildNodes[1]);

            // Gets the result component
            XmlElement rcElement = (XmlElement)element.SelectSingleNode(NuMLTags.RESULT_COMPONENT);

            resultComponent = new ResultComponent(rcElement);
        }