コード例 #1
0
 public bool BatchUpdateComosValues(IBRServiceContracts.CRow[] specs, string user, string projectname, int workinglayer)
 {
     try
     {
         m_ComosSession.SetCurrentUser(user);
         m_ComosSession.SetCurrentProjectAndWorkingOverlay(projectname, workinglayer);
         return(m_ComosSession.BatchChangeComosValues(specs));
     }
     catch (Exception ex)
     {
         Log.WriteLog(ex.Message + ":BatchChangeComosValues", System.Diagnostics.EventLogEntryType.Warning);
         System.Diagnostics.Debug.Assert(false);
     }
     return(false);
 }