public void AddFixture(FixtureE fixture, RoomInfoElec roomInfoElec) { if (!ElecFixturesDic.ContainsKey(roomInfoElec)) { ElecFixturesDic.Add(roomInfoElec, new List <FixtureE>()); } ElecFixturesDic[roomInfoElec].Add(fixture); }
public void AddFixture(FixtureE fixture, SystemInfoElec systemInfo) { if (!ElecFixturesDic.ContainsKey(systemInfo)) { ElecFixturesDic.Add(systemInfo, new List <FixtureE>()); } ElecFixturesDic[systemInfo].Add(fixture); }