// ------------------------------------------------------------------------------------ // BuildStatus Table // ------------------------------------------------------------------------------------ public bool GetStatusLockdown() { BuildStatusTableAdapter buildStatusAdapter = new BuildStatusTableAdapter(); phxbuild.BuildStatusDataTable statusTable = buildStatusAdapter.GetBuildStatus(); bool bLockdown = false; if (statusTable.Count > 0) { bLockdown = (statusTable[0].lockdown != 0) ? true : false; } return(bLockdown); }
public void SetStatusLockdown(bool status) { BuildStatusTableAdapter buildStatusAdapter = new BuildStatusTableAdapter(); buildStatusAdapter.UpdateBuildStatusLockdown((status == false) ? 0 : 1); }