callingDoor_APP_CheckUpdate.aspx.cs 864 B

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Web.UI;
  6. using System.Web.UI.WebControls;
  7. using HNWD.Pregrant.WebService;
  8. using HNWD.Pregrant.Model;
  9. using System.Text;
  10. using HNWD.Pregrant.DataAccess;
  11. using HNWD.Pregrant.Common;
  12. using HNWD.Pregrant.BusinessLogic;
  13. namespace HNWD.Pregrant.WebService.WDMK_I
  14. {
  15. /// <summary>
  16. /// 初始化界面
  17. /// </summary>
  18. public partial class callingDoor_APP_CheckUpdate : PageBase
  19. {
  20. protected void Page_Load(object sender, EventArgs e)
  21. {
  22. App_CheckUpdateBase app = new callingDoor_UpdateBase();
  23. if(!app.Check())
  24. {
  25. this.ResponseDefaultError(app.Message);
  26. return;
  27. }
  28. Response.Write(JsonHelper.SerializeWithSuffix(app.wd_VerInfo));
  29. }
  30. }
  31. }