From 5a0b954877754d8faa9b4fb9edee034d3db21e94 Mon Sep 17 00:00:00 2001 From: "ming.hong" Date: Fri, 18 Oct 2024 15:20:07 +0800 Subject: [PATCH] 2.0.7.51+1018 --- Aida/python.html | 10 +- Aida/python_ming.html | 1027 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 1033 insertions(+), 4 deletions(-) create mode 100644 Aida/python_ming.html diff --git a/Aida/python.html b/Aida/python.html index 3f00500..fd46452 100644 --- a/Aida/python.html +++ b/Aida/python.html @@ -558,8 +558,9 @@ updateFileIcon(); // console.log("GET Status Succeeded."); // console.log("--------------dataReceivedCount--------------",dataReceivedCount) + // every 15 second to check PythonRunning status if (dataReceivedCount >= receivedCountThreshold) { - // every 20 step to check open or close PythonRunning + if (getBufferStatusTemp == 5 && getBufferSignal == 0) { g_isPythonRunning = 0; @@ -580,7 +581,7 @@ getBufferSignal = parseInt(data['bufferSignal']); console.log('getBufferStatusTemp',getBufferStatusTemp); console.log('getBufferSignal',getBufferSignal); - + console.log("g_isPythonRunning",g_isPythonRunning); } catch (error) { console.log(error); } @@ -597,6 +598,7 @@ json_data += '}'; func_setconfigfile(json_data); currentRunningFile = '' + $("#run-button").prop("disabled", false); } dataReceivedCount++; }, @@ -719,8 +721,8 @@ success: function (retdata) { console.log("[/sendpycode] retdata:", retdata); // 2024/08/21 // resolve(retdata); - // $('#console').text("Running.....\n"); - + // $('#console').text("Running.....\n"); + g_isPythonRunning = 0; }, error: function (retdata) { console.error("GET request failed: ", retdata); //2024/08/21 diff --git a/Aida/python_ming.html b/Aida/python_ming.html new file mode 100644 index 0000000..7d74e41 --- /dev/null +++ b/Aida/python_ming.html @@ -0,0 +1,1027 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ +
+ +
+
+ + + + + +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+
+ + + + +