function getStateStnum(StateStnum, stnum, i) {
if (StateStnum != stnum) {
StateStnum++;
if (StateStnum === 10)
StateStnum = 0;
flip('hoursUp' + i, 'hoursDown' + i, StateStnum, 'Single/Up/' + 2 + '/', 'Single/Down/' + 1 + '/');
}
}
function getInterval() {
getStateStnum(StateStnum_1, stnum_1, 1);
getStateStnum(StateStnum_2, stnum_2, 2);
}