public void AppendSignal(int CANID, CANSignal cs) { if (!CANMessageDictionary.ContainsKey(CANID)) { CANMessageDictionary[CANID] = new CANMessage() { ID = CANID }; } CANMessageDictionary[CANID].GetSignalList().Add(cs); }
public void RemoveSignal(int CANID, CANSignal cs) { CANMessageDictionary[CANID].GetSignalList().Remove(cs); }