return TFecEntry.setImportance(fecName,importance);
}
public static synchronized int setImportance(String fecName,fecImportance importance)
{
NAME32[] tgt = new NAME32[2];
tgt[0] = new NAME32(fecName);
tgt[1] = new NAME32(importance.name());
TDataType din = new TDataType(tgt);
TLink tl = new TLink("/SITE/ENS","IMPORTANCE",null,din,TAccess.CA_WRITE);
int rc = tl.execute(500, true);
tl.close();
return rc;