initial commit
This commit is contained in:
40
Viewer/TrendViewer/Class/ChartData.cs
Normal file
40
Viewer/TrendViewer/Class/ChartData.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
using System.Collections.Generic;
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Diagnostics;
|
||||
using System.Data;
|
||||
using System.Collections;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace vmsnet
|
||||
{
|
||||
public class ChartData
|
||||
{
|
||||
public double Volt { get; set; }
|
||||
public DateTime Time { get; set; }
|
||||
}
|
||||
public class ChartListData
|
||||
{
|
||||
public List<int> ChannelList; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>캰 ä<><C3A4> <20><><EFBFBD><EFBFBD>
|
||||
public List<string> FileList; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>캰 <20><><EFBFBD>ϸ<EFBFBD><CFB8><EFBFBD>
|
||||
public ChartListData()
|
||||
{
|
||||
ChannelList = new List<int>(); //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>캰 ä<><C3A4> <20><><EFBFBD><EFBFBD>
|
||||
FileList = new List<string>(); //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>캰 <20><><EFBFBD>ϸ<EFBFBD><CFB8><EFBFBD>
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// ä<><C3A4> <20><> <20><><EFBFBD>ϸ<EFBFBD><CFB8><EFBFBD><EFBFBD><EFBFBD> <20>ʱ<EFBFBD>ȭ
|
||||
/// </summary>
|
||||
public void Clear()
|
||||
{
|
||||
ChannelList.Clear();
|
||||
FileList.Clear();
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"{this.ChannelList.Count}Ch,{this.FileList.Count}Files";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user