替换旧版帧处理函数;
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import time
|
||||
from webui import webui
|
||||
from pathlib import Path
|
||||
from func_frame import check_frame_dlt645
|
||||
from source.func_frame import check_frame_dlt645
|
||||
from source.dev_LaminaAdapter import LaminaAdapter
|
||||
from source.device.EnergyRouter import EnergyRouter
|
||||
|
||||
@@ -15,9 +15,9 @@ def my_function(e : webui.event):
|
||||
print("Data from JavaScript: " + e.window.get_str(e, 0)) # Message from JS
|
||||
frame = e.window.get_str(e, 0)
|
||||
block_dlt645 = e.window.get_str(e, 1)
|
||||
output_text = check_frame_dlt645(frame, block=block_dlt645)
|
||||
block_ouput = check_frame_dlt645(frame, block=block_dlt645)
|
||||
|
||||
return output_text
|
||||
return block_ouput
|
||||
|
||||
events = []
|
||||
def main_webui():
|
||||
|
||||
Reference in New Issue
Block a user