public bool Start()
        {
            mbRepository           = ServiceFactory.Create <IJC_MbRepository>();
            ratioAlarmCacheService = ServiceFactory.Create <IRatioAlarmCacheService>();

            EndAllAlarmBySql();

            isStop = false;
            if (thread == null)
            {
                thread = new Thread(DataProc);
            }
            thread.Start();
            return(true);
        }
 public JC_MbService(IJC_MbRepository _Repository)
 {
     this._Repository = _Repository;
 }