Exemple #1
0
 public long AddPort(PortObject port)
 {
     try
     {
         return(_portManager.AddPort(port));
     }
     catch (Exception ex)
     {
         ErrorLogger.LoggError(ex.StackTrace, ex.Source, ex.Message);
         return(0);
     }
 }
Exemple #2
0
 public bool AddPort(PortModel port, object whereToAdd)
 {
     return(PortManager.AddPort(port, whereToAdd));
 }