示例#1
0
 public static bool ShouldStartCharging(HiBoxLocker locker)
 {
     return(locker.GateOpened == true && string.IsNullOrEmpty(locker.ItemRfid));
 }
示例#2
0
 public static bool ShouldStopCharging(HiBoxLocker locker)
 {
     return(locker.GateOpened == false && !string.IsNullOrEmpty(locker.ItemRfid));
 }
示例#3
0
 public static bool IsLockerAvailable(HiBoxLocker locker)
 {
     return(locker.GateOpened == false && !string.IsNullOrEmpty(locker.ItemRfid));
 }