/*
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 { ValueType, markStruct } from "igniteui-angular-core";
import { CultureInfo } from "igniteui-angular-core";
import { parseUInt16_2, intToString1 } from "igniteui-angular-core";
/**
 * @hidden
 */
var ST_UnsignedShortHex = /** @class */ (function (_super) {
    tslib_1.__extends(ST_UnsignedShortHex, _super);
    function ST_UnsignedShortHex(a) {
        var _rest = [];
        for (var _i = 1; _i < arguments.length; _i++) {
            _rest[_i - 1] = arguments[_i];
        }
        var _this = _super.call(this) || this;
        _this.c = 0;
        a = (a == void 0) ? 0 : a;
        switch (a) {
            case 0: break;
            case 1:
                {
                    var c = _rest[0];
                    _this.c = c;
                }
                break;
        }
        return _this;
    }
    ST_UnsignedShortHex.d = function (a) {
        return parseUInt16_2(a, 515, CultureInfo.invariantCulture);
    };
    ST_UnsignedShortHex.b = function (a) {
        return new ST_UnsignedShortHex(1, ST_UnsignedShortHex.d(a));
    };
    ST_UnsignedShortHex.prototype.toString = function () {
        return intToString1(this.c, "X4", CultureInfo.invariantCulture);
    };
    ST_UnsignedShortHex.prototype.e = function () {
        return this.c;
    };
    ST_UnsignedShortHex.$t = markStruct(ST_UnsignedShortHex, 'ST_UnsignedShortHex');
    ST_UnsignedShortHex.a = new ST_UnsignedShortHex(0);
    return ST_UnsignedShortHex;
}(ValueType));
export { ST_UnsignedShortHex };
//# sourceMappingURL=ST_UnsignedShortHex.js.map