math.randomseed(tostring(os.time()):reverse():sub(1,7))
uab=math.random(1980,2009)/100
ubc=math.random(1980,2009)/100
uca=math.random(1980,2009)/100
--线电压
SetTagValue("yc3",uab)
SetTagValue("yc4",ubc)
SetTagValue("yc5",uca)
--相电压
SetTagValue("yc0",uab/1.732+0.01)
SetTagValue("yc1",ubc/1.732+0.01)
SetTagValue("yc2",uca/1.732+0.01)