import type { BasicColumn } from '@/components/Table/src/types/table' export const targetTableSchema: BasicColumn[] = [ { title: '描述', width: 150, dataIndex: 'description', edit: true, }, { title: '点号', width: 150, dataIndex: 'targetPoint', }, { title: '单位', width: 150, dataIndex: 'unit', edit: true, }, { title: '上限 ', width: 150, dataIndex: 'upperlimit', edit: true, }, { title: '下限', width: 150, dataIndex: 'lowerlimit', edit: true, }, { title: '时实值', width: 150, dataIndex: 'realTimeValue', }, ] export const boundaryTableSchema: BasicColumn[] = [ { title: '描述', width: 150, dataIndex: 'description', edit: true, }, { title: '点号', width: 150, dataIndex: 'targetPoint', }, { title: '单位', width: 150, dataIndex: 'unit', edit: true, }, { title: '上限 ', width: 150, dataIndex: 'upperlimit', edit: true, }, { title: '下限', width: 150, dataIndex: 'lowerlimit', edit: true, }, { title: '网格数', width: 150, dataIndex: 'gridNumber', edit: true, }, ] export const pointTableSchema: BasicColumn[] = [ { title: '描述', width: 150, dataIndex: 'description', }, { title: '点号', width: 150, dataIndex: 'pointId', }, { title: '单位', width: 150, dataIndex: 'unit', }, { title: '上限 ', width: 150, dataIndex: 'Upper', edit: true, }, { title: '下限', width: 150, dataIndex: 'Lower', edit: true, }, { title: '残差上限', width: 150, dataIndex: 'upperBound', edit: true, }, { title: '残差下限', width: 150, dataIndex: 'lowerBound', edit: true, }, { title: '训练样本最大值', width: 150, dataIndex: 'TMax', }, { title: '训练样本最小值', width: 150, dataIndex: 'TMin', }, { title: '训练样本平均值', width: 150, dataIndex: 'TAvg', }, { title: '训练最大偏差', width: 150, dataIndex: 'DMax', }, { title: '训练最小偏差', width: 150, dataIndex: 'DMin', }, { title: '训练平均偏差', width: 150, dataIndex: 'DAvg', }, { title: '死区清洗', width: 120, dataIndex: 'dead', }, { title: '限值清洗', width: 120, dataIndex: 'limit', }, { title: '编辑', width: 100, dataIndex: 'action', slots: { customRender: 'action' }, }, ] export const sampleInfoTableSchema: BasicColumn[] = [ { title: '开始时间', width: 180, dataIndex: 'st', }, { title: '结束时间', width: 180, dataIndex: 'et', }, { title: '时长(秒)', width: 120, dataIndex: 'duration', }, { title: '采样数量', width: 120, dataIndex: 'number', }, { title: '清洗样本数', width: 120, dataIndex: 'filter', }, { title: '有效样本数', width: 120, dataIndex: 'mode', }, { title: '操作', width: 100, dataIndex: 'action', slots: { customRender: 'action' }, fixed: 'right', }, ]