rainbird
Version:
The Rainbird library allows you to access your RainBird Controller.
20 lines • 461 B
JavaScript
import { Response } from './Response.js';
export class IrrigationDelayGetResponse extends Response {
response;
_days;
constructor(response) {
super();
this.response = response;
this._days = response.readUInt16BE(1);
}
get type() {
return 0xB6;
}
get days() {
return this._days;
}
toBuffer() {
return this.response;
}
}
//# sourceMappingURL=IrrigationDelayGetResponse.js.map