/// <summary> /// 构造函数 /// </summary> static FrameWorkOnline() { IFrameWorkOnline online; if (Common.GetOnlineCountType == OnlineCountType.DataBase) { online = new FrameWorkOnlineDataBase(); } else { online = new FrameWorkOnlineCache(); } _Online = online; }