1234567891011121314151617181920212223242526272829303132333435363738 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using System.Web.UI;
- using System.Web.UI.WebControls;
- using HNWD.Pregrant.WebService;
- using HNWD.Pregrant.Model;
- using System.Text;
- using HNWD.Pregrant.DataAccess;
- using HNWD.Pregrant.Common;
- using HNWD.Pregrant.BusinessLogic;
- namespace HNWD.Pregrant.WebService.MgrCSharp
- {
- public partial class GetWD_DeviceInfoArray :PageBase
- {
- protected void Page_Load(object sender, EventArgs e)
- {
- if(!this.InitializeDataAccess())
- {
- this.ResponseDefaultError(PromptingMessage.Error_Data_Initialized);
- return;
- }
- if(this.wd_DeviceInfoDataAccess.ext.DeviceInfoArray.Count == 0)
- {
- this.ResponseDefaultError();
- return;
- }
- this.Response.Write(JsonHelper.SerializeWithSuffix(this.wd_DeviceInfoDataAccess.ext));
- }
- }
- }
|