增加通道配置界面

This commit is contained in:
liming 蔡
2026-08-10 16:05:17 +08:00
parent 45c39f738b
commit 25f2ae3d44
22 changed files with 964 additions and 68 deletions
+12 -2
View File
@@ -1,10 +1,11 @@
using System;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JinYuan.Models.SysCfg
namespace JinYuan.Models
{
public class ChannelConfig
{
@@ -16,5 +17,14 @@ namespace JinYuan.Models.SysCfg
public int ChannelId { get; set; }
public int DefaultValue { get; set; }
public List<string> Gears { get; set; } = new List<string>();
[JsonIgnore]
public string AllContent
{
get
{
return $"{ChannelId} {DefaultValue} {string.Join(",", Gears)}";
}
}
}
}