Beispiel #1
0
        Query GetActivateDebugQuery()
        {
            Query query = new Query();

            query.AddCommand(new Command(0x3c, new byte[] { 0x90, 0x04, 0x2E, 0xFD, 0x09, 0x01, 0x00, 0x00 }));
            query.AddCommand(new Command(0x3d));
            return(query);
        }
Beispiel #2
0
        protected Query GetTesterPresentQuery()
        {
            Query query = new Query();

            query.AddCommand(new Command(0x3c, new byte[] { 0x90, 0x0, 0x3E, 0x0 }));
            query.AddCommand(new Command(0x3d));
            return(query);
        }
Beispiel #3
0
        Query GetPressure()
        {
            Query query = new Query();

            query.AddCommand(new Command(0x3c, new byte[] { 0x90, 0x03, 0x22, 0xFD, 0x00, 0x00, 0x00, 0x00 }));
            query.AddCommand(new Command(0x3d));
            query.AddCommand(new Command(0x3d));
            query.AddCommand(new Command(0x3d));
            return(query);
        }
Beispiel #4
0
        Query GetValve4OnQuery()
        {
            Query query = new Query(QueryType.deflate);

            query.AddCommand(new Command(0x3c, new byte[] { 0x90, 0x10, 0x0C, 0x2E, 0xFD, 0x08, 0x00, 0x00 }));
            query.AddCommand(new Command(0x3c, new byte[] { 0x90, 0x21, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00 }));
            query.AddCommand(new Command(0x3c, new byte[] { 0x90, 0x22, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }));
            query.AddCommand(new Command(0x3d));
            return(query);
        }
Beispiel #5
0
        Query GetDisablePumpQuery()
        {
            Query query = new Query();

            query.AddCommand(new Command(0x3c, new byte[] { 0x90, 0x10, 0x0C, 0x2E, 0xFD, 0x08, 0x00, 0x00 }));
            query.AddCommand(new Command(0x3c, new byte[] { 0x90, 0x21, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }));
            query.AddCommand(new Command(0x3c, new byte[] { 0x90, 0x22, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }));
            query.AddCommand(new Command(0x3d));
            return(query);
        }
Beispiel #6
0
        Query GetActiveErrors()
        {
            Query query = new Query();

            query.AddCommand(new Command(0x3c, new byte[] { 0x90, 0x03, 0x22, 0xFD, 0x14, 0x00, 0x00, 0x00 }));
            query.AddCommand(new Command(0x3d));
            query.AddCommand(new Command(0x3d));
            query.AddCommand(new Command(0x3d));
            query.AddCommand(new Command(0x3d));
            return(query);
        }
Beispiel #7
0
        Query StandardCommandResponse()
        {
            Query query = new Query();

            query.AddCommand(new Command(0x00, new byte[] { 0x90, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }));
            query.AddCommand(new Command(0x00, new byte[] { 0x90, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }));
            query.AddCommand(new Command(0x00, new byte[] { 0x90, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }));
            query.AddCommand(new Command(0x00, new byte[] { 0x90, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }));
            query.AddCommand(new Command(0x01));
            query.AddCommand(new Command(0x01));
            query.AddCommand(new Command(0x01));
            query.AddCommand(new Command(0x01));
            return(query);
        }