Beispiel #1
0
        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());
        }
Beispiel #2
0
 public static string GetPlanStateText(PlanState st)
 {
     return(st.OpStatus.ToString());
 }