45 lines
1.2 KiB
Java
45 lines
1.2 KiB
Java
package com.seeyon.apps.src_meetingroom;
|
|
|
|
import com.seeyon.apps.common.plugin.api.APluginInfoApi;
|
|
import com.seeyon.apps.common.plugin.vo.ConfigVo;
|
|
import com.seeyon.apps.src_meetingroom.constants.MeetingRoomConstants;
|
|
|
|
/**
|
|
* 功能描述:<br>
|
|
* <pre>
|
|
*
|
|
* </pre>
|
|
*
|
|
* @Author: FanGaowei
|
|
* @Date: 2022/12/1
|
|
*/
|
|
public class MeetingRoomPluginApi extends APluginInfoApi {
|
|
|
|
@Override
|
|
public String getPluginId() {
|
|
return MeetingRoomConstants.getPluginId();
|
|
}
|
|
|
|
@Override
|
|
public String getCreateUser() {
|
|
return "橙阳科技";
|
|
}
|
|
|
|
public String getDescription() {
|
|
return "会议室指示屏管理";
|
|
}
|
|
|
|
@Override
|
|
public ConfigVo getDefaultConfig() {
|
|
ConfigVo configVo = new ConfigVo();
|
|
for (MeetingRoomConstants value : MeetingRoomConstants.values()) {
|
|
if(value != MeetingRoomConstants.plugin) {
|
|
configVo.getDevParams().put(value.name(), value.getDefaultValue());
|
|
configVo.getProdParams().put(value.name(), value.getDefaultValue());
|
|
configVo.getParamMap().put(value.name(), value.getDescription());
|
|
}
|
|
}
|
|
return configVo;
|
|
}
|
|
}
|