#在这里快速回macro_command main() unsigned short a bool b,c,d,e GetData(a, "Local HMI", LW, 9019, 1) b=(8<=a and a<12) c=(12<=a and a<16) d=(16<=a and a<22) e=(22<=a or a<8) SetData(b, "Local HMI", LB, 0, 1) SetData(c, "Local HMI", LB, 1, 1) SetData(d, "Local HMI", LB, 2, 1) SetData(e, "Local HMI", LB, 3, 1) end macro_command复# |