Example #1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="row"></param>
 /// <returns></returns>
 private GRAlarmData CreateGRAlarmData(DataRow row)
 {
     GRAlarmData a = new GRAlarmData(
         Convert.ToDateTime(row["DT"]),
         row[DataColumnNames.StationName].ToString(),
         row["Content"].ToString());
     return a;
 }
Example #2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="grad"></param>
 /// <returns></returns>
 private string GetGRAlarmDataText(GRAlarmData grad)
 {
     string s = string.Format("{0} {1}", grad.DT, grad.Content);
     return s;
 }