コード例 #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;
 }