{"version":3,"file":"ChipCX5721RGBExtendProperty.cjs","names":["t","ChipBaseExtendPropey","ChipCX5721ExtendProperty"],"sources":["../generated/ChipCX5721RGBExtendProperty.ts"],"sourcesContent":["import * as t from 'io-ts';\nimport * as common from '../lib/common';\nimport { ChipBaseExtendPropey } from './ChipBaseExtendPropey'; // import\nimport { ChipCX5721ExtendProperty } from './ChipCX5721ExtendProperty';\n // import\nexport const ChipCX5721RGBExtendPropertyBase = t.intersection(\n  [\n    ChipBaseExtendPropey,\n    t.type({\n      REG_LENGTH: common.Int32_5,\n    }),\n    t.partial({\n      RedProperty: ChipCX5721ExtendProperty, // #284\n      GreenProperty: ChipCX5721ExtendProperty, // #286\n      BlueProperty: ChipCX5721ExtendProperty, // #288\n      VRedProperty: ChipCX5721ExtendProperty, // #290\n      IsUseNewModule: common.Bool, // #296\n      ChipLibVersion: common.UInt8, // #298\n      GrayScaleEnhancementEn: common.Bool, // #300\n      PartNumRef: common.UInt8, // #314\n      ScanCount: common.UInt8, // #330\n      GrayCutting64Sections: common.UInt8, // #344\n      GradientOptimizationSwitchEn: common.Bool, // #358\n      LowGrayHighRef: common.UInt8, // #372\n      OpenOrShortMode: common.Bool, // #386\n      ShortGrade: common.UInt8, // #400\n      OpenGrade: common.UInt8, // #414\n      EnableShortMode: common.Bool, // #428\n      EnableOpenMode: common.Bool, // #442\n      IsAdvancedMode: common.Bool, // #456\n      SpecialDataLen: common.Int32, // #468\n      SpecialRegisterAddr: common.UInt32,\n    }),\n  ],\n  'ChipCX5721RGBExtendPropertyBase'\n);\n/**\n * Codec for {@link ChipCX5721RGBExtendProperty}\n * @category Codecs\n * @see Automatically generated from ../decompiled/Nova.LCT.GigabitSystem.ChipCX5721.decompiled.cs:279\n */\nexport const ChipCX5721RGBExtendProperty = t.intersection(\n  [\n    ChipCX5721RGBExtendPropertyBase,\n    t.partial({ '@_xsi:type': t.literal('ChipCX5721RGBExtendProperty') }),\n  ],\n  'ChipCX5721RGBExtendProperty'\n);\nexport interface ChipCX5721RGBExtendProperty extends t.TypeOf<typeof ChipCX5721RGBExtendProperty> {\n  RedProperty?: ChipCX5721ExtendProperty;\n  GreenProperty?: ChipCX5721ExtendProperty;\n  BlueProperty?: ChipCX5721ExtendProperty;\n  VRedProperty?: ChipCX5721ExtendProperty;\n}\n"],"mappings":";;;;;;;;;AAKA,MAAa,kCAAkCA,MAAE,aAC/C;CACEC;CACAD,MAAE,KAAK,EACL,mCACF,CAAC;CACDA,MAAE,QAAQ;EACR,aAAaE;EACb,eAAeA;EACf,cAAcA;EACd,cAAcA;EACd;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF,CAAC;AACH,GACA,iCACF;;;;;;AAMA,MAAa,8BAA8BF,MAAE,aAC3C,CACE,iCACAA,MAAE,QAAQ,EAAE,cAAcA,MAAE,QAAQ,6BAA6B,EAAE,CAAC,CACtE,GACA,6BACF"}