"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;
var _react = _interopRequireDefault(require("react"));
var _Monitor = _interopRequireDefault(require("./Monitor"));
var _api = require("../../api");
require("./index.less");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
/**
 * 计量-工况信息
 */

var WorkCondition = function WorkCondition(props) {
  var id = props.id;
  var _BaseService$useBaseI = _api.BaseService.useBaseInfo(id),
    code = _BaseService$useBaseI.code;
  return /*#__PURE__*/_react["default"].createElement("div", {
    className: "df-condition"
  }, /*#__PURE__*/_react["default"].createElement(_Monitor["default"], {
    code: code
  }));
};
var _default = exports["default"] = WorkCondition;
//# sourceMappingURL=index.js.map
