コード例 #1
0
 public string GetObjectDetails(string user, string projectname, int workinglayer, string object_sysuid)
 {
     try
     {
         m_ComosSession.SetCurrentUser(user);
         m_ComosSession.SetCurrentProjectAndWorkingOverlay(projectname, workinglayer);
         Plt.IComosBaseObject device = m_ComosSession.GetComosDeviceBySystemUID(object_sysuid);
         //return ComosSpecsEngine.RetornaHTMLTela(device);
     }
     catch (Exception ex)
     {
         Log.WriteLog(ex.Message + ":GetObjectDetails", System.Diagnostics.EventLogEntryType.Warning);
         System.Diagnostics.Debug.Assert(false);
     }
     return("");
 }