Example #1
0
 public bool UpdateComosValues(IBRServiceContracts.CCell[] specs, string user, string projectname, int workinglayer)
 {
     try
     {
         m_ComosSession.SetCurrentUser(user);
         m_ComosSession.SetCurrentProjectAndWorkingOverlay(projectname, workinglayer);
         //Log.WriteLog(":UpdateComosValues", System.Diagnostics.EventLogEntryType.Information);
         return(m_ComosSession.ChangeComosValues(specs));
     }
     catch (Exception ex)
     {
         Log.WriteLog(ex.Message + ":ChangeComosValues", System.Diagnostics.EventLogEntryType.Warning);
         System.Diagnostics.Debug.Assert(false);
     }
     return(false);
 }