public DICOMDeviceParam getParams() throws ClipsException{
/*DICOMDeviceParam target = new DICOMDeviceParam(
getDetails().userFriendlyName, getDetails().modelName, getDetails().deviceUi,
getDetails().implementationUid, getDetails().implementationVersion);*/
DICOMDeviceParam target;
try {
target = DICOMDeviceParam.fromXml(
Converter.stringToXml(getDetails().configXml).getRootElement(),
getDetails().userFriendlyName, getDetails().modelName, getDetails().deviceUi,
getDetails().implementationUid, getDetails().implementationVersion);
} catch (JDOMException ex) {
ex.printStackTrace();
target = new DICOMDeviceParam(
getDetails().userFriendlyName, getDetails().modelName, getDetails().deviceUi,
getDetails().implementationUid, getDetails().implementationVersion);
}
target.setIpAddres(getDetails().ipAddres);
target.setPort(getDetails().port);
target.setDeviceID(getID());
target.setModifyDate(getDetails().modifyTime);
return target;
}