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); }
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); }