"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;

var _react = _interopRequireDefault(require("react"));

var _propTypes = _interopRequireDefault(require("prop-types"));

var _antd = require("antd");

var _components = require("@vtx/components");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var BaseContent = function BaseContent(_ref) {
  var info = _ref.info;
  return /*#__PURE__*/_react["default"].createElement(_antd.Form, {
    layout: "inline"
  }, /*#__PURE__*/_react["default"].createElement(_components.VtxFormLayout, {
    mode: "view",
    cols: 1
  }, /*#__PURE__*/_react["default"].createElement(_components.VtxFormLayout.FormItem, {
    label: "\u8BBE\u5907\u7C7B\u578B"
  }, info.equipmentTypeValue || '--'), /*#__PURE__*/_react["default"].createElement(_components.VtxFormLayout.FormItem, {
    label: "\u6D53\u5EA6\u503C"
  }, info.gasConcentration || '--'), /*#__PURE__*/_react["default"].createElement(_components.VtxFormLayout.FormItem, {
    label: "\u9608\u503C"
  }, info.threshold || '--'), /*#__PURE__*/_react["default"].createElement(_components.VtxFormLayout.FormItem, {
    label: "\u4F4D\u7F6E"
  }, info.threshold ? '进口' : '出口'), /*#__PURE__*/_react["default"].createElement(_components.VtxFormLayout.FormItem, {
    label: "\u7532\u70F7\u6D53\u5EA6"
  }, info.methaneConcentration || '--'), /*#__PURE__*/_react["default"].createElement(_components.VtxFormLayout.FormItem, {
    label: "\u6E29\u5EA6"
  }, info.temperature || '--'), /*#__PURE__*/_react["default"].createElement(_components.VtxFormLayout.FormItem, {
    label: "\u538B\u529B"
  }, info.pressure || '--'), /*#__PURE__*/_react["default"].createElement(_components.VtxFormLayout.FormItem, {
    label: "\u62A5\u8B66\u7ED3\u675F\u65F6\u95F4"
  }, info.alarmEndTime || '--'), /*#__PURE__*/_react["default"].createElement(_components.VtxFormLayout.FormItem, {
    label: "\u884C\u653F\u533A\u5212"
  }, info.divisionName || '--'), /*#__PURE__*/_react["default"].createElement(_components.VtxFormLayout.FormItem, {
    label: "\u7BA1\u7406\u5355\u4F4D"
  }, info.manageUnitName || '--'), /*#__PURE__*/_react["default"].createElement(_components.VtxFormLayout.FormItem, {
    label: "\u63CF\u8FF0"
  }, info.homeStepStatusStr || '--')));
};

BaseContent.propTypes = {
  info: _propTypes["default"].object
};
var _default = BaseContent;
exports["default"] = _default;
//# sourceMappingURL=base.js.map
