public void setAlgorithm(SBMEMORY_DYN_ALGO algorithm) { lastTimeChanged++; if (override != null) override.setAlgorithm(algorithm); else this.algorithm = algorithm; IEngineService srvc = (IEngineService) UnwServiceRegistry.instance.service(IEngineService.ID); srvc.setDirtyEval(true); }
public void setCpdVoltage(float cpdVoltage) { lastTimeChanged++; if (override != null) override.setCpdVoltage(cpdVoltage); else this.cpdVoltage = cpdVoltage; IEngineService srvc = (IEngineService) UnwServiceRegistry.instance.service(IEngineService.ID); srvc.setDirtyEval(true); }
public void setDeratingFactor(float deratingFactor) { lastTimeChanged++; if (override != null) override.setDeratingFactor(deratingFactor); else this.deratingFactor = deratingFactor; IEngineService srvc = (IEngineService) UnwServiceRegistry.instance.service(IEngineService.ID); srvc.setDirtyEval(true); }