private void runPredict() { ServiceLog.WriteLog("predict", null); n_predict++; CallUserExe.call("phm_home", exePredictPath, null); hasDiaged = false; hasPredicted = true; }
private void runDiag() { ServiceLog.WriteLog("diag", null); n_diag++; // 定时器默认会新开一个线程,无需手动写 CallUserExe.call("phm_home", exeDiagPath, null); hasDiaged = true; hasPredicted = false; }