Esempio n. 1
0
 public void Expanse(LaborMethods _labors, Subject _mission)
 {
     if (methods != null && (methods.Count > 0))
     {
         foreach (var cr in _labors)
         {
             methods.Put(cr);
         }
     }
     else
     {
         methods = _labors;
     }
     if (_mission != null)
     {
         _mission.AddRange(methods.AsValues().ToList());
         Scope.Add(_mission);
     }
 }
Esempio n. 2
0
        public Laboratory(LaborMethods _methods, Scope _scope = null)
        {
            methods = new LaborMethods();
            foreach (var rd in _methods)
            {
                methods.Put(rd);
            }

            if (_scope == null)
            {
                scope = new Scope("ThreadLab", new LaborNotes());
            }
            else
            {
                scope = _scope;
            }

            scope.Add("Primary", _methods.AsValues().ToList());
            Scope = scope;
            Notes = Scope.Notes;
            StartLaboring();
        }