ComStatisticsPacket.js 313 B

123456789101112
  1. module.exports = ComStatisticsPacket;
  2. function ComStatisticsPacket() {
  3. this.command = 0x09;
  4. }
  5. ComStatisticsPacket.prototype.write = function(writer) {
  6. writer.writeUnsignedNumber(1, this.command);
  7. };
  8. ComStatisticsPacket.prototype.parse = function(parser) {
  9. this.command = parser.parseUnsignedNumber(1);
  10. };