"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = RealtimeMonitor;
var _react = _interopRequireDefault(require("react"));
var _vmTable = _interopRequireDefault(require("../../../vm-table"));
var _alarm = _interopRequireDefault(require("../../imgs/alarm.png"));
var _normal = _interopRequireDefault(require("../../imgs/normal.png"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
/**
 * 指标实时监测
 */

function RealtimeMonitor() {
  var columns = [{
    title: '监测项目',
    dataIndex: 'type',
    key: 'type',
    width: 100,
    ellipsis: true
  }, {
    title: '检测值',
    dataIndex: 'time',
    key: 'time',
    width: 120,
    ellipsis: true
  }, {
    title: '欧标',
    dataIndex: 'alarmContent',
    key: 'alarmContent'
  }, {
    title: '国标',
    dataIndex: 'alarmt',
    key: 'alarmt'
  }];
  var tableProps = {
    height: 160,
    paganitation: false,
    dataSource: [{
      type: '粉尘',
      time: '13.67mg/Nm³'
    }, {
      type: '粉尘',
      time: '13.67mg/Nm³'
    }, {
      type: '粉尘',
      time: '13.67mg/Nm³'
    }, {
      type: '粉尘',
      time: '13.67mg/Nm³'
    }, {
      type: '粉尘',
      time: '13.67mg/Nm³'
    }, {
      type: '粉尘',
      time: '13.67mg/Nm³'
    }]
  };
  return /*#__PURE__*/_react["default"].createElement("div", {
    className: "df-monitor"
  }, /*#__PURE__*/_react["default"].createElement("div", {
    className: "df-monitor-head"
  }, /*#__PURE__*/_react["default"].createElement("div", {
    className: "df-monitor-head-item"
  }, /*#__PURE__*/_react["default"].createElement("img", {
    src: _normal["default"]
  }), /*#__PURE__*/_react["default"].createElement("div", {
    className: "df-monitor-head-item-right"
  }, /*#__PURE__*/_react["default"].createElement("div", {
    className: "df-monitor-head-item-right-name"
  }, "\u4E00\u53F7\u7089"), /*#__PURE__*/_react["default"].createElement("div", {
    className: "df-monitor-head-item-right-valueNormal"
  }, /*#__PURE__*/_react["default"].createElement("span", null, "980"), "\u2103"))), /*#__PURE__*/_react["default"].createElement("div", {
    className: "df-monitor-head-item"
  }, /*#__PURE__*/_react["default"].createElement("img", {
    src: _alarm["default"]
  }), /*#__PURE__*/_react["default"].createElement("div", {
    className: "df-monitor-head-item-right"
  }, /*#__PURE__*/_react["default"].createElement("div", {
    className: "df-monitor-head-item-right-name"
  }, "\u4E00\u53F7\u7089"), /*#__PURE__*/_react["default"].createElement("div", {
    className: "df-monitor-head-item-right-valueAlarm"
  }, /*#__PURE__*/_react["default"].createElement("span", null, "980"), "\u2103"))), /*#__PURE__*/_react["default"].createElement("div", {
    className: "df-monitor-head-item"
  }, /*#__PURE__*/_react["default"].createElement("img", {
    src: _normal["default"]
  }), /*#__PURE__*/_react["default"].createElement("div", {
    className: "df-monitor-head-item-right"
  }, /*#__PURE__*/_react["default"].createElement("div", {
    className: "df-monitor-head-item-right-name"
  }, "\u4E00\u53F7\u7089"), /*#__PURE__*/_react["default"].createElement("div", {
    className: "df-monitor-head-item-right-valueNormal"
  }, /*#__PURE__*/_react["default"].createElement("span", null, "980"), "\u2103"))), /*#__PURE__*/_react["default"].createElement("div", {
    className: "df-monitor-head-item"
  }, /*#__PURE__*/_react["default"].createElement("img", {
    src: _normal["default"]
  }), /*#__PURE__*/_react["default"].createElement("div", {
    className: "df-monitor-head-item-right"
  }, /*#__PURE__*/_react["default"].createElement("div", {
    className: "df-monitor-head-item-right-name"
  }, "\u4E00\u53F7\u7089"), /*#__PURE__*/_react["default"].createElement("div", {
    className: "df-monitor-head-item-right-valueNormal"
  }, /*#__PURE__*/_react["default"].createElement("span", null, "980"), "\u2103")))), /*#__PURE__*/_react["default"].createElement("div", {
    className: "df-monitor-table"
  }, /*#__PURE__*/_react["default"].createElement(_vmTable["default"], Object.assign({
    columns: columns,
    isIndex: false,
    rowKey: "index"
  }, tableProps))));
}
//# sourceMappingURL=RealtimeMonitor.js.map
