1234567891011121314151617181920 |
- package com.gzlh.device.plc.job;
- import cn.hutool.core.thread.ThreadUtil;
- import cn.hutool.core.util.StrUtil;
- import com.gzlh.bus.SysConfig;
- import com.gzlh.config.SystemObject;
- import com.gzlh.config.task.Task;
- import com.gzlh.device.led.utils.LedOptions;
- public class InitLedTask extends Task {
- public InitLedTask(String id, long delayInMilliseconds) {
- super(id, delayInMilliseconds);
- }
- @Override
- public void run() {
- SystemObject.ledFactory.handler(SysConfig.serialSetting.getLed().getBrand()).init();
- }
- }
|