public static string GetPlanStateFlags(PlanState planState) { if (planState is null) { return(string.Empty); } var sbFlags = new StringBuilder(); if (planState.Running) { sbFlags.Append("R"); } if (planState.Killing) { sbFlags.Append("K"); } return(sbFlags.ToString()); }
public static string GetPlanStateText(PlanState st) { return(st.OpStatus.ToString()); }