private FileUpdateInfo DataRowToFileUpdaterInfo(DataRow dr)
        {
            string         updateFileXml = dr["AutoUpdaterXml"].ToString();
            FileUpdateInfo fileUpdate    = FileUpdateInfo.Convert(updateFileXml);;

            return(fileUpdate);
        }
 /// <summary>
 /// 获取选中的系统类型
 /// </summary>
 public void FindSystemMessage()
 {
     AdvertManage.Model.ProgramUpgradeModel program = AdvertManage.BLL.ProgramUpgradeBLL.GetProgramInfoByProgramType((AdvertManage.Model.Enum.SeatManageSubsystem)(int) SystemType);
     if (program == null)
     {
         return;
     }
     oldSystem = FileUpdateInfo.Convert(program.AutoUpdaterXml);
     if (oldSystem != null)
     {
         Version = oldSystem.Version;
     }
     else
     {
     }
 }
 /// <summary>
 /// 构建文件路径,上传。
 /// </summary>
 public string BuildUpdateFile()
 {
     AdvertManage.Model.ProgramUpgradeModel program = AdvertManage.BLL.ProgramUpgradeBLL.GetProgramInfoByProgramType((AdvertManage.Model.Enum.SeatManageSubsystem)(int) SystemType);
     if (program != null)
     {
         oldSystem = FileUpdateInfo.Convert(program.AutoUpdaterXml);
         if (oldSystem != null && Version == oldSystem.Version)
         {
             return("版本号重复");
         }
         filePaths = system.BuildUpdateFilePaths();
         return("");
     }
     else
     {
         return("");
     }
 }