Beispiel #1
0
 public MTPatchModel()
 {
     _LstAdress      = new List <MTMapModel>();
     _lstTest        = new List <MTStructTest>();
     _dtCreated      = DateTime.Now;
     _dScore         = 0;
     _dPosition      = 0;
     _sGUID          = Guid.NewGuid().ToString();
     _bTestIsEnabled = true;
     _mgrApply       = new MTApplyMgrModel(this);
 }
Beispiel #2
0
        public MTPatchModel(string sAdress, DateTime dtCreated, string sGUID, bool bTestIsEnabled)
        {
            SetLstAdress(MTControler.GetListMap(sAdress));

            _lstTest        = new List <MTStructTest>();
            _dtCreated      = dtCreated;
            _dScore         = 0;
            _dPosition      = 0;
            _sGUID          = sGUID;
            _bTestIsEnabled = bTestIsEnabled;
            _mgrApply       = new MTApplyMgrModel(this);
        }