示例#1
0
 @Override
 public void save(Config config) {
   config.set(keyScencoCommand, getScencoCommand());
   config.set(keyEspressoCommand, getEspressoCommand());
   config.set(keyAbcFolder, getAbcFolder());
   config.set(keyPGMinerCommand, getPgminerCommand());
 }
示例#2
0
 @Override
 public void save(Config config) {
   config.setDouble(keyStartX, getStartX());
   config.setDouble(keyStartY, getStartY());
   config.setDouble(keyRangeX, getRangeX());
   config.setDouble(keyRangeY, getRangeY());
 }
示例#3
0
 @Override
 public void load(Config config) {
   setScencoCommand(config.getString(keyScencoCommand, defaultScencoCommand));
   setEspressoCommand(config.getString(keyEspressoCommand, defaultEspressoCommand));
   setAbcFolder(config.getString(keyAbcFolder, defaultAbcFolder));
   setPgminerCommand(config.getString(keyPGMinerCommand, defaultPgminerCommand));
 }
示例#4
0
 @Override
 public void load(Config config) {
   setStartX(config.getDouble(keyStartX, defaultStartX));
   setStartY(config.getDouble(keyStartY, defaultStartY));
   setRangeX(config.getDouble(keyRangeX, defaultRangeX));
   setRangeY(config.getDouble(keyRangeY, defaultRangeY));
 }