增加通道配置界面
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -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)}";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user