Ejemplo n.º 1
0
 internal CostItem(IIfcCostItem item, bool init) : base(item, init)
 {
     Children            = new CostChildrenCollection(this, init);
     ClassificationItems = new ClassificationCollection(Entity, init);
     Quantities          = new QuantityCollection(this);
     UnitValues          = new ValuesCollection(this);
     AssociatedElements  = new AssociatedElementsCollection(this, init);
 }
Ejemplo n.º 2
0
 public ControllerTypePropertiesItem(TECControllerType controllerType)
 {
     ControllerType              = controllerType;
     IOModules                   = new QuantityCollection <TECIOModule>(controllerType.IOModules);
     IOModules.QuantityChanged  += ioModules_QuantityChanged;
     AddIOCommand                = new RelayCommand(addIOExecute, canAddIO);
     this.ProtocolToIODropTarget = new ProtocolToIODropTarget();
 }