public static bool ShouldStartCharging(HiBoxLocker locker) { return(locker.GateOpened == true && string.IsNullOrEmpty(locker.ItemRfid)); }
public static bool ShouldStopCharging(HiBoxLocker locker) { return(locker.GateOpened == false && !string.IsNullOrEmpty(locker.ItemRfid)); }
public static bool IsLockerAvailable(HiBoxLocker locker) { return(locker.GateOpened == false && !string.IsNullOrEmpty(locker.ItemRfid)); }