{"version":3,"file":"PointDetectConfig.mjs","names":["common.string_empty","common.Int32_0","common.withDefault","common.Bool_true","common.Int32_32","common.Bool_false","common.Int32_300"],"sources":["../generated/PointDetectConfig.ts"],"sourcesContent":["import * as t from 'io-ts';\nimport * as common from '../lib/common';\nimport { ChipType, ChipTypeEnum } from './ChipType'; // import\nimport { DetectPointType, DetectPointTypeEnum } from './DetectPointType'; // import\nimport { ThresholdType, ThresholdTypeEnum } from './ThresholdType'; // import\n/**\n * Codec for interface {@link PointDetectConfig}\n * @category Codecs\n * @see Automatically generated from ../decompiled/Nova.GigabitController.ProgramInnerData.decompiled.cs:487\n */\nexport const PointDetectConfig = t.intersection(\n  [\n    t.type({\n      ScreenSN: common.string_empty, // #520\n      ComPort: common.string_empty, // #532\n      ScreenIndex: common.Int32_0, // #544\n      ScreenChipType: common.withDefault(ChipType, 'Unknown'), // #556\n      DetectType: common.withDefault(DetectPointType, 'None'), // #568\n      DetectThreshold: common.withDefault(ThresholdType, 'None'), // #580\n      IsUseGain: common.Bool_true, // #592\n      DetectRedGainStep: common.Int32_32, // #604\n      DetectGreenGainStep: common.Int32_32, // #616\n      DetectBlueGainStep: common.Int32_32, // #628\n      IsSynchronousGain: common.Bool_true, // #640\n      IsUsedResistor: common.Bool_false, // #652\n      RedResistor: common.Int32_300, // #664\n      GreenResistor: common.Int32_300, // #676\n      BlueResistor: common.Int32_300,\n    }),\n    t.partial({}),\n  ],\n  'PointDetectConfig'\n);\nexport interface PointDetectConfig extends t.TypeOf<typeof PointDetectConfig> {\n  ScreenChipType: ChipTypeEnum;\n  DetectType: DetectPointTypeEnum;\n  DetectThreshold: ThresholdTypeEnum;\n}\n"],"mappings":";;;;;;;;;;;;AAUA,MAAa,oBAAoB,EAAE,aACjC,CACE,EAAE,KAAK;CACL,UAAUA;CACV,SAASA;CACT,aAAaC;CACb,gBAAgBC,YAAmB,UAAU,SAAS;CACtD,YAAYA,YAAmB,iBAAiB,MAAM;CACtD,iBAAiBA,YAAmB,eAAe,MAAM;CACzD,WAAWC;CACX,mBAAmBC;CACnB,qBAAqBA;CACrB,oBAAoBA;CACpB,mBAAmBD;CACnB,gBAAgBE;CAChB,aAAaC;CACb,eAAeA;CACf,cAAcA;AAChB,CAAC,GACD,EAAE,QAAQ,CAAC,CAAC,CACd,GACA,mBACF"}