UNPKG

@dasch-swiss/dsp-js

Version:
28 lines 986 B
import { __decorate, __metadata } from "tslib"; import { JsonObject, JsonProperty } from 'json2typescript'; import { Constants } from '../../../Constants'; import { DecimalConverter } from '../../../custom-converters/decimal-converter'; import { ReadValue } from './read-value'; /** * @category Model V2 */ let ReadIntervalValue = class ReadIntervalValue extends ReadValue { constructor() { super(...arguments); this.start = 0; this.end = 0; } }; __decorate([ JsonProperty(Constants.IntervalValueHasStart, DecimalConverter), __metadata("design:type", Object) ], ReadIntervalValue.prototype, "start", void 0); __decorate([ JsonProperty(Constants.IntervalValueHasEnd, DecimalConverter), __metadata("design:type", Object) ], ReadIntervalValue.prototype, "end", void 0); ReadIntervalValue = __decorate([ JsonObject('ReadIntervalValue') ], ReadIntervalValue); export { ReadIntervalValue }; //# sourceMappingURL=read-interval-value.js.map