Exemplo n.º 1
0
 // GET api/tableData/getData
 public ActionResult <object[]> getData(string DevSN, string No, int table, int pageSize)
 {
     return(HandleClientReq.getData(DevSN, No, table, pageSize));
 }
Exemplo n.º 2
0
        // api/home/McTrans
        public ActionResult <HomeDataObject> McTrans(string type, int mcTransNo, string DevSN, string[] Index, string[] EventTime, string[] dataType)
        {
            int pageSize = 8;

            return(HandleClientReq.homeMcTrans(type, mcTransNo, DevSN, Index, EventTime, dataType, pageSize));
        }
Exemplo n.º 3
0
 // GET api/tableData/getDetail
 public ActionResult <object[]> getDetail(string DevSN)
 {
     return(HandleClientReq.getDetail(DevSN));
 }
Exemplo n.º 4
0
        // api/home/AlarmOrLogin
        public ActionResult <HomeDataObject> AlarmOrLogin(string type, int statusNo, string DevSN, string[] Index, string[] EventTime, string dataType)
        {
            int pageSize = 8;

            return(HandleClientReq.homeAlarmOrLogin(type, statusNo, DevSN, Index, EventTime, dataType, pageSize));
        }
Exemplo n.º 5
0
        // api/home/All
        public ActionResult <HomeDataObject> All(string type, int statusNo, int mcTransNo, int mcTransNum, int statusNum, string DevSN, string[] EventTime)
        {
            int pageSize = 8;

            return(HandleClientReq.homeAll(type, statusNo, mcTransNo, mcTransNum, statusNum, DevSN, EventTime, pageSize));
        }
Exemplo n.º 6
0
 // GET api/Props/alterProps
 public ActionResult <int> alterProps(string alteredProps, string DevSN)
 {
     return(HandleClientReq.alterProps(alteredProps, DevSN));
 }
Exemplo n.º 7
0
 // GET api/Props/getProps
 public ActionResult <Dictionary <string, object> > getProps(string DevSN)
 {
     // parms tag调用
     return(HandleClientReq.getProps(DevSN, "Device_Lst"));
 }
Exemplo n.º 8
0
 // GET api/Props/getList
 public ActionResult <DataTable> getList(string DevSN, int page)
 {
     // Devices.js页面调用
     return(HandleClientReq.getList(DevSN, page, "Device_Lst"));
 }