if extgbdata('biaoji')=0 and 報警條件 then begin
playsound();
extgbdataset('biaoji',1);
end
每次使用前都要
把 工具 數據 全局變量管理器里面 的 biaoji改為0,每次要報警了都要改