嘉耐更新
This commit is contained in:
@@ -1318,6 +1318,10 @@ public class LnshPackagePalletManipulatorDeviceDriver extends AbstractOpcDeviceD
|
||||
mode = "码垛强制完成";
|
||||
} else if (this.getMode() == 8) {
|
||||
mode = "申请空盘";
|
||||
} else if (this.getMode() == 9) {
|
||||
mode = "工单完成";
|
||||
} else if (this.getMode() == 11) {
|
||||
mode = "强制去包装";
|
||||
}
|
||||
|
||||
if (this.getStatus() == 1) {
|
||||
|
||||
@@ -440,10 +440,10 @@ public class LnshPalletizingManipulatorSiteDeviceDriver extends AbstractOpcDevic
|
||||
} else {
|
||||
this.instruction_require_time = date;
|
||||
JSONObject json = new JSONObject();
|
||||
String linkobj = (String)this.getDevice().getExtraValue().get("link_device_code");
|
||||
String demosub = linkobj.substring(1,linkobj.length()-1);
|
||||
String demoArray[] = demosub.split(",");
|
||||
List<String> demoList = Arrays.asList(demoArray);
|
||||
// String linkobj = (String)this.getDevice().getExtraValue().get("link_device_code");
|
||||
// String demosub = linkobj.substring(1,linkobj.length()-1);
|
||||
// String demoArray[] = demosub.split(",");
|
||||
// List<String> demoList = Arrays.asList(demoArray);
|
||||
json.put("device_code",this.device_code);
|
||||
json.put("material_code",material);
|
||||
json.put("qty",encoder_qty);
|
||||
@@ -475,10 +475,10 @@ public class LnshPalletizingManipulatorSiteDeviceDriver extends AbstractOpcDevic
|
||||
} else {
|
||||
this.instruction_require_time = date;
|
||||
JSONObject json = new JSONObject();
|
||||
String linkobj = (String)this.getDevice().getExtraValue().get("link_device_code");
|
||||
String demosub = linkobj.substring(1,linkobj.length()-1);
|
||||
String demoArray[] = demosub.split(",");
|
||||
List<String> demoList = Arrays.asList(demoArray);
|
||||
// String linkobj = (String)this.getDevice().getExtraValue().get("link_device_code");
|
||||
// String demosub = linkobj.substring(1,linkobj.length()-1);
|
||||
// String demoArray[] = demosub.split(",");
|
||||
// List<String> demoList = Arrays.asList(demoArray);
|
||||
json.put("device_code",this.device_code);
|
||||
json.put("material_code",material);
|
||||
json.put("qty",encoder_qty);
|
||||
@@ -515,6 +515,7 @@ public class LnshPalletizingManipulatorSiteDeviceDriver extends AbstractOpcDevic
|
||||
json.put("type","1");
|
||||
json.put("material_code",material);
|
||||
json.put("vehicle_code",barcode);
|
||||
json.put("qty",encoder_qty);
|
||||
json.put("is_full","1");
|
||||
HttpResponse result = acsToWmsService.lnshApplyTaskToWms(json);
|
||||
if (ObjectUtil.isNotEmpty(result)) {
|
||||
@@ -635,11 +636,17 @@ public class LnshPalletizingManipulatorSiteDeviceDriver extends AbstractOpcDevic
|
||||
} else if (this.getMode() == 2) {
|
||||
mode = "联机";
|
||||
} else if (this.getMode() == 4) {
|
||||
mode = "叫料";
|
||||
mode = "人工排产确认";
|
||||
} else if (this.getMode() == 5) {
|
||||
mode = "申请空盘";
|
||||
} else if (this.getMode() == 6) {
|
||||
mode = "申请入库";
|
||||
} else if (this.getMode() == 7) {
|
||||
mode = "码垛完成";
|
||||
} else if (this.getMode() == 8) {
|
||||
mode = "码垛强制完成";
|
||||
} else if (this.getMode() == 9) {
|
||||
mode = "工单完成";
|
||||
}
|
||||
|
||||
if (this.getAction() == 0) {
|
||||
|
||||
@@ -1052,12 +1052,14 @@ public class LnshSplitManipulatorDeviceDriver extends AbstractOpcDeviceDriver im
|
||||
mode = "联机";
|
||||
} else if (this.getMode() == 3) {
|
||||
mode = "工作中";
|
||||
} else if (this.getMode() == 4) {
|
||||
mode = "工单确认";
|
||||
} else if (this.getMode() == 5) {
|
||||
mode = "获取托盘信息";
|
||||
mode = "叫料出库";
|
||||
} else if (this.getMode() == 6) {
|
||||
mode = "拆垛完成";
|
||||
} else if (this.getMode() == 7) {
|
||||
mode = "申请空盘";
|
||||
mode = "申请空盘入库";
|
||||
} else if (this.getMode() == 9) {
|
||||
mode = "工单完成";
|
||||
}
|
||||
|
||||
String onoff_status = "";
|
||||
|
||||
@@ -244,7 +244,7 @@ public class LnshStationDeviceDriver extends AbstractOpcDeviceDriver implements
|
||||
break;
|
||||
case 8:
|
||||
//申请入窑
|
||||
if(move ==1 && !requireSucess && StrUtil.isNotEmpty(this.barcode) && StrUtil.equals(this.getDevice().getExtraValue().get("apply_task").toString(),"true")){
|
||||
if(move == 1 && !requireSucess && StrUtil.isNotEmpty(this.barcode) && StrUtil.equals(this.getDevice().getExtraValue().get("apply_task").toString(),"true")){
|
||||
applyIn();
|
||||
}
|
||||
break;
|
||||
@@ -340,7 +340,7 @@ public class LnshStationDeviceDriver extends AbstractOpcDeviceDriver implements
|
||||
}
|
||||
|
||||
/**
|
||||
* 申请入窑
|
||||
* 申请入窑输送任务
|
||||
*
|
||||
* @param
|
||||
*/
|
||||
@@ -483,7 +483,7 @@ public class LnshStationDeviceDriver extends AbstractOpcDeviceDriver implements
|
||||
}
|
||||
|
||||
/**
|
||||
* 申请入库
|
||||
* 申请入窑
|
||||
*
|
||||
* @param
|
||||
*/
|
||||
@@ -681,6 +681,12 @@ public class LnshStationDeviceDriver extends AbstractOpcDeviceDriver implements
|
||||
mode = "申请空盘";
|
||||
} else if (this.getMode() == 6) {
|
||||
mode = "申请入库";
|
||||
} else if (this.getMode() == 7) {
|
||||
mode = "入窑输送任务";
|
||||
} else if (this.getMode() == 8) {
|
||||
mode = "申请入窑";
|
||||
} else if (this.getMode() == 9) {
|
||||
mode = "申请出窑";
|
||||
}
|
||||
|
||||
if (this.getAction() == 0) {
|
||||
|
||||
@@ -939,6 +939,9 @@ public class TaskServiceImpl implements TaskService, ApplicationAutoInitial {
|
||||
instdto.setVehicle_type(vehicleType);
|
||||
|
||||
instructionservice.create(instdto);
|
||||
|
||||
acsTask.setTask_status("1");
|
||||
this.update(acsTask);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -97,7 +97,7 @@
|
||||
|
||||
<el-row>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="关联设备" prop="device_code">
|
||||
<el-form-item label="关联下料设备" prop="device_code">
|
||||
<el-select
|
||||
v-model="form.link_device_code"
|
||||
filterable
|
||||
@@ -112,6 +112,21 @@
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="关联上料设备" prop="device_code" label-width="200">
|
||||
<el-select
|
||||
v-model="form.link_device_code2"
|
||||
multiple
|
||||
filterable
|
||||
reserveKeyword
|
||||
placeholder="请选择"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in deviceList"
|
||||
:label="item.device_name"
|
||||
:value="item.device_code"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="关联三色灯" prop="device_code" label-width="100px">
|
||||
@@ -297,7 +312,8 @@ export default {
|
||||
manual_create_task: true,
|
||||
is_pickup: true,
|
||||
is_release: true,
|
||||
link_device_code: []
|
||||
link_device_code: [],
|
||||
link_device_code2: []
|
||||
},
|
||||
rules: {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user