Closedown

This commit is contained in:
2019-04-25 14:58:59 +02:00
parent d23d647875
commit 1bacc4ba63
2 changed files with 25 additions and 4 deletions

View File

@@ -246,19 +246,35 @@ public class ScreenPanel4 extends Panel {
String pipelineSuffix = "_sp";
Double getServerDouble(String name) {
return (Double) Convert.toDouble(server.getValue(name));
try{
return (Double) Convert.toDouble(server.getValue(name));
} catch (Exception ex){
return null;
}
}
double[] getServerDoubleArray(String name) {
return (double[]) Convert.toDouble(server.getValue(name));
try{
return (double[]) Convert.toDouble(server.getValue(name));
} catch (Exception ex){
return null;
}
}
Double getServerDouble(String name, StreamValue cache) {
return (Double) Convert.toDouble(cache.__getitem__(name));
try{
return (Double) Convert.toDouble(cache.__getitem__(name));
} catch (Exception ex){
return null;
}
}
double[] getServerDoubleArray(String name, StreamValue cache) {
return (double[]) Convert.toDouble(cache.__getitem__(name));
try{
return (double[]) Convert.toDouble(cache.__getitem__(name));
} catch (Exception ex){
return null;
}
}
class ImageData {