You've already forked FrameTour-BE
1
This commit is contained in:
@ -27,6 +27,8 @@ public class DeviceFactory {
|
||||
operator = new WvpPassiveStorageOperator(config.getStoreConfigJson());
|
||||
} else if (Integer.valueOf(DeviceStoreTypeEnum.VPT_PASSIVE.getType()).equals(config.getStoreType())) {
|
||||
operator = new VptPassiveStorageOperator(config.getStoreConfigJson());
|
||||
} else if (Integer.valueOf(DeviceStoreTypeEnum.AWS_OSS.getType()).equals(config.getStoreType())) {
|
||||
operator = new VptPassiveStorageOperator(config.getStoreConfigJson());
|
||||
} else if (Integer.valueOf(DeviceStoreTypeEnum.LOCAL.getType()).equals(config.getStoreType())) {
|
||||
operator = new LocalStorageOperator(config.getStoreConfigJson());
|
||||
}
|
||||
|
@ -10,6 +10,7 @@ public enum DeviceStoreTypeEnum {
|
||||
WVP_ACTIVE(3, "WVP主动模式"),
|
||||
WVP_PASSIVE(4, "WVP被动模式"),
|
||||
VPT_PASSIVE(5, "VPT被动模式"),
|
||||
AWS_OSS(6, "S3 OSS"),
|
||||
LOCAL(2, "本地文件");
|
||||
|
||||
private final int type;
|
||||
|
Reference in New Issue
Block a user