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