You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
747 B
35 lines
747 B
define(function (require, exports, module) {
|
|
let bIsAutoRefresh = '1';
|
|
let iTime = 300000;//5分钟
|
|
let accDate = '2019-09-09 00:00:00';
|
|
function setIsAuto(bIsAuto){
|
|
bIsAutoRefresh = bIsAuto;
|
|
}
|
|
|
|
function getIsAuto(){
|
|
return bIsAutoRefresh;
|
|
}
|
|
|
|
function setiTime(iTimes){
|
|
iTime = iTimes;
|
|
}
|
|
|
|
function getiTime(){
|
|
return iTime;
|
|
}
|
|
function setAccDate(dAccDate){
|
|
accDate = dAccDate;
|
|
}
|
|
|
|
function getAccDate(){
|
|
return accDate;
|
|
}
|
|
return {
|
|
"setIsAuto": setIsAuto,
|
|
"getIsAuto": getIsAuto,
|
|
"setiTime": setiTime,
|
|
"getiTime": getiTime,
|
|
"setAccDate": setAccDate,
|
|
"getAccDate": getAccDate
|
|
};
|
|
}); |