{"version":3,"file":"ChipSM16259ExtendProperty.mjs","names":["common.Bool_true","common.withDefault","common.UInt8_32","common.UInt8_0","common.UInt8","common.UInt16_65337","common.Bool_false","common.UInt8_2","common.UInt16_11","common.UInt16_3072","common.UInt16_0"],"sources":["../generated/ChipSM16259ExtendProperty.ts"],"sourcesContent":["import * as t from 'io-ts';\nimport * as common from '../lib/common';\nimport { ChipBaseExtendPropey } from './ChipBaseExtendPropey'; // import\nimport { LowAshGrade, LowAshGradeEnum } from './LowAshGrade'; // import\nimport { MultiplierGrade, MultiplierGradeEnum } from './MultiplierGrade'; // import\nimport { OpenTestVoltageGrade, OpenTestVoltageGradeEnum } from './OpenTestVoltageGrade'; // import\nimport { PWMModel, PWMModelEnum } from './PWMModel';\n // import\nexport const ChipSM16259ExtendPropertyBase = t.intersection(\n  [\n    ChipBaseExtendPropey,\n    t.type({\n      IsShadowsEnable: common.Bool_true, // #115\n      MultiplierGrade: common.withDefault(MultiplierGrade, 'EightGrade'), // #128\n      ScanTypeUshort: common.UInt8_32, // #141\n      LowAshCompensationTwo: common.UInt8_0, // #154\n      Gain: common.withDefault(common.UInt8, 57), // #167\n      RegValueConfigFirst: common.UInt16_65337, // #182\n      LowAshCompensationOne: common.UInt8_0, // #195\n      IsOpenTest: common.Bool_false, // #208\n      OpenTestVoltageGrade: common.withDefault(OpenTestVoltageGrade, 'OneVoltageGrade'), // #221\n      BlankingMode: common.UInt8_2, // #234\n      RegValueConfigSecond: common.UInt16_11, // #247\n      IsEnergySaving: common.Bool_false, // #260\n      ShadowVoltageOne: common.UInt8_0, // #273\n      ShadowVoltageTwo: common.UInt8_0, // #286\n      PWMModel: common.withDefault(PWMModel, 'OneModel'), // #299\n      RegValueConfigThird: common.UInt16_3072, // #325\n      RegValueConfigForth: common.UInt16_0,\n    }),\n    t.partial({\n      LowAshGrade,\n    }),\n  ],\n  'ChipSM16259ExtendPropertyBase'\n);\n/**\n * Codec for {@link ChipSM16259ExtendProperty}\n * @category Codecs\n * @see Automatically generated from ../decompiled/Nova.LCT.GigabitSystem.ChipSM16259.decompiled.cs:76\n */\nexport const ChipSM16259ExtendProperty = t.intersection(\n  [\n    ChipSM16259ExtendPropertyBase,\n    t.partial({ '@_xsi:type': t.literal('ChipSM16259ExtendProperty') }),\n  ],\n  'ChipSM16259ExtendProperty'\n);\nexport interface ChipSM16259ExtendProperty extends t.TypeOf<typeof ChipSM16259ExtendProperty> {\n  MultiplierGrade: MultiplierGradeEnum;\n  OpenTestVoltageGrade: OpenTestVoltageGradeEnum;\n  PWMModel: PWMModelEnum;\n  LowAshGrade?: LowAshGradeEnum;\n}\n"],"mappings":";;;;;;;;;AAQA,MAAa,gCAAgC,EAAE,aAC7C;CACE;CACA,EAAE,KAAK;EACL,iBAAiBA;EACjB,iBAAiBC,YAAmB,iBAAiB,YAAY;EACjE,gBAAgBC;EAChB,uBAAuBC;EACvB,MAAMF,YAAmBG,OAAc,EAAE;EACzC,qBAAqBC;EACrB,uBAAuBF;EACvB,YAAYG;EACZ,sBAAsBL,YAAmB,sBAAsB,iBAAiB;EAChF,cAAcM;EACd,sBAAsBC;EACtB,gBAAgBF;EAChB,kBAAkBH;EAClB,kBAAkBA;EAClB,UAAUF,YAAmB,UAAU,UAAU;EACjD,qBAAqBQ;EACrB,qBAAqBC;CACvB,CAAC;CACD,EAAE,QAAQ,EACR,YACF,CAAC;AACH,GACA,+BACF;;;;;;AAMA,MAAa,4BAA4B,EAAE,aACzC,CACE,+BACA,EAAE,QAAQ,EAAE,cAAc,EAAE,QAAQ,2BAA2B,EAAE,CAAC,CACpE,GACA,2BACF"}