Esempio n. 1
0
        public string UPCoordinatePositionNew(string x, string y, string uptime, string name, string zaixian, string dignweiStatus, string yichang)
        {
            string result = "";

            if (Data_dal.UPCoordinatePosition(x, y, uptime, name, zaixian, dignweiStatus, yichang) > 0)
            {
                result = @"[{""result"":true}]";
            }
            else
            {
                result = @"[{""result"":false}]";
            }
            return(result);
        }
Esempio n. 2
0
        public string UPCoordinatePosition(string x, string y, string uptime, string name, string zaixian)
        {
            string result = "";

            if (Data_dal.UPCoordinatePosition(x, y, uptime, name, zaixian) > 0)
            {
                result = @"[{""result"":true}]";
            }
            else
            {
                result = @"[{""result"":false}]";
            }
            return(result);
        }