callingDoor_getmachinedata.aspx.cs 910 B

1234567891011121314151617181920212223242526272829303132333435
  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. public partial class callingDoor_getmachinedata : PageBase
  16. {
  17. protected void Page_Load(object sender, EventArgs e)
  18. {
  19. WD_PartInfoBusinessLogic wd_PartInfoBusinessLogic = new WD_PartInfoBusinessLogic();
  20. if (!wd_PartInfoBusinessLogic.Operate())
  21. {
  22. this.ResponseDefaultError(PromptingMessage.Error_PartInfo);
  23. return;
  24. }
  25. Response.Write(JsonHelper.SerializeWithSuffix(wd_PartInfoBusinessLogic.wd_PartInfo));
  26. }
  27. }
  28. }