[TD-225]fix error in sim script.
This commit is contained in:
parent
2b126c4106
commit
dd47b64c41
|
@ -852,11 +852,11 @@ if $rows != 0 then
|
|||
endi
|
||||
|
||||
sql select interp(c1) from intp_tb0 where ts>'2018-11-25 18:09:00' and ts<'2018-11-25 19:20:12' interval(18m);
|
||||
if $rows != 0 then
|
||||
if $rows != 1 then
|
||||
return -1
|
||||
endi
|
||||
|
||||
if $data00 != @2018-11-25 18:30:00.000@ then
|
||||
if $data00 != @18-11-25 18:30:00.000@ then
|
||||
return -1
|
||||
endi
|
||||
|
||||
|
@ -869,7 +869,7 @@ if $rows != 5 then
|
|||
return -1
|
||||
endi
|
||||
|
||||
if $data00 != @2018-11-25 17:54:00.000@ then
|
||||
if $data00 != @18-11-25 17:54:00.000@ then
|
||||
return -1
|
||||
endi
|
||||
|
||||
|
@ -885,11 +885,11 @@ if $data03 != 0.000000000 then
|
|||
return -1
|
||||
endi
|
||||
|
||||
if $data04 != @2018-11-25 17:54:00.000@ then
|
||||
if $data04 != @18-11-25 17:54:00.000@ then
|
||||
return -1
|
||||
endi
|
||||
|
||||
if $data10 != @2018-11-25 18:12:00.000@ then
|
||||
if $data10 != @18-11-25 18:12:00.000@ then
|
||||
return -1
|
||||
endi
|
||||
|
||||
|
@ -905,11 +905,11 @@ if $data13 != 1.200000000 then
|
|||
return -1
|
||||
endi
|
||||
|
||||
if $data14 != @2018-11-25 18:12:00.000@ then
|
||||
if $data14 != @18-11-25 18:12:00.000@ then
|
||||
return -1
|
||||
endi
|
||||
|
||||
if $data40 != @2018-11-25 19:06:00.000@ then
|
||||
if $data40 != @18-11-25 19:06:00.000@ then
|
||||
return -1
|
||||
endi
|
||||
|
||||
|
@ -925,6 +925,6 @@ if $data43 != 6.600000000 then
|
|||
return -1
|
||||
endi
|
||||
|
||||
if $data44 != @2018-11-25 19:06:00.000@ then
|
||||
if $data44 != @18-11-25 19:06:00.000@ then
|
||||
return -1
|
||||
endi
|
Loading…
Reference in New Issue