public void SaveAsLogFile(PoolManageByThisAPI ethermine, string mineraddress, string filenameWithExtension, string csvLog) { mineraddress = CheckThatAddressStartWith0X(mineraddress); string root = GetRootPath() + "/" + ethermine.ToString() + "/" + mineraddress + "/log/"; string file = root + filenameWithExtension; Directory.CreateDirectory(root); File.WriteAllText(file, csvLog); }
public void SaveWorkerState(PoolManageByThisAPI poolName, params AbstractWorkerInfo [] workerInfo) { if (workerInfo == null) { return; } for (int i = 0; i < workerInfo.Length; i++) { if (workerInfo[i] != null) { SaveWorkerState(poolName.ToString(), workerInfo[i]); } } }
public void SaveMinerState(PoolManageByThisAPI poolName, AbstractMinerInfo minerinfo) { SaveMinerState(poolName.ToString(), minerinfo); }
public void SaveWorkerState(PoolManageByThisAPI poolName, AbstractWorkerInfo workerInfo) { SaveWorkerState(poolName.ToString(), workerInfo); }
public void BuildReportBasedOnName(PoolManageByThisAPI poolname, string address) { BuildReportBasedOnName(poolname.ToString(), address); }