Esempio n. 1
0
 public void AddProperties(CompartmentType cType, int sD, double size,
     String units, Compartment outside, Boolean constant)
 {
     this.compartmentType = cType;
     this.spatialDimensions = sD;
     this.size = size;
     this.outside = outside;
     this.constant = constant;
 }
Esempio n. 2
0
        public void CompartmentTypeElement(Hashtable attrs)
        {
            CompartmentType compType = new CompartmentType(attrs);
            if (compType.ID != null)
            {
                this.model.AddId(compType.ID, compType);
            }

            this.model.listOfCompartmentTypes.Add(compType);
        }