old_flsystem/应用/FissionData/Config.cs

75 lines
2.5 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using Api.Framework.SDK;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UI.Framework.Entitys;
namespace FissionData
{
[Config(Name = "插件-裂变数据-配置")]
public class Config
{
/// <summary>
/// 指令
/// </summary>
[
Category("1、基础设置"), DisplayName("01.已拍指令"), DefaultValue(@"^已拍$"), Description(@"用户发送的指令,正则表达式")
]
public string cmd { get; set; } = @"^已拍$";
/// <summary>
/// 规则 有效已拍间隔(与上次间隔时间超过为有效)
/// </summary>
[
Category("1、基础设置"), DisplayName("02.有效已拍间隔"), DefaultValue(5), Description(@"单位/分钟
与上次发送已拍指令时间的间隔,超过为有效,以内为无效")
]
public int valid_send_interval { get; set; } = 5;
/// <summary>
/// 查询邀请指令
/// </summary>
[
Category("1、基础设置"), DisplayName("03.查询邀请指令"), DefaultValue(@"^统计$"), Description(@"统计邀请的人数等信息,正则表达式")
]
public string query_cmd { get; set; }
/// <summary>
/// 邀请量
/// </summary>
[
Category("1、基础设置"), DisplayName("04.邀请统计回复"), DefaultValue(@"邀请人数:[邀请人数]
[]
[]
11"), Description(@"
[][][]"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string msg_statistic { get; set; } = @"邀请人数:[邀请人数] 人
有效积分:[有效积分] 积分
已拍数量:[已拍数量] 件
——————————
邀请1人获得1积分积分可以兑换活动免单礼物哦";
/// <summary>
/// 规则 未付款天数
/// </summary>
[
Category("1、基础设置"), DisplayName("05.未派单天数"), DefaultValue(60), Description(@"发送已拍的间隔")
]
public int unpay_day { get; set; } = 60;
/// <summary>
/// 兑换上次数量
/// </summary>
[Browsable(false)]
public int cash_rule { get; set; } = 5;
}
}