[Serializable]
public class ProgramDataFileClass
{
/// <summary>
/// 软件的程序版本
/// </summary>
[XmlIgnore]
public int ProgramVersion;
/// <summary>
///程序名称
/// </summary>
public List<string> ProgrameNameList;
/// <summary>
/// 程序数据集 木板参数
/// </summary>
public DataSet ProgramDataSet;
/// <summary>
///程序数据集 上下光源
/// </summary>
public DataSet LightSourceBrightnessDataSet;
/// <summary>
/// 程序数算法参数据集 上相机
/// </summary>
public DataSet TopProgramParameterDataSet;
/// <summary>
/// 程序数算法参数据集 下相机
/// </summary>
public DataSet BottomProgramParameterDataSet;
public ProgramDataFileClass()
{
ProgramVersion = 23;
ProgrameNameList = new List<string>(1000);
ProgramDataSet = new DataSet();
LightSourceBrightnessDataSet = new DataSet();
TopProgramParameterDataSet = new DataSet();
BottomProgramParameterDataSet = new DataSet();
}
}
xml序列化会把数据正常保存,二进制会漏掉数据
[XmlIgnore]
xml序列化会把数据正常保存,二进制会漏掉数据
[XmlIgnore]