分機(jī)器切割接口
簡要描述
切割接口 — 機(jī)器編號
請求URL
http://open.thinkerx.com/api/get-cutting-code
請求方式
GET
參數(shù)
參數(shù)名 | 必選 | 類型 | 說明 |
---|---|---|---|
id | 是 | int | 排單id |
login_token | 是 | string | 通行證 |
備注:機(jī)器編號取注冊設(shè)備的編號
返回示例
{ "status": 0, "message": "ok", "data": { "Version": "PS-20201107-5", "Generator": "2020-11-07", "Unit": null, "Name": null, "Bar": [ { "DXF_Name": "w-wk", "BarNumber": "1", "MaxY": "40.00", "MaxZ": "0.00", "Length": "4800.00", "BarName": "w-外框", "BarColor": "外流金白/內(nèi)白橡木", "BarLeftLength": "285", "BarType": "框梃", "BarCad": "", "Piece": [ { "PieceNumber": "1", "Num": "1", "BarCode": "290415", "Customer": "潛山張?jiān)趧?quot;, "Cc_code": "002", "BuyAddress": "", "CtrsX": 0.0, "CtrsYp": 0.0, "CtrsYm": 0.0, "CtrsZ": 0.0, "Mirror": 0.0, "Extra_Pie": "w-外框 下", "Cut": { "Length": 1200.0, "sxB": 45.0, "dxB": 45.0, "sxC": 90.0, "dxC": 90.0 }, "Work": [ { "Name": "002", "ProfiLav": 1.0, "PositionX": 150.0, "PositionY": 0.0, "PositionZ": 0.0 }, { "Name": "002", "ProfiLav": 1.0, "PositionX": 690.0, "PositionY": 0.0, "PositionZ": 0.0 }, ] } ] }, "meta": null } }