123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926 |
- import { BasicColumn } from '/@/components/Table';
- import { FormSchema } from '/@/components/Table';
- import { rules } from '/@/utils/helper/validator';
- import { reactive } from 'vue';
- import type { EChartsOption } from 'echarts';
- import { useGlobSetting } from '/@/hooks/setting';
- import { cloneDeep } from 'lodash-es';
- type CtrlLockOpenType = {
- CtrlLockOpen: boolean | undefined;
- CtrlExplosionVentOpen: boolean | undefined;
- };
- export type PointMonitorType = {
- valueName: string;
- valueCode: string;
- value: number | string;
- warnMin_201: number | string;
- warnMin_104: number | string;
- readTime: string;
- };
- export const columns: BasicColumn[] = [
- {
- title: '名称',
- dataIndex: 'strname',
- width: 120,
- },
- {
- title: '安装位置',
- dataIndex: 'strinstallpos',
- width: 100,
- },
- {
- title: '是否为常闭型',
- dataIndex: 'bnormalclose',
- width: 100,
- // customRender: render.renderAvatar,
- },
- {
- title: '净宽',
- dataIndex: 'fclearwidth',
- width: 80,
- },
- {
- title: '净高',
- dataIndex: 'fclearheight',
- width: 100,
- },
- {
- title: '风门道数',
- dataIndex: 'ndoorcount',
- width: 100,
- },
- {
- title: '所属分站',
- width: 150,
- dataIndex: 'stationname',
- },
- {
- title: '点表',
- width: 100,
- dataIndex: 'strtype',
- },
- {
- title: '监测类型',
- dataIndex: 'monitorflag',
- width: 100,
- },
- {
- title: '是否模拟数据',
- dataIndex: 'testflag',
- width: 100,
- },
- ];
- export const recycleColumns: BasicColumn[] = [
- {
- title: '名称',
- dataIndex: 'strname',
- width: 100,
- },
- {
- title: '是否为常闭型',
- dataIndex: 'bnormalclose',
- width: 100,
- },
- ];
- export const searchFormSchema: FormSchema[] = [
- {
- label: '名称',
- field: 'strname',
- component: 'Input',
- colProps: { span: 6 },
- },
- {
- label: '安装位置',
- field: 'strinstallpos',
- component: 'Input',
- colProps: { span: 6 },
- },
- {
- label: '是否为常闭型',
- field: 'bnormalclose',
- component: 'JDictSelectTag',
- componentProps: {
- dictCode: 'user_status',
- placeholder: '请选择读写类型',
- stringToNumber: true,
- },
- colProps: { span: 6 },
- },
- ];
- export const formSchema: FormSchema[] = [
- {
- label: '',
- field: 'id',
- component: 'Input',
- show: false,
- },
- {
- label: '名称',
- field: 'strname',
- component: 'Input',
- },
- {
- label: '安装位置',
- field: 'strinstallpos',
- component: 'Input',
- },
- {
- label: '是否为常闭型',
- field: 'bnormalclose',
- component: 'RadioGroup',
- defaultValue: 1,
- componentProps: () => {
- return {
- options: [
- { label: '是', value: 1, key: '1' },
- { label: '否', value: 0, key: '2' },
- ],
- };
- },
- },
- {
- label: '净宽',
- field: 'fclearwidth',
- component: 'Input',
- },
- {
- label: '净高',
- field: 'fclearheight',
- component: 'Input',
- },
- {
- label: '风门道数',
- field: 'ndoorcount',
- component: 'Input',
- },
- {
- label: '所属分站',
- field: 'stationname',
- component: 'JDictSelectTag',
- componentProps: {
- dictCode: 'user_status',
- placeholder: '请选择状态',
- stringToNumber: true,
- },
- },
- {
- label: '点表',
- field: 'strtype',
- component: 'JDictSelectTag',
- componentProps: {
- dictCode: 'user_status',
- placeholder: '请选择状态',
- stringToNumber: true,
- },
- },
- {
- label: '监测类型',
- field: 'monitorflag',
- component: 'JDictSelectTag',
- componentProps: {
- dictCode: 'user_status',
- placeholder: '请选择状态',
- stringToNumber: true,
- },
- },
- {
- label: '是否模拟数据',
- field: 'testflag',
- component: 'RadioGroup',
- defaultValue: 1,
- componentProps: () => {
- return {
- options: [
- { label: '是', value: 1, key: '1' },
- { label: '否', value: 0, key: '2' },
- ],
- };
- },
- },
- ];
- export const tableColumns = [
- {
- title: '',
- dataIndex: 'isCheck',
- customCell: (_, index) => {
- if (index % 2 == 0) {
- return { rowSpan: 2 };
- } else {
- return { rowSpan: 0 };
- }
- },
- },
- {
- title: '安装位置',
- dataIndex: 'address',
- customCell: (_, index) => {
- if (index % 2 == 0) {
- return { rowSpan: 2 };
- } else {
- return { rowSpan: 0 };
- }
- },
- },
- {
- title: '运行风机',
- dataIndex: 'childName',
- },
- {
- title: '风机静压(Pa)',
- dataIndex: 'yc2',
- },
- {
- title: '风机全压(Pa)',
- dataIndex: 'dqPa',
- },
- {
- title: '电机流量(m³/s)',
- dataIndex: 'fanM3',
- },
- {
- title: '电机速度(rpm/s)',
- dataIndex: 'fanSD',
- },
- {
- title: '电机电压(V)',
- dataIndex: 'fanU',
- },
- {
- title: '电机电流(A)',
- dataIndex: 'fanA',
- },
- {
- title: '电机频率(Hz/s)',
- dataIndex: 'fanPL',
- },
- {
- title: '电机功率(KW/s)',
- dataIndex: 'fanGL',
- },
- {
- title: '振动X1(mm/s)',
- dataIndex: 'zdX1',
- },
- {
- title: '振动Y1(mm/s)',
- dataIndex: 'zdY1',
- },
- ];
- export const dataColumns = () => {
- return [
- {
- id: 'UXC',
- name: '电机轴温设定(℃)',
- id2: 'bearingFront2_F1',
- },
- { id: 'VXC', name: '电机定温设定(℃)', id2: 'bearingBack2_F1' },
- {
- id: 'WXC',
- name: '电机前轴温度(℃)',
- id2: 'stator2A_F1',
- },
- {
- id: 'QZC',
- name: '电机后轴温度(℃)',
- id2: 'stator2B_F1',
- },
- { id: 'ZCZ1C', name: '电机定子1温度(℃)', id2: 'fIA2_F1' },
- { id: 'ZCZ2C', name: '电机定子2温度(℃)', id2: 'fIB2_F1' },
- { id: 'FTZ1C', name: '电机定3温度(℃)', id2: 'fIC2_F1' },
- ];
- };
- export const stateColumns = () => {
- return [
- // {
- // id: 'lubeBoxTemperatureF1High',
- // name: '润滑站油箱油温高报警',
- // flag: false,
- // },
- {
- id: 'lubeBoxTemperatureF1Low',
- name: '润滑站1油箱油温低报警',
- flag: true,
- },
- {
- id: 'lubeTemperatureF1High',
- name: '润滑站1供油油温高报警',
- flag: true,
- },
- // {
- // id: 'lubeTemperatureF1Low',
- // name: '润滑站1供油油温低报警',
- // flag: false,
- // },
- { id: 'lubePaF1High', name: '润滑站1供油油压高报警', flag: true },
- { id: 'lubePaF1Low', name: '润滑站1供油油压低报警', flag: true },
- // { id: "ch4_F1High", name: "瓦斯值1高报警", flag: false },
- { id: 'singleDoorF1Warn', name: '侧开风门单模报警', flag: true },
- { id: 'lubeF1SlightFault', name: '稀油润滑站轻故障', flag: true },
- { id: 'lubeF1SevereFault', name: '稀油润滑站重故障', flag: true },
- { id: 'f1B1Fault', name: '变频器1故障', flag: true },
- { id: 'f1B2Fault', name: '变频器2故障', flag: true },
- { id: 'f1Fault', name: '通风机故障', flag: true },
- ];
- };
- export const faultDeviceHeader = [
- {
- title: '测点名称',
- code: 'valueName',
- width: '200px',
- },
- {
- title: '实时数据',
- code: 'value',
- width: '110px',
- },
- {
- title: '预警限值',
- code: 'warnMin_104',
- width: '110px',
- },
- {
- title: '报警限值',
- code: 'warnMin_201',
- width: '110px',
- },
- ];
- export const rightFaultDeviceColumns = [
- {
- title: '中端X',
- dataIndex: 'Fault_cd_ZX', // 测点名称
- width: 120,
- },
- {
- title: '中端X',
- dataIndex: 'Fault_ZX_val', // 中端X实时监测值
- width: 120,
- },
- ];
- export const modalTypeArr = {
- centerBtnArr: [
- {
- key: 'startSmoke',
- value: '一键启动/停止',
- permission: 'fan:startSmoke',
- },
- {
- key: 'startFan',
- value: '一键启动/停止',
- permission: 'fan:startFan',
- },
- {
- key: 'startFan',
- value: '一键启动/停止',
- permission: 'fan:startAndResetFan',
- },
- {
- key: 'resetFan',
- value: '一键复位',
- permission: 'fan:resetFan',
- },
- {
- key: 'changeSmoke',
- value: '不停风倒机',
- permission: 'fan:changeSmoke',
- },
- {
- key: 'changeDirection',
- value: '一键反风',
- permission: 'fan:changeDirection',
- },
- {
- key: 'frequency',
- value: '一键调频',
- permission: 'fan:frequency',
- },
- {
- key: 'fbm',
- value: '防爆门控制',
- permission: 'fan:fbm',
- },
- {
- key: 'kkjc',
- value: '工况辅助决策',
- permission: 'fan:kkjc',
- },
- {
- key: 'zhlk',
- value: '自主联控',
- permission: 'fan:zhlk',
- },
- ],
- };
- export const fbmControlData = <CtrlLockOpenType>reactive({
- CtrlLockOpen: false, // 远程开锁 true 为打开状态, false 为关闭状态
- CtrlExplosionVentOpen: false, // 远程开门 true 为打开状态, false 为关闭状态
- });
- // export const assistanceData = {
- // '30': {
- // angle: 0,
- // Hz: 30.0, //频率
- // a: -0.17624, //二次项系数
- // b: 34.59747, //一次项系数
- // c: 938.98517, //常数项系数
- // min: 93.0, //风量下限
- // max: 132.0, //风量上限
- // },
- // '31': {
- // angle: 0,
- // Hz: 31.0,
- // a: -0.17624,
- // b: 35.055694,
- // c: 851.596922,
- // min: 96.1,
- // max: 136.4,
- // },
- // '32': {
- // angle: 0,
- // Hz: 32.0,
- // a: -0.17624,
- // b: 35.513918,
- // c: 768.749733,
- // min: 99.2,
- // max: 140.8,
- // },
- // '33': {
- // angle: 0,
- // Hz: 33.0,
- // a: -0.17624,
- // b: 35.972142,
- // c: 690.443603,
- // min: 102.3,
- // max: 145.2,
- // },
- // '34': {
- // angle: 0,
- // Hz: 34.0,
- // a: -0.17624,
- // b: 36.430366,
- // c: 616.678531,
- // min: 105.4,
- // max: 149.6,
- // },
- // '35': {
- // angle: 0,
- // Hz: 35.0,
- // a: -0.17624,
- // b: 36.88859,
- // c: 547.454517,
- // min: 108.5,
- // max: 154.0,
- // },
- // '36': {
- // angle: 0,
- // Hz: 36.0,
- // a: -0.17624,
- // b: 37.346814,
- // c: 482.771563,
- // min: 111.6,
- // max: 158.4,
- // },
- // '37': {
- // angle: 0,
- // Hz: 37.0,
- // a: -0.17624,
- // b: 37.805038,
- // c: 422.629667,
- // min: 114.7,
- // max: 162.8,
- // },
- // '38': {
- // angle: 0,
- // Hz: 38.0,
- // a: -0.17624,
- // b: 38.263262,
- // c: 367.028829,
- // min: 117.8,
- // max: 167.2,
- // },
- // '39': {
- // angle: 0,
- // Hz: 39.0,
- // a: -0.17624,
- // b: 38.721486,
- // c: 315.96905,
- // min: 120.9,
- // max: 171.6,
- // },
- // '40': {
- // angle: 0,
- // Hz: 40.0,
- // a: -0.17624,
- // b: 39.17971,
- // c: 269.45033,
- // min: 124.0,
- // max: 176.0,
- // },
- // '41': {
- // angle: 0,
- // Hz: 41.0,
- // a: -0.17624,
- // b: 39.637934,
- // c: 227.472668,
- // min: 127.1,
- // max: 180.4,
- // },
- // '42': {
- // angle: 0,
- // Hz: 42.0,
- // a: -0.17624,
- // b: 40.096158,
- // c: 190.036065,
- // min: 130.2,
- // max: 184.8,
- // },
- // '43': {
- // angle: 0,
- // Hz: 43.0,
- // a: -0.17624,
- // b: 40.554382,
- // c: 157.140521,
- // min: 133.3,
- // max: 189.2,
- // },
- // '44': {
- // angle: 0,
- // Hz: 44.0,
- // a: -0.17624,
- // b: 41.012606,
- // c: 128.786035,
- // min: 136.4,
- // max: 193.6,
- // },
- // '45': {
- // angle: 0,
- // Hz: 45.0,
- // a: -0.17624,
- // b: 41.47083,
- // c: 104.972607,
- // min: 139.5,
- // max: 198.0,
- // },
- // '46': {
- // angle: 0,
- // Hz: 46.0,
- // a: -0.17624,
- // b: 41.929054,
- // c: 85.700239,
- // min: 142.6,
- // max: 202.4,
- // },
- // '47': {
- // angle: 0,
- // Hz: 47.0,
- // a: -0.17624,
- // b: 42.387278,
- // c: 70.968929,
- // min: 145.7,
- // max: 206.8,
- // },
- // '48': {
- // angle: 0,
- // Hz: 48.0,
- // a: -0.17624,
- // b: 42.845502,
- // c: 60.778677,
- // min: 148.8,
- // max: 211.2,
- // },
- // '49': {
- // angle: 0,
- // Hz: 49.0,
- // a: -0.17624,
- // b: 43.303726,
- // c: 55.129484,
- // min: 151.9,
- // max: 215.6,
- // },
- // '50': {
- // angle: 0,
- // Hz: 50.0,
- // a: -0.17624,
- // b: 43.76195,
- // c: 54.02135,
- // min: 155.0,
- // max: 220.0,
- // },
- // };
- export const assistanceData = {
- '30': {
- angle: 0,
- Hz: 30.0, //频率
- a: -0.17624, //二次项系数
- b: 43.40947, //一次项系数
- c: 97.60705999999982, //常数项系数
- min: 93.0, //风量下限
- max: 132.0, //风量上限
- },
- '31': {
- angle: 0,
- Hz: 31.0,
- a: -0.17624,
- b: 43.427094,
- c: 95.43614590000016,
- min: 96.1,
- max: 136.4,
- },
- '32': {
- angle: 0,
- Hz: 32.0,
- a: -0.17624,
- b: 43.444718,
- c: 93.26435059999994,
- min: 99.2,
- max: 140.8,
- },
- '33': {
- angle: 0,
- Hz: 33.0,
- a: -0.17624,
- b: 43.462342,
- c: 91.09167409999964,
- min: 102.3,
- max: 145.2,
- },
- '34': {
- angle: 0,
- Hz: 34.0,
- a: -0.17624,
- b: 43.479966000000005,
- c: 88.91811639999969,
- min: 105.4,
- max: 149.6,
- },
- '35': {
- angle: 0,
- Hz: 35.0,
- a: -0.17624,
- b: 43.49759,
- c: 86.74367749999965,
- min: 108.5,
- max: 154.0,
- },
- '36': {
- angle: 0,
- Hz: 36.0,
- a: -0.17624,
- b: 43.515214,
- c: 84.56835739999997,
- min: 111.6,
- max: 158.4,
- },
- '37': {
- angle: 0,
- Hz: 37.0,
- a: -0.17624,
- b: 43.532838,
- c: 82.3921561000002,
- min: 114.7,
- max: 162.8,
- },
- '38': {
- angle: 0,
- Hz: 38.0,
- a: -0.17624,
- b: 43.550462,
- c: 80.21507359999941,
- min: 117.8,
- max: 167.2,
- },
- '39': {
- angle: 0,
- Hz: 39.0,
- a: -0.17624,
- b: 43.568086,
- c: 78.0371098999999,
- min: 120.9,
- max: 171.6,
- },
- '40': {
- angle: 0,
- Hz: 40.0,
- a: -0.17624,
- b: 43.58571,
- c: 75.85826499999985,
- min: 124.0,
- max: 176.0,
- },
- '41': {
- angle: 0,
- Hz: 41.0,
- a: -0.17624,
- b: 43.603334,
- c: 73.67853890000015,
- min: 127.1,
- max: 180.4,
- },
- '42': {
- angle: 0,
- Hz: 42.0,
- a: -0.17624,
- b: 43.620958,
- c: 71.4979315999999,
- min: 130.2,
- max: 184.8,
- },
- '43': {
- angle: 0,
- Hz: 43.0,
- a: -0.17624,
- b: 43.638582,
- c: 69.31644309999956,
- min: 133.3,
- max: 189.2,
- },
- '44': {
- angle: 0,
- Hz: 44.0,
- a: -0.17624,
- b: 43.656206000000005,
- c: 67.13407339999958,
- min: 136.4,
- max: 193.6,
- },
- '45': {
- angle: 0,
- Hz: 45.0,
- a: -0.17624,
- b: 43.67383,
- c: 64.9508224999995,
- min: 139.5,
- max: 198.0,
- },
- '46': {
- angle: 0,
- Hz: 46.0,
- a: -0.17624,
- b: 43.691454,
- c: 62.76669039999979,
- min: 142.6,
- max: 202.4,
- },
- '47': {
- angle: 0,
- Hz: 47.0,
- a: -0.17624,
- b: 43.709078,
- c: 60.58167709999998,
- min: 145.7,
- max: 206.8,
- },
- '48': {
- angle: 0,
- Hz: 48.0,
- a: -0.17624,
- b: 43.726702,
- c: 58.39578259999962,
- min: 148.8,
- max: 211.2,
- },
- '49': {
- angle: 0,
- Hz: 49.0,
- a: -0.17624,
- b: 43.744326,
- c: 56.20900689999962,
- min: 151.9,
- max: 215.6,
- },
- '50': {
- angle: 0,
- Hz: 50.0,
- a: -0.17624,
- b: 43.76195,
- c: 54.021349999999984,
- min: 155.0,
- max: 220.0,
- },
- };
- export const setOption = (deviceType?) => {
- let yMax = 4500;
- const { sysOrgCode } = useGlobSetting();
- // const sysOrgCode = 'sdmtjthlgmk';
- if (sysOrgCode == 'sdmtjtdltmk') {
- // 这里判断白家渠还是五当沟
- if (deviceType == 'fanmain_bjq') {
- yMax = 5500;
- } else if (deviceType == 'fanmain_wdg') {
- yMax = 1200;
- }
- } else if (sysOrgCode == 'sdmtjtswmk') {
- if (deviceType == 'fanmain_bfj') {
- yMax = 5000;
- } else if (deviceType == 'fanmain_nfj') {
- yMax = 4500;
- }
- } else if (sysOrgCode == 'sdmtjtbdmk') {
- if (deviceType == 'fanmain_ljy') {
- yMax = 5000;
- } else if (deviceType == 'fanmain_zl') {
- yMax = 6000;
- }
- } else if (sysOrgCode == 'sdmtjtjjmk') {
- yMax = 6000;
- } else if (sysOrgCode == 'sdmtjtsgtmk') {
- yMax = 3000;
- } else if (sysOrgCode == 'sdmtjthlgmk') {
- yMax = 3000;
- } else if (sysOrgCode == 'sdmtjtdltmkhjtj') {
- yMax = 3000;
- } else if (sysOrgCode == 'sdmtjtcctrk') {
- yMax = 600;
- } else if (sysOrgCode == 'sdmtjtwlmlmk') {
- yMax = 4000;
- } else {
- yMax = 4500;
- }
- return reactive<EChartsOption>({
- title: {
- text: '风机运行工况辅助曲线图',
- textStyle: {
- color: '#BF954D',
- },
- left: 'center',
- top: 0,
- },
- // backgroundColor: '#39deff',
- tooltip: {
- trigger: 'axis',
- axisPointer: {
- type: 'cross',
- label: {
- backgroundColor: '#6a7985',
- },
- },
- },
- toolbox: {
- show: true,
- },
- grid: {
- left: 8,
- right: 50,
- bottom: 0,
- containLabel: true,
- },
- xAxis: {
- type: 'category',
- name: 'm³/s',
- nameTextStyle: {
- fontWeight: 600,
- fontSize: 13,
- },
- splitLine: { show: true, lineStyle: { color: 'rgba(21,80,126,.5)' } },
- axisLabel: {
- margin: 20,
- fontSize: 14,
- color: '#f1f1f199',
- },
- boundaryGap: false,
- data: [],
- },
- yAxis: {
- type: 'value',
- axisLine: {
- show: true,
- lineStyle: {
- color: '#006c9d',
- },
- },
- splitLine: { show: true, lineStyle: { color: 'rgba(21,80,126,.5)' } },
- axisLabel: {
- show: true,
- fontSize: 14,
- formatter: '{value}',
- color: '#0071A5',
- },
- min: 0,
- max: yMax, //武当沟
- name: 'Pa',
- nameTextStyle: {
- fontWeight: 600,
- fontSize: 13,
- },
- },
- series: [],
- });
- };
- export const initData1 = () => {
- const assistanceData = {
- '30': {
- angle: 0,
- Hz: 30.0, //频率
- a: -0.17624, //二次项系数
- b: 43.40947, //一次项系数
- c: 97.60705999999982, //常数项系数
- min: 93.0, //风量下限
- max: 171.0, //风量上限
- },
- '31': {
- angle: 0,
- Hz: 31.0,
- a: -0.17624,
- b: 43.427094,
- c: 95.43614590000016,
- min: 96.1,
- max: 174.4,
- },
- '32': {
- angle: 0,
- Hz: 32.0,
- a: -0.17624,
- b: 43.444718,
- c: 93.26435059999994,
- min: 99.2,
- max: 177.8,
- },
- '33': {
- angle: 0,
- Hz: 33.0,
- a: -0.17624,
- b: 43.462342,
- c: 91.09167409999964,
- min: 102.3,
- max: 180.2,
- },
- '34': {
- angle: 0,
- Hz: 34.0,
- a: -0.17624,
- b: 43.479966000000005,
- c: 88.91811639999969,
- min: 105.4,
- max: 182.0,
- },
- '35': {
- angle: 0,
- Hz: 35.0,
- a: -0.17624,
- b: 43.49759,
- c: 86.74367749999965,
- min: 108.5,
- max: 184.5,
- },
- '36': {
- angle: 0,
- Hz: 36.0,
- a: -0.17624,
- b: 43.515214,
- c: 84.56835739999997,
- min: 111.6,
- max: 187.0,
- },
- '37': {
- angle: 0,
- Hz: 37.0,
- a: -0.17624,
- b: 43.532838,
- c: 82.3921561000002,
- min: 114.7,
- max: 190.8,
- },
- '38': {
- angle: 0,
- Hz: 38.0,
- a: -0.17624,
- b: 43.550462,
- c: 80.21507359999941,
- min: 117.8,
- max: 193.0,
- },
- '39': {
- angle: 0,
- Hz: 39.0,
- a: -0.17624,
- b: 43.568086,
- c: 78.0371098999999,
- min: 120.9,
- max: 195.6,
- },
- '40': {
- angle: 0,
- Hz: 40.0,
- a: -0.17624,
- b: 43.58571,
- c: 75.85826499999985,
- min: 123.0,
- max: 197.0,
- },
- '41': {
- angle: 0,
- Hz: 41.0,
- a: -0.17624,
- b: 43.603334,
- c: 73.67853890000015,
- min: 125.1,
- max: 199.4,
- },
- '42': {
- angle: 0,
- Hz: 42.0,
- a: -0.17624,
- b: 43.620958,
- c: 71.4979315999999,
- min: 128.2,
- max: 202.8,
- },
- '43': {
- angle: 0,
- Hz: 43.0,
- a: -0.17624,
- b: 43.638582,
- c: 69.31644309999956,
- min: 130.3,
- max: 205.8,
- },
- '44': {
- angle: 0,
- Hz: 44.0,
- a: -0.17624,
- b: 43.656206000000005,
- c: 67.13407339999958,
- min: 132.4,
- max: 208.5,
- },
- '45': {
- angle: 0,
- Hz: 45.0,
- a: -0.17624,
- b: 43.67383,
- c: 64.9508224999995,
- min: 134.5,
- max: 211.8,
- },
- '46': {
- angle: 0,
- Hz: 46.0,
- a: -0.17624,
- b: 43.691454,
- c: 62.76669039999979,
- min: 136.6,
- max: 214.4,
- },
- '47': {
- angle: 0,
- Hz: 47.0,
- a: -0.17624,
- b: 43.709078,
- c: 60.58167709999998,
- min: 138.7,
- max: 217.8,
- },
- '48': {
- angle: 0,
- Hz: 48.0,
- a: -0.17624,
- b: 43.726702,
- c: 58.39578259999962,
- min: 140.8,
- max: 219.2,
- },
- '49': {
- angle: 0,
- Hz: 49.0,
- a: -0.17624,
- b: 43.744326,
- c: 56.20900689999962,
- min: 143.9,
- max: 221.6,
- },
- '50': {
- angle: 0,
- Hz: 50.0,
- a: -0.17624,
- b: 43.76195,
- c: 54.021349999999984,
- min: 146.0,
- max: 223.0,
- },
- };
- const num = 21;
- const a = -0.17624; //-0.17624,
- const m = 2770.6411125432646,
- n = -124.15442010894235;
- let i = 21;
- const data = [];
- for (const key in assistanceData) {
- i -= 1;
- const p = i;
- const item = assistanceData[key];
- item['b'] = 2 * a * (n + p);
- item['c'] = a * (n + p) * (n + p) + m - i * 50;
- // if (sysOrgCode == 'sdmtjtdltmk') {
- // // 大柳塔井整体向右下移动
- // item['min'] = item['min'] + 20;
- // item['max'] = item['max'] + 20;
- // item['b'] = 2 * a * (n + p) + 3;
- // item['c'] = a * (n + p) * (n + p) + m - i * 60;
- // } else {
- // item['b'] = 2 * a * (n + p);
- // item['c'] = a * (n + p) * (n + p) + m - i * 50;
- // // //白家渠
- // // a = -0.13424;
- // // item['a'] = Math.round((a + 0.002 * (num - i)) * 10000) / 10000;
- // // item['min'] = item['min'] + 50 + (num - i) * 2;
- // // item['max'] = item['max'] + 65 + (num - i) * 3.5;
- // // item['b'] = 2 * item['a'] * (n + p) + 8.8;
- // // item['c'] = item['a'] * (n + p) * (n + p) + m - i * 60;
- // // //武当沟
- // // a = -0.17724;
- // // item['a'] = Math.round((a - 0.002 * (num - i)) * 10000) / 10000;
- // // item['min'] = item['min'] - 40 - (num - i) * 1;
- // // item['max'] = item['max'] - 60 - (num - i) * 0.5;
- // // item['b'] = 2 * item['a'] * (n + p) - 16.5;
- // // item['c'] = item['a'] * (n + p) * (n + p) + m - i * 40;
- // }
- data.push(item);
- }
- console.log(data);
- return data;
- };
- // 大柳塔武当沟
- export const initData = (deviceType?) => {
- const { sysOrgCode } = useGlobSetting();
- // const sysOrgCode = 'sdmtjtwlmlmk';
- if (sysOrgCode == 'sdmtjtdltmk') {
- return initDataDlt(deviceType);
- } else if (sysOrgCode == 'sdmtjtswmk') {
- return initDataSw(deviceType);
- } else if (sysOrgCode == 'sdmtjtbltmk') {
- return initDataBlt();
- } else if (sysOrgCode == 'sdmtjtbdmk') {
- return initDataBd(deviceType);
- } else if (sysOrgCode == 'sdmtjtjjmk') {
- return initDataJj();
- } else if (sysOrgCode == 'sdmtjtdltmkhjtj') {
- return initDataHjt();
- } else if (sysOrgCode == 'sdmtjtsgtmk') {
- return initDataSgt();
- } else if (sysOrgCode == 'sdmtjthlgmk') {
- return initDataSgt();
- } else if (sysOrgCode == 'sdmtjtyjlmk') {
- return initDataJj();
- } else if (sysOrgCode == 'sdmtjtcctrk') {
- return initDataCctr();
- } else if (sysOrgCode == 'sdmtjtwlmlmk') {
- return initDataWlml();
- } else {
- return initData1();
- }
- };
- // 乌兰木伦
- const initDataWlml = () => {
- const data: any[] = [];
- data.push({
- angle: -3,
- Hz: -3,
- a: -15.607,
- b: 6242.3,
- c: -621571,
- min: 204,
- max: 212,
- });
- data.push({
- angle: -2,
- Hz: -2,
- a: -8.3134,
- b: 3178.9,
- c: -300224,
- min: 204,
- max: 211,
- });
- data.push({
- angle: 0,
- Hz: 0,
- a: -8.9632,
- b: 3751.3,
- c: -389068,
- min: 216,
- max: 227.2,
- });
- data.push({
- angle: 1,
- Hz: 1,
- a: -12.77,
- b: 5415.9,
- c: -571193,
- min: 216,
- max: 226.8,
- });
- data.push({
- angle: 2,
- Hz: 2,
- a: -12.432,
- b: 5635.5,
- c: -635361,
- min: 234.5,
- max: 242.4,
- });
- data.push({
- angle: 3,
- Hz: 3,
- a: -2.9424,
- b: 1147.7,
- c: -104620,
- min: 234.5,
- max: 243.5,
- });
- return data;
- };
- // 石圪台
- const initDataCctr = () => {
- const data: any[] = [];
- data.push({
- angle: 0,
- Hz: 0,
- a: -0.0221,
- b: -1.2494,
- c: 552.28,
- min: 52,
- max: 125,
- });
- data.push({
- angle: 3,
- Hz: 3,
- a: -0.0232,
- b: -0.8204,
- c: 603.39,
- min: 50,
- max: 139,
- });
- data.push({
- angle: 6,
- Hz: 6,
- a: -0.0417,
- b: 3.1004,
- c: 498.9,
- min: 45,
- max: 150,
- });
- return data;
- };
- // 石圪台
- const initDataSgt = () => {
- const data: any[] = [];
- data.push({
- angle: -6,
- Hz: -6,
- a: -0.0438,
- b: 14.5078,
- c: 986.6,
- min: 130,
- max: 370,
- });
- data.push({
- angle: -3,
- Hz: -3,
- a: -0.035,
- b: 11.7875,
- c: 1226.8,
- min: 140,
- max: 400,
- });
- data.push({
- angle: 0,
- Hz: 0,
- a: -0.0354,
- b: 13.6986,
- c: 1078.6,
- min: 150,
- max: 430,
- });
- data.push({
- angle: 3,
- Hz: 3,
- a: -0.0444,
- b: 19.5673,
- c: 504,
- min: 170,
- max: 445,
- });
- data.push({
- angle: 6,
- Hz: 6,
- a: -0.0507,
- b: 24.3336,
- c: -70,
- min: 190,
- max: 460,
- });
- return data;
- };
- // 大柳塔白家渠
- const initDataDlt = (deviceType?) => {
- if (deviceType == 'fanmain_bjq') {
- const num = 2;
- const obj = {
- angle: 0,
- Hz: -0,
- a: -0.0656,
- b: 17.398283350755946,
- c: 3241.38254718147,
- min: 300,
- max: 1100.0,
- };
- const a = -0.0656,
- m = 17.398283350755946,
- n = 3241.38254718147;
- const maxList = [339.4, 359.4, 379.4, 399.4, 419.4];
- const minList = [143, 152, 161, 170, 180];
- const data = [];
- for (let i = -2; i <= num; i++) {
- const item = cloneDeep(obj);
- item['Hz'] = 0 + i * 3;
- item['c'] = n + 5 * i;
- item['b'] = m + i * 2;
- item['max'] = maxList[i + 2];
- item['min'] = minList[i + 2];
- data.push(item);
- }
- return data;
- } else if (deviceType == 'fanmain_wdg') {
- // 武当沟
- const num = 2;
- const obj = {
- angle: 0,
- Hz: -0,
- a: -0.1424,
- b: 26.316238660115914,
- c: -370.62808803303426,
- min: 300,
- max: 1100.0,
- };
- const a = -0.1424,
- m = 26.086238660115914,
- n = -370.62808803303426;
- const maxList = [138, 148, 158, 168, 178];
- const minList = [90, 95, 100, 105, 110];
- const data = [];
- for (let i = -2; i <= num; i++) {
- const item = cloneDeep(obj);
- item['Hz'] = 0 + i * 3;
- item['c'] = n + 1 * i;
- item['b'] = m + i * 1.3;
- item['max'] = maxList[i + 2];
- item['min'] = minList[i + 2];
- data.push(item);
- }
- return data;
- }
- };
- const initDataSw = (deviceType?) => {
- if (deviceType == 'fanmain_bfj') {
- // 北风井
- const num = 2;
- const obj = {
- angle: 0,
- Hz: 0,
- a: -0.2486,
- b: 14.998999006593294,
- c: 3672.488224167444,
- min: 300,
- max: 1100.0,
- };
- const a = -0.2486,
- m = 14.998999006593294,
- n = 3672.488224167444;
- const maxList = [115.67, 130.67, 146.67, 165.67, 185.67];
- const minList = [50, 60, 70, 85, 100];
- const data = [];
- for (let i = -2; i <= num; i++) {
- const item = cloneDeep(obj);
- item['Hz'] = 0 + i * 3;
- item['c'] = n + 5 * i;
- item['b'] = m + i * 8;
- item['max'] = maxList[i + 2];
- item['min'] = minList[i + 2];
- data.push(item);
- }
- return data;
- } else if (deviceType == 'fanmain_nfj') {
- // 南风井
- const num = 2;
- const obj = {
- angle: 0,
- Hz: -0,
- a: -0.0445,
- b: 15.46559392987956,
- c: 2607.959183673496,
- min: 300,
- max: 1100.0,
- };
- const a = -0.0455,
- m = 15.46559392987956,
- n = 2607.959183673496;
- const maxList = [315, 345, 375, 410, 450, 500];
- const minList = [90, 105, 120, 145, 170, 185];
- const data = [];
- for (let i = -3; i <= num; i++) {
- const item = cloneDeep(obj);
- item['Hz'] = 0 + i * 3;
- item['a'] = Math.round((a - 0.003 * (num - i)) * 10000) / 10000;
- item['c'] = n + 10 * i;
- item['b'] = m + i * 1.2;
- item['max'] = maxList[i + 3];
- item['min'] = minList[i + 3];
- data.push(item);
- }
- return data;
- }
- };
- const initDataHjt = () => {
- const data: any[] = [];
- data.push({
- angle: -10,
- Hz: -10,
- a: -0.0357,
- b: 13.657,
- c: 515.38,
- min: 170,
- max: 400,
- });
- data.push({
- angle: -7,
- Hz: -7,
- a: -0.0371,
- b: 15.478,
- c: 452.43,
- min: 170,
- max: 400,
- });
- data.push({
- angle: -5,
- Hz: -5,
- a: -0.0357,
- b: 13.657,
- c: 515.38,
- min: 170,
- max: 400,
- });
- data.push({
- angle: -4,
- Hz: -4,
- a: -0.0361,
- b: 16.706,
- c: 228.85,
- min: 170,
- max: 400,
- });
- data.push({
- angle: -2,
- Hz: -2,
- a: -0.0357,
- b: 15.478,
- c: 452.43,
- min: 170,
- max: 400,
- });
- data.push({
- angle: 1,
- Hz: 1,
- a: -0.0361,
- b: 16.706,
- c: 228.85,
- min: 170,
- max: 400,
- });
- return data;
- };
- const initDataBd = (deviceType?) => {
- if (deviceType == 'fanmain_ljy') {
- // 刘家宴
- const num = 2;
- const obj = {
- angle: 0,
- Hz: 0,
- a: -0.02674,
- b: 10.070078367532346,
- c: 3048.210229423783,
- min: 300,
- max: 1100.0,
- };
- const a = -0.02774,
- m = 10.090078367532346,
- n = 3988.210229423783;
- const maxList = [370, 410, 450, 500, 560, 624];
- const minList = [70, 80, 100, 130, 160, 210];
- const data = [];
- let index = 0;
- for (let i = -3; i <= num; i++) {
- ++index;
- const item = cloneDeep(obj);
- item['a'] = Math.round((a - 0.002 * (6 - index)) * 10000) / 10000;
- item['Hz'] = 0 + i * 3;
- item['c'] = n + 10 * i;
- item['b'] = m + i * 1.3;
- item['max'] = maxList[i + 3];
- item['min'] = minList[i + 3];
- data.push(item);
- }
- return data;
- } else if (deviceType == 'fanmain_zl') {
- // 枣庄
- const num = 2;
- const obj = {
- angle: 0,
- Hz: 0,
- a: -0.02674,
- b: 10.070078367532346,
- c: 3048.210229423783,
- min: 300,
- max: 1100.0,
- };
- const a = -0.05874,
- m = 17.090078367532346,
- n = 3588.210229423783;
- const maxList = [315, 344, 379, 415, 454];
- const minList = [160, 170, 180, 190, 200, 210];
- const data = [];
- let index = 0;
- for (let i = -2; i <= num; i++) {
- ++index;
- const item = cloneDeep(obj);
- item['a'] = Math.round((a - 0.003 * (6 - index)) * 10000) / 10000;
- item['Hz'] = 0 + i * 3;
- item['c'] = n + 6 * i;
- item['b'] = m + i * 1.9;
- item['max'] = maxList[i + 2];
- item['min'] = minList[i + 2];
- data.push(item);
- }
- return data;
- }
- };
- const initDataBlt = () => {
- const num = 2;
- const obj = {
- angle: 0,
- Hz: 0,
- a: -0.02674,
- b: 10.070078367532346,
- c: 3048.210229423783,
- min: 300,
- max: 1100.0,
- };
- const a = -0.02874,
- m = 10.070078367532346,
- n = 3048.210229423783;
- const maxList = [370, 400, 440, 480, 525, 580];
- const minList = [70, 80, 100, 130, 160, 210];
- const data = [];
- let index = 0;
- for (let i = -3; i <= num; i++) {
- ++index;
- const item = cloneDeep(obj);
- item['a'] = Math.round((a - 0.002 * (6 - index)) * 10000) / 10000;
- item['Hz'] = 0 + i * 3;
- item['c'] = n + 10 * i;
- item['b'] = m + i * 1;
- item['max'] = maxList[i + 3];
- item['min'] = minList[i + 3];
- data.push(item);
- }
- return data;
- };
- const initDataJj = () => {
- const num = 2;
- const obj = {
- angle: 0,
- Hz: 0,
- a: -0.02674,
- b: 10.070078367532346,
- c: 3048.210229423783,
- min: 300,
- max: 1100.0,
- };
- const a = -0.09874,
- m = 21.090078367532346,
- n = 3588.210229423783;
- const maxList = [239, 264, 292, 322, 354];
- const minList = [60, 70, 80, 90, 100, 110];
- const data = [];
- let index = 0;
- for (let i = -2; i <= num; i++) {
- ++index;
- const item = cloneDeep(obj);
- item['a'] = Math.round((a - 0.003 * (6 - index)) * 10000) / 10000;
- item['Hz'] = 0 + i * 3;
- item['c'] = n + 10 * i;
- item['b'] = m + i * 3;
- item['max'] = maxList[i + 2];
- item['min'] = minList[i + 2];
- data.push(item);
- }
- return data;
- };
- export const fanInfoData = reactive({
- fj: '一号回风井',
- xh: 'FBCDZ No.29',
- gl: '2×500',
- edgl: '740',
- eddy: '10000',
- eddl: '38.4',
- flfw: '110~260',
- fyfw: '200~4100',
- fbdj: 'ExdI',
- ccrq: '2010.07',
- sccj: '南阳防爆',
- tjfs: '变频调节',
- plfw: '30~50',
- });
- export const fanInfo = [
- {
- title: '风井',
- code: 'windWell_mainFanInfo',
- value: '一号回风井',
- },
- {
- title: '型号',
- code: 'modelType_mainFanInfo',
- value: 'FBCDZ No.29',
- },
- {
- title: '功率(kW)',
- code: 'powerRating_mainFanInfo',
- value: '2×500',
- },
- {
- title: '额定转速(r/min)',
- code: 'ratedSpeed_mainFanInfo',
- value: '740',
- },
- {
- title: '额定电压(V)',
- code: 'ratedVoltage_mainFanInfo',
- value: '10000',
- },
- {
- title: '额定电流(A)',
- code: 'ratedCurrent_mainFanInfo',
- value: '38.4',
- },
- {
- title: '风量范围(m³/s)',
- code: 'airflowRange_mainFanInfo',
- value: '110~260',
- },
- {
- title: '风压范围(Pa)',
- code: 'pressureRange_mainFanInfo',
- value: '200~4100',
- },
- {
- title: '防爆等级',
- code: 'explosionProofRating_mainFanInfo',
- value: 'ExdI',
- },
- {
- title: '出厂日期',
- code: 'manufactureDate_mainFanInfo',
- value: '2010.07',
- },
- {
- title: '生产厂家',
- code: 'manufacturer_mainFanInfo',
- value: '南阳防爆',
- },
- {
- title: '调节方式',
- code: 'adjustmentMethod_mainFanInfo',
- value: '变频调节',
- },
- {
- title: '频率可调范围(Hz)',
- code: 'angleAdjustableRange_mainFanInfo',
- value: '30~50',
- },
- ];
- export const getSchamas = (): FormSchema[] => {
- return [
- {
- field: 'fj',
- component: 'Input',
- label: '风井',
- colProps: {
- span: 6,
- },
- },
- {
- field: 'xh',
- component: 'Input',
- label: '型号',
- colProps: {
- span: 6,
- },
- },
- {
- field: 'gl',
- component: 'Input',
- label: '功率(kW)',
- colProps: {
- span: 6,
- },
- },
- {
- field: 'edgl',
- component: 'Input',
- label: '额定转速(r/min)',
- colProps: {
- span: 6,
- },
- },
- {
- field: 'eddy',
- component: 'Input',
- label: '额定电压(V)',
- colProps: {
- span: 6,
- },
- },
- {
- field: 'eddl',
- component: 'Input',
- label: '额定电流(A)',
- colProps: {
- span: 6,
- },
- },
- {
- field: 'flfw',
- component: 'Input',
- label: '风量范围(m³/s)',
- colProps: {
- span: 6,
- },
- },
- {
- field: 'fyfw',
- component: 'Input',
- label: '风压范围(Pa)',
- colProps: {
- span: 6,
- },
- },
- {
- field: 'fbdj',
- component: 'Select',
- label: '防爆等级',
- colProps: {
- span: 6,
- },
- componentProps: {
- options: [
- {
- label: 'ExdI',
- value: 'ExdI',
- key: '1',
- },
- ],
- },
- },
- {
- field: 'ccrq',
- component: 'Input',
- label: '出厂日期',
- colProps: {
- span: 6,
- },
- },
- {
- field: 'sccj',
- component: 'Input',
- label: '生产厂家',
- colProps: {
- span: 6,
- },
- },
- {
- field: 'tjfs',
- component: 'Select',
- label: '调节方式',
- colProps: {
- span: 6,
- },
- componentProps: {
- options: [
- {
- label: '变频调节',
- value: '变频调节',
- key: '1',
- },
- ],
- },
- },
- {
- field: 'plfw',
- component: 'Input',
- label: '频率可调范围(Hz)',
- colProps: {
- span: 6,
- },
- },
- ];
- };
- export const getSchamas1 = (): FormSchema[] => {
- return [
- {
- field: 'Hz',
- component: 'InputNumber',
- label: '频率(Hz)',
- required: true,
- colProps: {
- span: 6,
- },
- },
- {
- field: 'a',
- component: 'InputNumber',
- label: '二次项系数',
- required: true,
- colProps: {
- span: 6,
- },
- },
- {
- field: 'b',
- component: 'InputNumber',
- label: '一次项系数',
- required: true,
- colProps: {
- span: 6,
- },
- },
- {
- field: 'c',
- component: 'InputNumber',
- label: '常数项系数',
- required: true,
- colProps: {
- span: 6,
- },
- },
- {
- field: 'min',
- component: 'InputNumber',
- label: '风量下限(m³/s)',
- required: true,
- colProps: {
- span: 6,
- },
- },
- {
- field: 'max',
- component: 'InputNumber',
- label: '风量上限(m³/s)',
- required: true,
- colProps: {
- span: 6,
- },
- },
- ];
- };
- export const lineFormData = reactive({
- Hz: null,
- a: null,
- b: null,
- c: null,
- min: null,
- max: null,
- });
|