try
{
engineInfo(Simulator.CT, "Setting parameter (Next time="
+ nextTime + "): " + action);
messageInfo(Simulator.CT, nextTime, "setParameter");
SetParametersparametersStructParam parm = new SetParametersparametersStructParam(action.variableName, new Vector<Double>(Arrays.asList(new Double[] { action.variableValue })), new Vector<Integer>(Arrays.asList(new Integer[] { 1 })));
List<SetParametersparametersStructParam> list = new Vector<SetParametersparametersStructParam>();
list.add(parm);
ctProxy.setParameters(list);
} catch (Exception e)
{
abort(Simulator.CT, "setParameter("
+ action.variableName + "="
+ action.variableValue + ") faild", e);
}
break;
case DE:
try
{
engineInfo(Simulator.DE, "Setting parameter (Next time="
+ nextTime + "): " + action);
messageInfo(Simulator.DE, nextTime, "setParameter");
SetParametersparametersStructParam parm = new SetParametersparametersStructParam(action.variableName, new Vector<Double>(Arrays.asList(new Double[] { action.variableValue })), new Vector<Integer>(Arrays.asList(new Integer[] { 1 })));
List<SetParametersparametersStructParam> list = new Vector<SetParametersparametersStructParam>();
list.add(parm);
dtProxy.setParameters(list);
} catch (Exception e)
{