SmartHouseAPI/Source/MyHouse/Config/ImageInfo.cs
zilinsoft f0ff641ed4 ## 2025-02-08 星期六更新
### MyHouse    V1.0.2502.0801
- *.[新增]适配新版接口。
### SmartHouseAPI    V1.0.2502.0801
- *.[新增]支持Docker部署,支持NAS。
2025-02-08 17:01:20 +08:00

31 lines
719 B
C#

using ryControls.Interface;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyHouse.Config
{
public class ImageInfo : IItemInfo
{
/// <summary>
/// -1表示无角标
/// </summary>
public int BadgeImageIndex { get; set; } = -1;
/// <summary>
/// 路径
/// </summary>
public string Path { get; set; } ="";
/// <summary>
/// 网址
/// </summary>
public string Url { get; set; } = "";
/// <summary>
/// 文件图标
/// </summary>
public Image Image { get; set; } = null;
}
}