- DX upgrade

- Hisense SQLite read/write support for DVB-C/S/T
This commit is contained in:
hbeham
2015-11-25 23:19:39 +01:00
parent 893579d615
commit 256710ec94
17 changed files with 473 additions and 509 deletions

View File

@@ -39,10 +39,11 @@ namespace ChanSort.Api
trans.Satellite = sat;
if (this.transponder.ContainsKey(trans.Id))
{
this.warnings.AppendFormat("Duplicate transponder data record for satellite #{0} with id {1}\r\n", sat.Id, trans.Id);
this.warnings.AppendFormat("Duplicate transponder data record for satellite #{0} with id {1}\r\n", sat?.Id, trans.Id);
return;
}
sat.Transponder.Add(trans.Id, trans);
if (sat != null)
sat.Transponder.Add(trans.Id, trans);
this.transponder.Add(trans.Id, trans);
}
#endregion