public static string GetViewValue(CollectStates type) { switch (type) { case CollectStates.Undecided: return("回収予定なし"); case CollectStates.Appointment: return("回収予定あり"); case CollectStates.Done: return("回収済み"); default: return(String.Empty); } }
public CollectState(string flag) { this.type = GetTypeForDBValue(flag); }
public CollectState(Reserve res) { this.type = GetTypeForReserve(res); }
public CollectState(CollectStates v) { this.type = v; }