public void Delete(int recordId)
 {
     PackageReceivingRecordRepository deployRecordRep = new PackageReceivingRecordRepository();
     var o = deployRecordRep.FindByPrimaryKey<PackageReceivingRecord>(recordId);
     o.Enabled = false;
     deployRecordRep.Update(o);
 }
 public bool UpdatePackageReceivingRecordMsg(int logId, string msg)
 {
     PackageReceivingRecordRepository deployRecordRep = new PackageReceivingRecordRepository();
     return deployRecordRep.UpdatePackageReceivingRecordMsg(logId, msg);
 }
 public bool HasFinishReceivingNewestPackage(string hostName, bool verified)
 {
     PackageReceivingRecordRepository deployRecordRep = new PackageReceivingRecordRepository();
     return deployRecordRep.HasFinishReceivingNewestPackage(hostName,verified);
 }
 public List<PackageReceivingRecordModel> GetPackageReceivingRecordList(int deployId)
 {
     PackageReceivingRecordRepository deployRecordRep = new PackageReceivingRecordRepository();
     return deployRecordRep.GetPackageReceivingRecordList(deployId);
 }
 public bool FinishReceivingPackage(int logId, string error)
 {
     PackageReceivingRecordRepository deployRecordRep = new PackageReceivingRecordRepository();
     return deployRecordRep.FinishReceivingPackage(logId, error);
 }