rainbird
Version:
The Rainbird library allows you to access your RainBird Controller.
20 lines • 464 B
JavaScript
import { Response } from './Response.js';
export class AcknowledgedResponse extends Response {
response;
_commandType;
constructor(response) {
super();
this.response = response;
this._commandType = response[1];
}
get type() {
return 0x01;
}
get commandType() {
return this._commandType;
}
toBuffer() {
return this.response;
}
}
//# sourceMappingURL=AcknowledgedResponse.js.map