19 lines
404 B
Plaintext
19 lines
404 B
Plaintext
while {[result jtccr] == 0} {
|
|
wait 5
|
|
if {([result p2] > 0.6) && ([result epc port1] == 0)} {
|
|
epc port1 1
|
|
}
|
|
if {([result p2] <0.4) && ([result epc port1] == 1)} {
|
|
epc port1 0
|
|
}
|
|
if {([result p3] > 4.5) && ([result jtccr v10] == 0)} {
|
|
jtccr v10 1
|
|
}
|
|
if {([result p3] <2.0) && ([result jtccr v10] == 1)} {
|
|
jtccr v10 0
|
|
}
|
|
}
|
|
epc port1 0
|
|
jtccr v10 0
|
|
|