瀏覽代碼

First Demo

master
mahmood19227 1 年之前
父節點
當前提交
8619d976a7
共有 3 個檔案被更改,包括 6 行新增4 行删除
  1. +2
    -2
      data_out.json
  2. +1
    -1
      redisContent.json
  3. +3
    -1
      simulatorManager.py

+ 2
- 2
data_out.json 查看文件

@@ -1,5 +1,5 @@
{
"step": 502,
"step": 1,
"Warnings": {
"PumpWithKellyDisconnected": false,
"PumpWithTopdriveDisconnected": false,
@@ -20,7 +20,7 @@
"DrillPipeParted": false,
"TripWithSlipsSet": false,
"Blowout": false,
"UndergroundBlowout": true,
"UndergroundBlowout": false,
"MaximumWellDepthExceeded": false,
"CrownCollision": false,
"FloorCollision": false,


+ 1
- 1
redisContent.json
文件差異過大導致無法顯示
查看文件


+ 3
- 1
simulatorManager.py 查看文件

@@ -35,5 +35,7 @@ if __name__=='__main__':
process_exists = True
break
if not process_exists:
subprocess.Popen(['./SimulationCore2', redis_address,str(redis_port),redis_password,simulation_id,str(log_level),str(stepTime)], cwd=work_dir)
command = ['./SimulationCore2', redis_address,str(redis_port),redis_password,simulation_id,str(log_level),str(stepTime)]
print(command)
subprocess.Popen(command, cwd=work_dir)
time.sleep(5)

Loading…
取消
儲存