예제 #1
0
        void Update()
        {
            foreach (var view in _views)
            {
                view.UpdateCanHire(_engineer.CanHire(view.Id));
            }
            var engineerIds = _engineer.Available;

            if (NeedToUpdate(engineerIds))
            {
                Hide();
                var fullClients = _engineer.Get(engineerIds);
                Show(fullClients);
            }
        }
예제 #2
0
 public float GetFixTime(EngineerId id)
 {
     return(_engineer.Get(id).FixTime);
 }