Пример #1
0
  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);
  }
Пример #2
0
  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);
  }
Пример #3
0
  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);
  }
Пример #4
0
 public float getCpdVoltage() {
   if (override != null) return override.getCpdVoltage();
   else return cpdVoltage;
 }
Пример #5
0
 public float getCpdTemp() {
   if (override != null) return override.getCpdTemp();
   else return cpdTemp;
 }
Пример #6
0
 public SBMEMORY_DYN_ALGO getAlgorithm() {
   if (override != null) return override.getAlgorithm();
   else return algorithm;
 }