initial, start porting Python MeterbusLib to node
This commit is contained in:
28
dist/meterbus.js
vendored
Normal file
28
dist/meterbus.js
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var MeterbusLib;
|
||||
(function (MeterbusLib) {
|
||||
var Telegram = (function () {
|
||||
function Telegram() {
|
||||
}
|
||||
Object.defineProperty(Telegram.prototype, "hexString", {
|
||||
get: function () {
|
||||
return this._hexString;
|
||||
},
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
});
|
||||
Object.defineProperty(Telegram.prototype, "telegram", {
|
||||
get: function () {
|
||||
return this._telegram;
|
||||
},
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
});
|
||||
Telegram.prototype.fromHexString = function (hexString) {
|
||||
this._hexString = hexString;
|
||||
};
|
||||
return Telegram;
|
||||
}());
|
||||
MeterbusLib.Telegram = Telegram;
|
||||
})(MeterbusLib = exports.MeterbusLib || (exports.MeterbusLib = {}));
|
Reference in New Issue
Block a user