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