update
This commit is contained in:
parent
404cd8ad46
commit
ca8caba99f
Binary file not shown.
|
@ -4,7 +4,7 @@ import time
|
||||||
import serial
|
import serial
|
||||||
|
|
||||||
from db.models.lot_data_model import LOT_DATA
|
from db.models.lot_data_model import LOT_DATA
|
||||||
from db.api import add
|
from api import add
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
temp_send = '06 03 01 F4 00 02 85 B2 ' # 温湿度查询指令
|
temp_send = '06 03 01 F4 00 02 85 B2 ' # 温湿度查询指令
|
||||||
|
|
|
@ -6,7 +6,7 @@ import time
|
||||||
import serial
|
import serial
|
||||||
import paho.mqtt.client as mqtt
|
import paho.mqtt.client as mqtt
|
||||||
|
|
||||||
from db.api import add
|
from api import add
|
||||||
from db.models.lot_data_model import LOT_DATA
|
from db.models.lot_data_model import LOT_DATA
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue