Aded puck detection using Esera

This commit is contained in:
gac-S_Changer
2018-01-09 10:52:06 +01:00
parent ff1bfbe15c
commit c4ce826ae8
4 changed files with 91 additions and 76 deletions

View File

@@ -211,10 +211,16 @@ public class Puck extends DeviceBase {
}
Font getLabelFont() {
if (plotRect != null){
return new Font("Times New Roman", Font.BOLD, 18);
}
return new Font("Times New Roman", Font.BOLD, 12);
}
Font getIdFont() {
if (plotRect != null){
return new Font("Times New Roman", Font.PLAIN, 12);
}
return new Font("Times New Roman", Font.PLAIN, 9);
}