//获取当前页面
var page = Forguncy.Page;
//名称为中奖的单元格
var Cell = page.getCell("中奖");
var s = 0;
var _m = 0;
var _n = 0;
function setXSJYLTime(){
var param=Math.ceil(Math.random()*(_m-_n+1)+_n-1);
//设置指定单元格的值
Cell.setValue(param);
}
function run(m,n){
_m = m;
_n = n;
s = window.setInterval(setXSJYLTime, 200);
}
function stop(){
window.clearInterval(s)
}