Esempio n. 1
0
 public void OnCooperationDockingStutasDataGetted(CooperationDockingStutasResponse res)
 {
     try
     {
         if (res == null || res.cooperationDockingStutas != null)
         {
             foreach (CooperationDockingStutas item in res.cooperationDockingStutas)
             {
                 System.Collections.Generic.List <CooperationStaff> staffs = this.dataService.GetCooperationStaff(item.uid);
                 foreach (CooperationStaff sta in staffs)
                 {
                     sta.SynchronizeTo(item);
                 }
             }
         }
     }
     catch (System.Exception ex)
     {
         ServiceUtil.Instance.Logger.Error(ex);
     }
 }
 public void OnCooperationDockingStutasDataGetted(CooperationDockingStutasResponse res)
 {
     try
     {
         if (res == null || res.cooperationDockingStutas != null)
         {
             foreach (CooperationDockingStutas item in res.cooperationDockingStutas)
             {
                 System.Collections.Generic.List<CooperationStaff> staffs = this.dataService.GetCooperationStaff(item.uid);
                 foreach (CooperationStaff sta in staffs)
                 {
                     sta.SynchronizeTo(item);
                 }
             }
         }
     }
     catch (System.Exception ex)
     {
         ServiceUtil.Instance.Logger.Error(ex);
     }
 }