Exemplo n.º 1
0
        public bool SendRoot <T>(byte command, String Request, T Root, int Querycount)
        {
            BaseDataModel b = new BaseDataModel();

            b.Request = Request;
            b.Token   = this.Tokan;
            b.SetRoot <T>(Root);
            b.Querycount = Querycount;
            send(command, b.Getjson());
            return(true);
        }
Exemplo n.º 2
0
        public bool SendParameter <T>(byte command, String Request, T Parameter, int Querycount)
        {
            BaseDataModel b = new BaseDataModel();

            b.Request = Request;
            b.Token   = this.Tokan;
            b.SetParameter <T>(Parameter);
            b.Querycount = Querycount;
            send(command, b.Getjson());
            return(true);
        }