添加项目文件。
This commit is contained in:
43
AudioVisualizer/Entity/ConfigurationObject.cs
Normal file
43
AudioVisualizer/Entity/ConfigurationObject.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
namespace AudioWallpaper.Entity {
|
||||
[Serializable]
|
||||
public class ConfigurationObject {
|
||||
private GeneralConfigurationObjects? generalConfigurationObjects;
|
||||
private VideoWallpaperConfigObject? videoWallpaperConfigObject;
|
||||
public bool DeviceStateChange = false;
|
||||
public bool SignRenderingStatus = false;
|
||||
public bool RenderingStatus = true;
|
||||
|
||||
public GeneralConfigurationObjects GeneralConfigurationObjects {
|
||||
get {
|
||||
if (generalConfigurationObjects != null) {
|
||||
return generalConfigurationObjects;
|
||||
}
|
||||
return new GeneralConfigurationObjects();
|
||||
}
|
||||
set {
|
||||
if (value != null) {
|
||||
generalConfigurationObjects = value;
|
||||
} else {
|
||||
generalConfigurationObjects = new GeneralConfigurationObjects();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
public VideoWallpaperConfigObject VideoWallpaperConfigObject {
|
||||
get {
|
||||
if (videoWallpaperConfigObject != null) {
|
||||
return videoWallpaperConfigObject;
|
||||
}
|
||||
return new VideoWallpaperConfigObject();
|
||||
}
|
||||
set {
|
||||
if (value != null) {
|
||||
videoWallpaperConfigObject = value;
|
||||
} else {
|
||||
videoWallpaperConfigObject = new VideoWallpaperConfigObject();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user