#
luxiaotao1123
2022-04-06 c328fba5d919ac9bd8a22ab8e9d6a543bedf2a64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
 
 
 
 
// 输送线当前运行状态对象
function StaTask(staData, object) {
    let that = this;
 
    that.no = 0;
    that.run = false;
    that.loaded = 0;
 
    let init = function () {
        that.no = staData.no;
    }
    init();
 
    that.modify = function (staData) {
        if (that.loaded === 0 && staData.loaded === 1) {
            // 无货 ===>> 有货
        }
        if (that.loaded === 1 && staData.loaded === 0) {
            // 有货 ===>> 无货
        }
 
    }
 
    that.change = function () {
    }
 
}
 
export {StaTask}