齐鲁医院物联网系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
11 KiB

2 years ago
"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _createClass(e,t,r){return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),e}function _possibleConstructorReturn(e,t){return!t||"object"!==_typeof(t)&&"function"!=typeof t?_assertThisInitialized(e):t}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=e.ice||{};e.IceStorm=e.IceStorm||{},t.IceStorm=e.IceStorm;var r=Ice.Slice;!function(e,t,r){Ice._ModuleRegistry;var n=Ice.Slice;IceMX.TopicMetrics=function(e){function t(e,r,n,i,o){var c,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:new Ice.Long(0,0),u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:new Ice.Long(0,0);return _classCallCheck(this,t),(c=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,r,n,i,o))).published=s,c.forwarded=u,c}return _inherits(t,IceMX.Metrics),_createClass(t,[{key:"_iceWriteMemberImpl",value:function(e){e.writeLong(this.published),e.writeLong(this.forwarded)}},{key:"_iceReadMemberImpl",value:function(e){this.published=e.readLong(),this.forwarded=e.readLong()}}]),t}(),n.defineValue(IceMX.TopicMetrics,"::IceMX::TopicMetrics",!1),IceMX.SubscriberMetrics=function(e){function t(e,r,n,i,o){var c,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:new Ice.Long(0,0);return _classCallCheck(this,t),(c=_possibleConstructorReturn(this,_getPrototypeOf(t).call(this,e,r,n,i,o))).queued=s,c.outstanding=u,c.delivered=l,c}return _inherits(t,IceMX.Metrics),_createClass(t,[{key:"_iceWriteMemberImpl",value:function(e){e.writeInt(this.queued),e.writeInt(this.outstanding),e.writeLong(this.delivered)}},{key:"_iceReadMemberImpl",value:function(e){this.queued=e.readInt(),this.outstanding=e.readInt(),this.delivered=e.readLong()}}]),t}(),n.defineValue(IceMX.SubscriberMetrics,"::IceMX::SubscriberMetrics",!1)}("undefined"!=typeof global&&void 0!==global.process&&module,"undefined"!=typeof global&&void 0!==global.process?require:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self.Ice._require:window.Ice._require,"undefined"!=typeof global&&void 0!==global.process?exports:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:window),function(){IceStorm.LinkInfo=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;_classCallCheck(this,e),this.theTopic=t,this.name=r,this.cost=n}return _createClass(e,[{key:"_write",value:function(e){IceStorm.TopicPrx.write(e,this.theTopic),e.writeString(this.name),e.writeInt(this.cost)}},{key:"_read",value:function(e){this.theTopic=IceStorm.TopicPrx.read(e,this.theTopic),this.name=e.readString(),this.cost=e.readI