예제 #1
0
파일: OSWIN.cs 프로젝트: wra222/testgit
 private IMES.FisObject.Common.Model.OSWIN OSWINInfo_To_OSWIN(OSWINInfo item)
 {
     IMES.FisObject.Common.Model.OSWIN e = new IMES.FisObject.Common.Model.OSWIN();
     e.ID = item.ID;
     e.Family = item.Family;
     e.Zmode = item.Zmode;
     e.OS = item.OS;
     e.AV = item.AV;
     e.Image = item.Image;
     e.Editor = item.Editor;
     e.Cdt = item.Cdt;
     e.Udt = item.Udt;
     return e;
 }
예제 #2
0
파일: OSWIN.cs 프로젝트: wra222/testgit
 public OSWINInfo CheckExistOSWIN(string Family, string Zmod)
 {
     logger.Debug("(OSWIN)GetOSWINByZmode start");
     OSWINInfo ret = new OSWINInfo();
     try
     {
         IMES.FisObject.Common.Model.OSWIN OSWINInfo = new IMES.FisObject.Common.Model.OSWIN();
             
         OSWINInfo = iOSWINRepository.GetOSWINByZmode(Family,Zmod);
         if (OSWINInfo != null)
         {
             ret = OSWIN_To_OSWINInfo(OSWINInfo);
         }
     }
     catch (Exception e)
     {
         logger.Error(e.Message);
         throw;
     }
     finally
     {
         logger.Debug("(OSWIN)GetOSWINByZmode end");
     }
     return ret;
 }