60 lines
2.0 KiB
C#
60 lines
2.0 KiB
C#
namespace AudioWallpaper.Entity {
|
|
[Serializable]
|
|
public class ConfigurationObject {
|
|
private GeneralConfigurationObjects? generalConfigurationObjects;
|
|
private VideoWallpaperConfigObject? videoWallpaperConfigObject;
|
|
private OtherConfigObjects? otherConfigObjects;
|
|
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();
|
|
}
|
|
}
|
|
}
|
|
public OtherConfigObjects OtherConfigObjects {
|
|
get {
|
|
if (otherConfigObjects != null) {
|
|
return otherConfigObjects;
|
|
}
|
|
return new OtherConfigObjects();
|
|
}
|
|
set {
|
|
if (value != null) {
|
|
otherConfigObjects = value;
|
|
} else {
|
|
otherConfigObjects = new OtherConfigObjects();
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|