コード例 #1
0
        public IBRServiceContracts.CCell[] GetTaskDataByUid(string user, string projectname, int workinglayer, string systemuid)
        {
            try
            {
                m_ComosSession.SetCurrentUser(user);
                m_ComosSession.SetCurrentProjectAndWorkingOverlay(projectname, workinglayer);

                return(m_ComosSession.GetTaskDataByUid(systemuid));
            }
            catch (Exception ex)
            {
                Log.WriteLog(ex.Message + ":GetTaskDataByUid", System.Diagnostics.EventLogEntryType.Warning);
                System.Diagnostics.Debug.Assert(false);
            }
            return(null);
        }