duheng
2025-03-07 467578cbe7f027c14ceba0aed16fb827b94e2c65
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
namespace Yw.WinFrmUI
{
    /// <summary>
    /// 用于标识水力曲线属性特性
    /// </summary>
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
    public class HydroCurveProAttribute : Attribute
    {
        /// <summary>
        /// 
        /// </summary>
        public HydroCurveProAttribute(string curve)
        {
            this.Curve = curve;
        }
 
        /// <summary>
        /// 
        /// </summary>
        public HydroCurveProAttribute(string curve, string curveType) : this(curve)
        {
            this.CurveType = curveType;
        }
 
        /// <summary>
        /// 曲线
        /// </summary>
        public string Curve { get; private set; }
 
        /// <summary>
        /// 曲线类型
        /// </summary>
        public string CurveType { get; private set; }
 
    }
 
}