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); }
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(); }