Skip to content

Commit

Permalink
Last doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
cuiods committed Sep 6, 2017
1 parent 5c53bdd commit a536ced
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion StatDisplay/src/models/activeness/activenessInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default {
});
dispatch({
type: 'getDetail',
payload: {hour:currentHour,probeId:"1s12sz"}
payload: {hour:currentHour-1,probeId:"1s12sz"}
});
dispatch({
type: 'getProbeOptions',
Expand Down
8 changes: 6 additions & 2 deletions StatDisplay/src/models/customerFlow/customerFlowInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default {
});
dispatch({
type: 'getDetail',
payload: {hour:currentHour,probeId:"1s12sz"}
payload: {hour:currentHour-1,probeId:"1s12sz"}
});
dispatch({
type: 'getProbeOptions',
Expand All @@ -59,7 +59,7 @@ export default {
});
console.log("execute:"+ (++time));
}
const tempTimer = setInterval(refreshRealTimeData,60000);
const tempTimer = setInterval(refreshRealTimeData,30000);
dispatch({
type:"setTimer",
payload:tempTimer
Expand Down Expand Up @@ -123,6 +123,10 @@ export default {
payload:{last_num2:num2}
});
}

let newCurrentDate = new Date();
time = newCurrentDate.toTimeString().slice(0,8);
console.log("localeTimeString:"+time);
break;
}
}
Expand Down
2 changes: 1 addition & 1 deletion StatDisplay/src/models/inStoreHour/inStoreHourInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default {
});
dispatch({
type: 'getDetail',
payload: {hour:currentHour,probeId:"1s12sz"}
payload: {hour:currentHour-1,probeId:"1s12sz"}
});
dispatch({
type: 'getProbeOptions',
Expand Down
2 changes: 1 addition & 1 deletion StatDisplay/src/models/newOld/newOldInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default {
});
dispatch({
type: 'getDetail',
payload: {hour:currentHour,probeId:"1s12sz"}
payload: {hour:currentHour-1,probeId:"1s12sz"}
});
}
})
Expand Down
2 changes: 1 addition & 1 deletion StatDisplay/src/models/visitCircle/visitCircleInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default {
});
dispatch({
type: 'getDetail',
payload: {hour:currentHour,probeId:"1s12sz"}
payload: {hour:currentHour-1,probeId:"1s12sz"}
});
dispatch({
type: 'getProbeOptions',
Expand Down

0 comments on commit a536ced

Please sign in to comment.