autoStr method

String autoStr (
  1. SamModel sm,
  2. Object x
)

Implementation

String autoStr(SamModel sm,Object x) {
  bool bAuto = sm.getHot("auto");
  //log("getAutoStr ${sm.getHot('delay')}  ${sm.getHot('auto')} $bAuto");
  if (!bAuto) {
    return "Enable Auto";
  } else {
    return "Auto (Delay ${sm.getHot('delay')})";
  }
}