B2.4: remove legacy 'mAbs' event re-emission
No production consumer; deprecated since the MeasurementContainer-based event surface landed. Drops the on-emit subscription that bridged the analog channel's <type>.measured.<position> event to source.emitter as 'mAbs'. 96/96 tests pass. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -20,12 +20,6 @@ class Measurement extends BaseDomain {
|
||||
this._buildDigitalChannels();
|
||||
} else {
|
||||
this.analogChannel = this._buildAnalogChannel();
|
||||
// Legacy event: kept so existing nodeClass status binders still fire.
|
||||
// Slated for removal in Phase 7 (OPEN_QUESTIONS 2026-05-10).
|
||||
const eventName = `${this.config.asset.type}.measured.${this.analogChannel.position.toLowerCase()}`;
|
||||
this.measurements.emitter.on(eventName, (data) => {
|
||||
this.emitter.emit('mAbs', data.value);
|
||||
});
|
||||
}
|
||||
|
||||
this._simulator = new Simulator({ config: this.config, logger: this.logger });
|
||||
|
||||
Reference in New Issue
Block a user