publicclassPhotometricMeasureData: INotifyPropertyChanged
{public string No { get; set;}public string Cell { get; set;}public DateTime DateTime { get; set;}public List<float>ABS{
get; set;}=newList<float>();public List<float> Trans
{
get; set;}=newList<float>();public List<float> OriginABS
{
get; set;}=newList<float>();public List<float> OriginTrans
{
get; set;}=newList<float>();public event PropertyChangedEventHandler PropertyChanged;voidOnPropertyChanged(string propertyName){
PropertyChanged?.Invoke(this,newPropertyChangedEventArgs(propertyName));}}
TextColumn cNo = GridUtil.Instance.SetColumn(ColumnTypes.Text,"No","No",75)as DevExpress.XamarinForms.DataGrid.TextColumn;this.xDataGrid.Columns.Add(cNo);for(int i =0; i <this.m_Model.WaveLength.Count; i++){
string strID = string.Empty;
string strTitle = string.Empty;if((DisplayDataType)Enum.Parse(typeof(DisplayDataType),this.m_Model.DisplayDataUnitType.ToString())== DisplayDataType.ABS){
strID = string.Format("ABS[{0}]", i);
strTitle = string.Format("A[{0}]",this.m_Model.WaveLength[i]);
TemplateColumn Col = GridUtil.Instance.SetColumn(ColumnTypes.LabelTemplate, strID, strTitle,150,this.m_Model.MeasureData)as TemplateColumn;this.xDataGrid.Columns.Add(Col);}else{
strID = string.Format("Trans[{0}]", i);
strTitle = string.Format("T[{0}]",this.m_Model.WaveLength[i]);
TemplateColumn Col = GridUtil.Instance.SetColumn(ColumnTypes.LabelTemplate, strID, strTitle,150,this.m_Model.MeasureData)as TemplateColumn;this.xDataGrid.Columns.Add(Col);}}
Á¦°¡ ¿øÇÏ´Â ÇüÅÂÀÇ °á°ú ÀÔ´Ï´Ù.
±Ùµ¥ ¹ÙÀεùÀÌ µÇÁú ¾Ê½À´Ï´Ù. ÀÌ·± ÇüÅ·Π¹ÙÀεù ÇÒ ¼ö ÀÖ´Â ¹æ¹ýÀÌ ÀÖ½À´Ï±î?
|