|
@@ -73,8 +73,8 @@ func (e *Dlt_0x33323535) stringToCurrentBlock(s string) error {
|
|
|
c0, _ := strconv.ParseFloat(s[12:14], 64)
|
|
|
c1, _ := strconv.ParseFloat(s[14:16], 64)
|
|
|
c2, _ := strconv.ParseFloat(s[16:18], 64)
|
|
|
- e.CurrentA = a0*0.001 + a1*0.1 + a2*10
|
|
|
- e.CurrentB = b0*0.001 + b1*0.1 + b2*10
|
|
|
- e.CurrentC = c0*0.001 + c1*0.1 + c2*10
|
|
|
+ e.CurrentA = a0/1000 + a1/10 + a2*10
|
|
|
+ e.CurrentB = b0/1000 + b1/10 + b2*10
|
|
|
+ e.CurrentC = c0/1000 + c1/10 + c2*10
|
|
|
return nil
|
|
|
}
|