Exemplo n.º 1
0
        private void AddPoint(string radio, string pointType, string zbType, string point, string jz, string SQL, string cType, string ID, string desc)
        {
            bool judge = bll.AddTableAttribute(ID, desc, pointType, SQL, point, jz, zbType, cType, radio, tableName);

            if (judge)
            {
                count = 1;
            }
            object obj = new
            {
                count = count
            };

            string result = JsonConvert.SerializeObject(obj);

            Response.Write(result);
            Response.End();
        }