//Day node_id route_id carrier_acct_id Total Completed InMinutes OutMinutes Cost Name PopName public RouteReportRecord(int?pDay, string pNode, string pCustomerName, int?pTotal, int?pCompleted, int?pInMinutes, decimal?pOutMinutes, decimal?pCost, string pRouteName, string pCarrierName) { Date = TimokDate.ToDateTime((int)pDay).ToShortDateString(); Node = pNode; CustomerName = pCustomerName; Total = pTotal; Completed = pCompleted; InMinutes = pInMinutes; OutMinutes = pOutMinutes; Cost = pCost; RouteName = pRouteName; CarrierName = pCarrierName; Asr = StatsCalc.GetASR(Total, Completed); Acd = StatsCalc.GetACD(OutMinutes, Completed); }