示例#1
0
 /// <summary>
 ///     Initializes the models
 /// </summary>
 public AdjudicatingController()
 {
     listsModel        = new MongoModel("Lists");
     usersModel        = new MongoModel("Users");
     adjudicatingModel = new MongoModel("Adjudicating");
     _logTable         = new LogBook.Controllers.LogBookController();
 }
 public ListController()
 {
     listTable           = new ListTable();
     userTable           = new UserTable();
     this._logTable      = new LogBook.Controllers.LogBookController();
     agent               = null;
     validatepermissions = new validatePermissions();
 }
 public EmployeeProfileController()
 {
     this._employeeProfileTable = new EmployeeProfileTable();
     this._userTable            = new UserTable();
     validatepermissions        = new validatePermissions();
     _logTable      = new LogBook.Controllers.LogBookController();
     _employeeTable = new EmployeeTable();
 }
示例#4
0
 public InventoryController()
 {
     this._inventoryTable = new InventoryTable();
     this._userTable      = new UserTable();
     this._locationTable  = new LocationTable();
     this._profileTable   = new ProfileTable();
     this._hardwareTable  = new HardwareTable();
     this._logTable       = new LogBook.Controllers.LogBookController();
 }
 public MovementProfileController()
 {
     this._profileTable       = new ProfileTable("MovementProfiles");
     this._movementTable      = new MovementTable();
     this._userTeble          = new UserTable();
     this._authorizationTable = new AuthorizationTable();
     this._categoryTable      = new CategoryTable();
     validatepermissions      = new validatePermissions();
     this._processesTable     = new ProcessesTable();
     _logTable = new LogBook.Controllers.LogBookController();
 }
示例#6
0
 public LabelingController()
 {
     locationTable      = new LocationTable();
     userprofileTable   = new UserProfileTable();
     userTable          = new UserTable();
     objectTable        = new ObjectTable();
     objectRealTable    = new ObjectReal();
     notificationObject = new Notifications();
     classNotifications = new Notifications();
     _logTable          = new LogBook.Controllers.LogBookController();
 }
 public EmployeeController()
 {
     //  validatelim = new ValidateLimits();
     validatepermissions  = new validatePermissions();
     employeeprofileTable = new EmployeeProfileTable();
     witnessesModel       = new MongoModel("witnesses");
     _listTable           = new ListTable();
     employeetable        = new EmployeeTable();
     Notificate           = new Notifications();
     _logTable            = new LogBook.Controllers.LogBookController();
     userTable            = new UserTable();
     profileTable         = new ProfileTable();
     listTable            = new ListTable();
 }
示例#8
0
 public SemaphoreController()
 {
     semaphoredb       = new MongoModel("Semaphore");
     movementprofiledb = new MongoModel("MovementProfiles");
     _logTable         = new LogBook.Controllers.LogBookController();
 }