/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE  AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE:  you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import { __extends } from "tslib";
import { StrategyBasedIndicatorDescription } from "./StrategyBasedIndicatorDescription";
import { markType } from "./type";
/**
 * @hidden
 */
var AverageDirectionalIndexIndicatorDescription = /** @class */ (function (_super) {
    __extends(AverageDirectionalIndexIndicatorDescription, _super);
    function AverageDirectionalIndexIndicatorDescription() {
        var _this = _super.call(this) || this;
        _this.cy = 0;
        return _this;
    }
    AverageDirectionalIndexIndicatorDescription.prototype.get_type = function () {
        return "AverageDirectionalIndexIndicator";
    };
    Object.defineProperty(AverageDirectionalIndexIndicatorDescription.prototype, "period", {
        get: function () {
            return this.cy;
        },
        set: function (a) {
            this.cy = a;
            this.e("Period");
        },
        enumerable: true,
        configurable: true
    });
    AverageDirectionalIndexIndicatorDescription.$t = markType(AverageDirectionalIndexIndicatorDescription, 'AverageDirectionalIndexIndicatorDescription', StrategyBasedIndicatorDescription.$);
    return AverageDirectionalIndexIndicatorDescription;
}(StrategyBasedIndicatorDescription));
export { AverageDirectionalIndexIndicatorDescription };
