callingBed_getmachinedata.aspx.cs 972 B

12345678910111213141516171819202122232425262728293031323334353637
  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.Model;
  8. using HNWD.Pregrant.Common;
  9. using System.Text;
  10. using HNWD.Pregrant.DataAccess;
  11. using HNWD.Pregrant.WebService;
  12. using HNWD.Pregrant.BusinessLogic;
  13. namespace HNWD.Pregrant.WebService.WDFJ_I
  14. {
  15. /// <summary>
  16. /// 获取机器控制参数数据
  17. /// </summary>
  18. public partial class callingBed_getmachinedata : PageBase
  19. {
  20. protected void Page_Load(object sender, EventArgs e)
  21. {
  22. WD_PartInfoBusinessLogic wd_PartInfoBusinessLogic = new WD_PartInfoBusinessLogic();
  23. if(!wd_PartInfoBusinessLogic.Operate())
  24. {
  25. this.ResponseDefaultError(PromptingMessage.Error_PartInfo);
  26. return;
  27. }
  28. Response.Write(JsonHelper.SerializeWithSuffix(wd_PartInfoBusinessLogic.wd_PartInfo));
  29. }
  30. }
  31. }