Beispiel #1
0
        public string SELECTNETWORK(string pspnr, string data)
        {
            SelectKv[]        kvdata = Newtonsoft.Json.JsonConvert.DeserializeObject <SelectKv[]>(data);
            List <ET_TCNRFPT> nodes  = new List <ET_TCNRFPT>();

            for (int i = 0; i < kvdata.Length; i++)
            {
                ET_TCNRFPT node = new ET_TCNRFPT();
                node.RFPNT = kvdata[i].Value;
                nodes.Add(node);
            }
            //ET_TCNRFPT[] p =

            ZSL_NetworkList rst = psModels.CNFH.SELECTJGNETWORK(pspnr, nodes);

            return(Newtonsoft.Json.JsonConvert.SerializeObject(rst));
        }
Beispiel #2
0
        public string SelectCNYJ(int i_rows)
        {
            ZSL_NetworkList res = psModels.CNFH.NETWORKWARNING(i_rows);

            return(Newtonsoft.Json.JsonConvert.SerializeObject(res));
        }