@Override
 protected String[] getPVNamesFromTransfer() {
   if (getCurrentEvent().data == null) return null;
   ProcessVariable[] pvArray = (ProcessVariable[]) getCurrentEvent().data;
   List<String> pvList = new ArrayList<String>();
   for (ProcessVariable pv : pvArray) {
     pvList.add(pv.getName());
   }
   return pvList.toArray(new String[pvList.size()]);
 }
Ejemplo n.º 2
0
 /**
  * Changes the PV currently displayed by probe.
  *
  * @param pvName the new pv name or null
  */
 public void setPVName(ProcessVariable pvName) {
   setPVFormula(pvName.getName());
 }