Example #1
0
 public static SnHistoryDTO CreateSnHistoryDTO(int ID, global::System.DateTime actionDate, int actionType, int cSN, decimal tSN, int cSN2, decimal tSN2, int status, int position, global::System.Guid aircraftId, int snRegId, int pnRegId)
 {
     SnHistoryDTO snHistoryDTO = new SnHistoryDTO();
     snHistoryDTO.Id = ID;
     snHistoryDTO.ActionDate = actionDate;
     snHistoryDTO.ActionType = actionType;
     snHistoryDTO.CSN = cSN;
     snHistoryDTO.TSN = tSN;
     snHistoryDTO.CSN2 = cSN2;
     snHistoryDTO.TSN2 = tSN2;
     snHistoryDTO.Status = status;
     snHistoryDTO.Position = position;
     snHistoryDTO.AircraftId = aircraftId;
     snHistoryDTO.SnRegId = snRegId;
     snHistoryDTO.PnRegId = pnRegId;
     return snHistoryDTO;
 }
Example #2
0
 public void AddToSnHistories(SnHistoryDTO snHistoryDTO)
 {
     base.AddObject("SnHistories", snHistoryDTO);
 }
Example #3
0
 public static SnHistoryDTO CreateSnHistoryDTO(int ID, global::System.DateTime installDate, int cSN, int cSR, decimal tSN, decimal tSR, global::System.Guid aircraftId, int snRegId, int pnRegId, int installRecordId)
 {
     SnHistoryDTO snHistoryDTO = new SnHistoryDTO();
     snHistoryDTO.Id = ID;
     snHistoryDTO.InstallDate = installDate;
     snHistoryDTO.CSN = cSN;
     snHistoryDTO.CSR = cSR;
     snHistoryDTO.TSN = tSN;
     snHistoryDTO.TSR = tSR;
     snHistoryDTO.AircraftId = aircraftId;
     snHistoryDTO.SnRegId = snRegId;
     snHistoryDTO.PnRegId = pnRegId;
     snHistoryDTO.InstallRecordId = installRecordId;
     return snHistoryDTO;
 }