Exemple #1
0
        public bool IsActive(BLL.SegmentBLL segmentBLL)
        {
            var sement = segmentBLL.cache.GetSegment(this.SEG_NUM);

            if (sement == null)
            {
                return(false);
            }
            else
            {
                return(sement.STATUS == E_SEG_STATUS.Active);
            }
            //return segmentBLL.cache.GetSegment(this.SEG_NUM).STATUS == E_SEG_STATUS.Active;
        }
 public bool IsActive(BLL.SegmentBLL segmentBLL)
 {
     return(segmentBLL.cache.GetSegment(this.SEG_NUM).STATUS == E_SEG_STATUS.Active);
 }