设计模式(十四)状态模式

不同的时间,工作状态不同。代码实现? 工作类: public class Work { private int hour; public int Hour{ get{return hour;} set{hour=value;} } private bool finish = false; public bool TaskFin
相关文章
相关标签/搜索