import type { IComminList } from '../../common.type';
import type { IUser } from '../../user/types/index.type';

export interface IMedMonitor {
	clzl: number | null;
	code: string;
	confirmTime: string | null;
	confirmUser: string | null;
	confirmUserInfo: IUser | null;
	createTime: string | null;
	createUser: number | null;
	dataBloodPressureH: string;
	dataBloodPressureL: string;
	dataBloodPressureType: number;
	dataBreathing: string;
	dataCll: string;
	dataClliang: string;
	dataDdd: string;
	dataDeal: string;
	dataDmy: string;
	dataFlag: number;
	dataHuixue: string;
	dataJmy: string;
	dataKmy: string;
	dataNnd: string;
	dataNs: string;
	dataPulse: string;
	dataResult: string;
	dataTime: string;
	dataTxywd: string;
	dataXll: string;
	dataXrl: string;
	dataYinxue: string;
	dataZhl: string;
	dataZhliang: string;
	dataZz: string;
	deletedTime: null | string;
	fromIOT: boolean;
	id: number | null;
	isConfirm: number;
	isDeleted: number;
	isLastRecord: boolean;
	lastTImeClliang: string;
	lastTimeDataCode: string;
	lastTimeDataTime: null | string;
	lastTimeZhliang: string;
	monitorNurse: string;
	monitorNurseInfo: IUser | null;
	recordCode: string;
	remark: string;
	screenImageUrl: string;
	txPeriod: number;
	updateTime: string | null;
	updateUser: number | number;
	zhTotal: null | number;
	dataTemperture:null | number;
	dataBloodTemperature: number | null; // 血温
	dataRbv: number | null; // 血容量
	dataKtV: number | null; // 在线ktv
}

export interface IMedMonitorList extends Omit<IComminList, 'list'> {
	list: IMedMonitor[];
}

export interface IIotHistories {
	超滤量: string;
	置换量: string;
	时间: string;
	血流量: string;
	静脉压: string;
	跨膜压: string;
	脱水率: string;
	透析液流速: string;
	透析液温度: string;
	置换率: string;
	动脉压: string;
	电导度: string;
}
