You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
2.0 KiB
C#
60 lines
2.0 KiB
C#
|
|
using System.Drawing;
|
|
|
|
namespace Mesnac.Controls.ChemicalWeighing.HslCurve
|
|
{
|
|
/// <summary>
|
|
/// 所有标记信息的基类,支持区间的表示
|
|
/// </summary>
|
|
// Token: 0x02000019 RID: 25
|
|
public class HslMarkSectionBase
|
|
{
|
|
/// <summary>
|
|
/// 开始的数据位置
|
|
/// </summary>
|
|
// Token: 0x170000D0 RID: 208
|
|
// (get) Token: 0x06000285 RID: 645 RVA: 0x00021567 File Offset: 0x0001F767
|
|
// (set) Token: 0x06000286 RID: 646 RVA: 0x0002156F File Offset: 0x0001F76F
|
|
public int StartIndex { get; set; }
|
|
|
|
/// <summary>
|
|
/// 结束的数据位置
|
|
/// </summary>
|
|
// Token: 0x170000D1 RID: 209
|
|
// (get) Token: 0x06000287 RID: 647 RVA: 0x00021578 File Offset: 0x0001F778
|
|
// (set) Token: 0x06000288 RID: 648 RVA: 0x00021580 File Offset: 0x0001F780
|
|
public int EndIndex { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 在曲线控件中额外标记的区间显示,可以设置不同的背景颜色
|
|
/// </summary>
|
|
// Token: 0x0200001A RID: 26
|
|
public class HslMarkBackSection : HslMarkSectionBase
|
|
{
|
|
/// <summary>
|
|
/// 实例化一个默认的对象
|
|
/// </summary>
|
|
// Token: 0x0600028A RID: 650 RVA: 0x00021592 File Offset: 0x0001F792
|
|
public HslMarkBackSection()
|
|
{
|
|
this.BackColor = Color.FromArgb(52, 52, 52);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 特殊标记的区间的背景色
|
|
/// </summary>
|
|
// Token: 0x170000D2 RID: 210
|
|
// (get) Token: 0x0600028B RID: 651 RVA: 0x000215AE File Offset: 0x0001F7AE
|
|
// (set) Token: 0x0600028C RID: 652 RVA: 0x000215B6 File Offset: 0x0001F7B6
|
|
public Color BackColor { get; set; }
|
|
|
|
/// <summary>
|
|
/// 标记文本
|
|
/// </summary>
|
|
// Token: 0x170000D3 RID: 211
|
|
// (get) Token: 0x0600028D RID: 653 RVA: 0x000215BF File Offset: 0x0001F7BF
|
|
// (set) Token: 0x0600028E RID: 654 RVA: 0x000215C7 File Offset: 0x0001F7C7
|
|
public string MarkText { get; set; }
|
|
}
|
|
} |