yanchengPowerSupply/node_modules/mxdraw/dist/lib/MxModule/MrxDbgUiPrPoint/index.js

1 line
1.4 KiB
JavaScript

import McEdGetPointWorldDrawObject from"../McEdGetPointWorldDrawObject";import store from"../store";let _MrxDbgUiPrPoint;export default class MrxDbgUiPrPoint{constructor(){var r;_MrxDbgUiPrPoint=new(null===(r=store.state.MxFun)||void 0===r?void 0:r.getMxJigCmdManager().getMrxDbgUiPrPointClass())}keyWords(){return _MrxDbgUiPrPoint.keyWords()}setKeyWords(r){return _MrxDbgUiPrPoint.setKeyWords(r)}message(){return _MrxDbgUiPrPoint.message()}setMessage(r){return _MrxDbgUiPrPoint.setMessage(r)}keyWordPicked(){return _MrxDbgUiPrPoint.keyWordPicked()}isKeyWordPicked(r){return _MrxDbgUiPrPoint.isKeyWordPicked(r)}setUserDraw(r){if("function"!=typeof r)return _MrxDbgUiPrPoint.setUserDraw(r._get?r._get():r);{const e=new McEdGetPointWorldDrawObject;e.setDraw(r),_MrxDbgUiPrPoint.setUserDraw(e._get())}}value(){return _MrxDbgUiPrPoint.value()}valueDocCoord(){return _MrxDbgUiPrPoint.valueDocCoord()}basePt(){return _MrxDbgUiPrPoint.basePt()}setBasePt(r){return _MrxDbgUiPrPoint.setBasePt(r)}setUseBasePt(r){return _MrxDbgUiPrPoint.setUseBasePt(r)}go(r){return r?(_MrxDbgUiPrPoint.go(r),new Promise((r,e)=>{r(null)})):new Promise((r,e)=>{_MrxDbgUiPrPoint.go(e=>{r(0!=e?null:_MrxDbgUiPrPoint.value())})})}goWhile(r,e){return _MrxDbgUiPrPoint.goWhile(r,e)}drawReserve(r){return _MrxDbgUiPrPoint.drawReserve(r)}setInputToucheType(r){return _MrxDbgUiPrPoint.setInputToucheType(r)}getInputToucheType(){return _MrxDbgUiPrPoint.getInputToucheType()}};