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.
lj_plc/Controls/Mesnac.Controls.ChemicalWei.../HslCurve/HslCurveRange.cs

68 lines
2.3 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System.Drawing;
namespace Mesnac.Controls.ChemicalWeighing.HslCurve
{
/// <summary>
/// 曲线范围的类
/// </summary>
// Token: 0x0200001C RID: 28
public class HslCurveRange
{
/// <summary>
/// 实例化一个曲线范围的类
/// </summary>
// Token: 0x0600029E RID: 670 RVA: 0x0002167D File Offset: 0x0001F87D
public HslCurveRange()
{
this.LineColor = Color.Red;
this.LineThickness = 1f;
this.ReferenceAxisIndex = 0;
this.Style = CurveStyle.LineSegment;
}
/// <summary>
/// 线条的宽度
/// </summary>
// Token: 0x170000DB RID: 219
// (get) Token: 0x0600029F RID: 671 RVA: 0x000216BD File Offset: 0x0001F8BD
// (set) Token: 0x060002A0 RID: 672 RVA: 0x000216C5 File Offset: 0x0001F8C5
public float LineThickness { get; set; }
/// <summary>
/// 是否平滑的曲线显示默认为False
/// </summary>
// Token: 0x170000DC RID: 220
// (get) Token: 0x060002A1 RID: 673 RVA: 0x000216CE File Offset: 0x0001F8CE
// (set) Token: 0x060002A2 RID: 674 RVA: 0x000216D6 File Offset: 0x0001F8D6
public CurveStyle Style { get; set; }
/// <summary>
/// 曲线颜色
/// </summary>
// Token: 0x170000DD RID: 221
// (get) Token: 0x060002A3 RID: 675 RVA: 0x000216DF File Offset: 0x0001F8DF
// (set) Token: 0x060002A4 RID: 676 RVA: 0x000216E7 File Offset: 0x0001F8E7
public Color LineColor { get; set; }
/// <summary>
/// 是否左侧参考系0为左侧1为右侧其他是辅助坐标轴
/// </summary>
// Token: 0x170000DE RID: 222
// (get) Token: 0x060002A5 RID: 677 RVA: 0x000216F0 File Offset: 0x0001F8F0
// (set) Token: 0x060002A6 RID: 678 RVA: 0x000216F8 File Offset: 0x0001F8F8
public int ReferenceAxisIndex { get; set; }
/// <summary>
/// 上限的数据
/// </summary>
// Token: 0x04000136 RID: 310
public float[] Upper = null;
/// <summary>
/// 下限的数据
/// </summary>
// Token: 0x04000137 RID: 311
public float[] Lower = null;
}
}