跟牛銑孔接口(舊)
簡要描述
銑孔數據接口-取公式里面打孔拉槽設置
請求URL
api/lei-de/eqinterface.html?device_code=xxx&method=getmentech&order_code=xxx
請求方式
GET
參數
參數名 | 必選 | 類型 | 說明 |
---|---|---|---|
method | 是 | string | 方法名 getmentech |
device_code | 是 | string | 通行證 |
order_code | 是 | string | 優化單號 |
返回示例
{ "success":true, "code":"200", "message":"操作成功!", "Version":"1.0", "Generator":null, "Unit":"毫米", "Name":null, "Bar":[ { "DXF_Name":"01000124", "BarNumber":1, "Name":"邊封4", "MaxY":0, "MaxZ":4.8, "Length":25000, "piece":[ { "PieceNumber":1, "BarCode":"6612", "CtrsX":"0.0", "CtrsYp":"0.0", "CtrsYm":"0.0", "CtrsZ":"0.0", "Mirror":"0.0", "Extra_Pie":"邊封4", "field1":"2,客戶名稱,羅詩雯", "field2":"1,窗號,null", "field3":"1,訂單號,20220727-6", "field4":"1,位置,null", "field5":"1,訂單格式,null", "field6":"1,產品系列,85中空門", "field7":"1,尺寸,2000*2000", "field8":"1,終端客戶,", "field9":"1,終端地址,", "field10":"1,顏色,測試", "field11":"1,合同號,FG20220727-52", "Cut":{ "Length":"2060", "sxB":45, "dxB":45, "sxC":90, "dxC":90 }, "work":[ { "Name":"上下軌", "ProfiLav":"1", "PositionX":"1940", "PositionY":"0.0", "PositionZ":"0.0" } ] } ] }
返回參數說明