1 line
28 KiB
JavaScript
1 line
28 KiB
JavaScript
|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-b88f"],{34:function(e,t){},A0nZ:function(e,t,i){"use strict";var a=i("iCc5"),s=i.n(a),n=i("Gvnp");t.a=function e(t){s()(this,e);var i={length:t.Length,width:t.Width,height:t.Height,position:{x:t.Position.X,y:t.Position.Y,z:t.Position.Z},style:{transparent:1,opacity:.4,color:1560252,depthTest:0}},a=new n.a(i);return a.name=t.Name,a.uuid=t.No,a.direction=t.Direction,a.storage_type=t.Storage_Type,a.type=t.type,"goods"===t.type&&(a.weights=t.weights),a.state=t.state,a}},CNAP:function(e,t,i){"use strict";i.d(t,"a",function(){return s});var a=i("Womt");function s(e,t){(new a.TextureLoader).load("/static/images/floor.jpg",function(i){i.wrapS=i.wrapT=a.RepeatWrapping,i.repeat.set(10,10);var s=new a.BoxGeometry(e.length,1,e.depth),n=new a.MeshBasicMaterial({map:i,side:a.DoubleSide}),o=new a.Mesh(s,n);o.position.y=-.5,o.name="地面",t.addObject(o)})}},CvMc:function(e,t,i){"use strict";var a=i("t3Un");t.a={GetAgvsList:function(){return Object(a.a)({url:"/agv/GetAgvsList",method:"post"})},CancelTask:function(e){return Object(a.a)({url:"/agv/cancelTask",method:"post",data:e})},GetAgvStatus:function(e){return Object(a.a)({url:"/agv/getAgvStatus",method:"post",data:e})},GetTaskRecord:function(e){return Object(a.a)({url:"/agv/getTaskRecord",method:"post",data:e})},retrievePallet:function(e){return Object(a.a)({url:"/agv/retrievePallet",method:"post",data:e})},BatchRetrievePallet:function(e){return Object(a.a)({url:"/agv/BatchRetrievePallet",method:"post",data:e})},setWorkStoreTunnel:function(e){return Object(a.a)({url:"/agv/setWorkStoreTunnel",method:"post",data:e})},getWorkStoreTunnel:function(e){return Object(a.a)({url:"/agv/getWorkStoreTunnel",method:"post",data:e})},productOutStore:function(e){return Object(a.a)({url:"/agv/ProductOutStore",method:"post",data:e})},productBatchOutStore:function(e){return Object(a.a)({url:"/agv/ProductBatchOutStore",method:"post",data:e})},productBatchBackStore:function(e){return Object(a.a)({url:"/agv/ProductBatchBackStore",method:"post",data:e})},productInStoreNow:function(){return Object(a.a)({url:"/agv/productInStoreNow",method:"post"})},palletInStore:function(e){return Object(a.a)({url:"/agv/PalletOutStacker",method:"post",data:e})},palletOutStoreNow:function(){return Object(a.a)({url:"/agv/palletOutStoreNow",method:"post"})}}},FgYo:function(e,t,i){"use strict";var a=i("TGos");i.n(a).a},Gvnp:function(e,t,i){"use strict";var a=i("iCc5"),s=i.n(a),n=i("Womt");function o(){}o.hasObj=function(e){return null!=e&&void 0!==e},o.createMaterial=function(e,t,i){var a=16711680,s=null,r=null,_=0,c=0,l=0,h=1;o.hasObj(i)&&(a=i.color||16711680,s=i.image||null,_=i.allowRepeat||0,c=i.transparent||0,l=i.opacity||0,h=i.depthTest);var u=new n.MeshPhongMaterial({map:r,color:a});return null!=s&&(r=(new n.TextureLoader).load(s),1==_&&(r.repeat.x=e/128,r.repeat.y=t/128,r.repeat.y=5,r.wrapS=r.wrapT=n.RepeatWrapping),u=new n.MeshBasicMaterial({map:r})),1==c&&(u.transparent=!0),0==h&&(u.depthTest=!1),u.opacity=l,u},o.transPosition=function(e,t){return e.X=e.X+t.X,e.Y=e.Y+t.Y,e.Z=e.Z+t.Z,e},o.getQueryVariable=function(e){for(var t=window.location.search.substring(1).split("&"),i=0;i<t.length;i++){var a=t[i].split("=");if(a[0]==e)return a[1]}return!1};t.a=function e(t){s()(this,e),this.length=t.length||1,this.width=t.width||1,this.height=t.height||1,this.Name=t.objName,this.Direction=t.Direction,this.positionX=t.position.x||0,this.positionY=t.position.y||0,this.positionZ=t.position.z||0,this.style=t.style||{color:16711680},this.stypeType=this.style.type||0;var i=o.createMaterial(this.width,this.height,this.style);1==this.stypeType&&((i=[]).push(o.createMaterial(this.width,this.height,this.style.up)),i.push(o.createMaterial(this.width,this.height,this.style.down)),i.push(o.createMaterial(this.width,this.height,this.style.right)),i.push(o.createMaterial(this.width,this.height,this.style.left)),i.push(o.createMaterial(this.width,this.height,this.style.fore)),i.push(o.createMaterial(this.width,this.height,this.style.behind)));var a=new n.BoxGeometry(this.length,this.hei
|