using System.Drawing; namespace Mesnac.Controls.ChemicalWeighing.HslCurve { /// /// 所有标记信息的基类,支持区间的表示 /// // Token: 0x02000019 RID: 25 public class HslMarkSectionBase { /// /// 开始的数据位置 /// // 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; } /// /// 结束的数据位置 /// // 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; } } /// /// 在曲线控件中额外标记的区间显示,可以设置不同的背景颜色 /// // Token: 0x0200001A RID: 26 public class HslMarkBackSection : HslMarkSectionBase { /// /// 实例化一个默认的对象 /// // Token: 0x0600028A RID: 650 RVA: 0x00021592 File Offset: 0x0001F792 public HslMarkBackSection() { this.BackColor = Color.FromArgb(52, 52, 52); } /// /// 特殊标记的区间的背景色 /// // 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; } /// /// 标记文本 /// // 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; } } }