public void DelM(string machine) { BstHost h = new BstHost(machine) { INACTIVE = true }; h.Store(); CbstHelper.FeedLog("Machine was deleted: " + machine); }
public void UpdateHost(string host, bool start, string comment) { BstHost h = new BstHost(host); if (start) { h.POWERON = true; } else { h.POWEROFF = true; } h.Store(); CbstHelper.FeedLog(comment); }