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

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

            b.SetParameter(Parameter);
            b.Querycount = Querycount;
            return(Send(command, b.Getjson()));
        }