private ChannelAlarmSummaryRow CreateSummaryRow(ChannelAlarmSummaryDataTable channelAlarmSummaryTable, int channelID, int alarmTypeID, DateTime date, int alarmPoints) { ChannelAlarmSummaryRow row = channelAlarmSummaryTable.NewChannelAlarmSummaryRow(); row.ChannelID = channelID; row.AlarmTypeID = alarmTypeID; row.Date = date; row.AlarmPoints = alarmPoints; return(row); }