public void SetHeatProducer(HeatProducer p, HeatProducerAttrEditor editor) { this.currentProducer = p; heatProducerAttrEditor = editor; }