parent
c76599e5d8
commit
ef48a292f5
|
@ -0,0 +1,17 @@
|
||||||
|
package com.dispose.ability.impl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The type Dp tech bypass ability.
|
||||||
|
*
|
||||||
|
* @author <huangxin@cmhi.chinamoblie.com>
|
||||||
|
*/
|
||||||
|
public class DpTechBypassAbilityImpl extends DpTechAbilityImpl {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Period task runtime.
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void periodTaskRuntime() {
|
||||||
|
super.periodTaskRuntime();
|
||||||
|
}
|
||||||
|
}
|
|
@ -531,6 +531,7 @@ public class DeviceTaskManagerServiceImpl implements DeviceTaskManagerService {
|
||||||
// 启动新任务
|
// 启动新任务
|
||||||
switch (ai.getDev().getDeviceType()) {
|
switch (ai.getDev().getDeviceType()) {
|
||||||
case DPTECH_UMC:
|
case DPTECH_UMC:
|
||||||
|
case DPTECH_BYPASS_UMC:
|
||||||
dpTechDeviceTaskRun(ai, v, task);
|
dpTechDeviceTaskRun(ai, v, task);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -604,6 +605,7 @@ public class DeviceTaskManagerServiceImpl implements DeviceTaskManagerService {
|
||||||
|
|
||||||
switch (ai.getDev().getDeviceType()) {
|
switch (ai.getDev().getDeviceType()) {
|
||||||
case DPTECH_UMC:
|
case DPTECH_UMC:
|
||||||
|
case DPTECH_BYPASS_UMC:
|
||||||
dpTechDeviceTaskStop(ai, v, task);
|
dpTechDeviceTaskStop(ai, v, task);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@ package com.dispose.service.impl;
|
||||||
|
|
||||||
import com.dispose.ability.DisposeAbility;
|
import com.dispose.ability.DisposeAbility;
|
||||||
import com.dispose.ability.impl.DpTechAbilityImpl;
|
import com.dispose.ability.impl.DpTechAbilityImpl;
|
||||||
|
import com.dispose.ability.impl.DpTechBypassAbilityImpl;
|
||||||
import com.dispose.ability.impl.HaoHanAbilityImpl;
|
import com.dispose.ability.impl.HaoHanAbilityImpl;
|
||||||
import com.dispose.ability.impl.HuaWeiAbilityImpl;
|
import com.dispose.ability.impl.HuaWeiAbilityImpl;
|
||||||
import com.dispose.ability.impl.PengXinAbilityImpl;
|
import com.dispose.ability.impl.PengXinAbilityImpl;
|
||||||
|
@ -124,6 +125,9 @@ public class DisposeAbilityRouterServiceImpl implements DisposeAbilityRouterServ
|
||||||
case VIRTUAL_DISPOSE:
|
case VIRTUAL_DISPOSE:
|
||||||
db = new VirtualAbilityImpl();
|
db = new VirtualAbilityImpl();
|
||||||
break;
|
break;
|
||||||
|
case DPTECH_BYPASS_UMC:
|
||||||
|
db = new DpTechBypassAbilityImpl();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
log.error("Unknown dispose device type: {}", dev.getDeviceType());
|
log.error("Unknown dispose device type: {}", dev.getDeviceType());
|
||||||
return ErrorCode.ERR_PARAMS;
|
return ErrorCode.ERR_PARAMS;
|
||||||
|
|
Loading…
Reference in New Issue