/*
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 * as tslib_1 from "tslib";
import { Base, toNullable, Number_$type, fromEnum, markType, getInstanceType } from "igniteui-angular-core";
import { CultureInfo } from "igniteui-angular-core";
import { parseInt32_1 } from "igniteui-angular-core";
/**
 * @hidden
 */
var CT_AlphaModulateFixedEffect = /** @class */ (function (_super) {
    tslib_1.__extends(CT_AlphaModulateFixedEffect, _super);
    function CT_AlphaModulateFixedEffect() {
        var _this = _super.call(this) || this;
        _this.c = toNullable(Number_$type, null);
        return _this;
    }
    Object.defineProperty(CT_AlphaModulateFixedEffect.prototype, "b", {
        get: function () {
            return this.c;
        },
        set: function (a) {
            this.c = a;
        },
        enumerable: true,
        configurable: true
    });
    CT_AlphaModulateFixedEffect.e = function (a, b) {
        var e_1, _a;
        b = toNullable(Number_$type, null);
        try {
            for (var _b = tslib_1.__values(fromEnum(a.ab.u)), _c = _b.next(); !_c.done; _c = _b.next()) {
                var c = _c.value;
                switch (c.a.e(a.d)) {
                    case "amt":
                        b = toNullable(Number_$type, parseInt32_1(c.d, CultureInfo.invariantCulture));
                        break;
                    default: break;
                }
            }
        }
        catch (e_1_1) { e_1 = { error: e_1_1 }; }
        finally {
            try {
                if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
            }
            finally { if (e_1) throw e_1.error; }
        }
        ;
        return {
            p1: b
        };
    };
    CT_AlphaModulateFixedEffect.f = function (a, b, c) {
        if (c === void 0) { c = toNullable(Number_$type, null); }
        a.ad.p(b, "a");
        var d = null;
        var e = null;
        if (c.hasValue) {
            e = "amt";
            d = c.value.toString();
            a.ad.h(e, d);
        }
        ;
    };
    CT_AlphaModulateFixedEffect.prototype.toString = function () {
        var a = getInstanceType(this);
        return a != null ? a.typeName : _super.prototype.toString.call(this);
    };
    CT_AlphaModulateFixedEffect.$t = markType(CT_AlphaModulateFixedEffect, 'CT_AlphaModulateFixedEffect');
    return CT_AlphaModulateFixedEffect;
}(Base));
export { CT_AlphaModulateFixedEffect };
//# sourceMappingURL=CT_AlphaModulateFixedEffect.js.map