lastCID = id;
}
//PM:04/09/2008:Adding modifiable config instruments as operations
protected void addCommandForAttribute(Instrument inst){
if (inst instanceof ConfigValueInst){
CommandDesc desc = new CommandDesc();
desc.setCmdName("set" + inst.Name.asString());
desc.setArgDesc("s");
desc.setCmdIndex((short) (getLastCID() + 1000 + inst.getInstrumentID()));
desc.setHelpText("set the value of " + inst.Name.asString());
desc.setCmdFlags((short)1);
desc.setArgNames("set " + inst.getName());
desc.setGroupName("");
desc.setMenuString("Utility");
processOneCommandDescriptor(desc);
}
}