|
vars: RecordNo(0);
if time >= 0915 and time <= 1200 and EntriesToday(date) <= 3 then Begin
Main Entry/Exit rule
RecordNo = EntriesToday(date) ; // 紀錄上午進場幾次
end ;
if time >= 1500 and time <= 2300 and EntriesToday(date) <= RecordNo + 3 then Begin
Main Entry/Exit rule
end ;
|
|