Commit 6befafc9 authored by pangjh's avatar pangjh

信号分析代码提交

parent a734c301
...@@ -50,7 +50,7 @@ public class PythonServiceImpl implements PythonService { ...@@ -50,7 +50,7 @@ public class PythonServiceImpl implements PythonService {
double time = frequencyDomainReq.getTime() / 1000.0; double time = frequencyDomainReq.getTime() / 1000.0;
List<String> resultList = new ArrayList<>(); List<String> resultList = new ArrayList<>();
String pythonPath = "python"; String pythonPath = "python3";
String[] arguments = new String[] {pythonPath, pythonFrequencyPath, String[] arguments = new String[] {pythonPath, pythonFrequencyPath,
host, port, database, timeScaleUser, timeScalePassword, tableName, columnName, String.valueOf(time)}; host, port, database, timeScaleUser, timeScalePassword, tableName, columnName, String.valueOf(time)};
try { try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment