Добавлен вывод MSE на странице мониторинга

This commit is contained in:
goodmice 2022-04-15 17:17:51 +05:00
parent 7c3d46893a
commit 7f9a9c92d9

View File

@ -11,6 +11,7 @@ const params = [
{ label: 'Расход, м³/ч', accessorName: 'flow', isArrowVisible: true }, { label: 'Расход, м³/ч', accessorName: 'flow', isArrowVisible: true },
{ label: 'Расход х.х., м³/ч', accessorName: 'flowIdle', isArrowVisible: true }, { label: 'Расход х.х., м³/ч', accessorName: 'flowIdle', isArrowVisible: true },
{ label: 'Время', accessorName: 'date', format: 'HH:mm:ss' }, { label: 'Время', accessorName: 'date', format: 'HH:mm:ss' },
{ label: 'MSE, %', accessorName: 'mse', format: 2 },
] ]
export const CustomColumn = memo(({ data }) => { export const CustomColumn = memo(({ data }) => {
@ -26,8 +27,8 @@ export const CustomColumn = memo(({ data }) => {
label={param.label} label={param.label}
value={param.value} value={param.value}
suffix={param.units} suffix={param.units}
format = {param.format} format={param.format}
isArrowVisible = {param.isArrowVisible} isArrowVisible={param.isArrowVisible}
/> />
))} ))}
<RigMnemo <RigMnemo