I would like to create a class tat emulates the memory of a serial device I have. The memory breaks down like this.
Memory 'memory holds multiple systems and memory properties
System' System holds multiple Sites and System properties
Sites ' Sites hold multiple groups and Site prperties
Groups' Hold multiple talkgroups and Group properties
Talkgroup ' Hold TalkGroup properties
Now should each one be a separate class or should I use just memory class? If just one memory class the how would I implement it. I would need to add Systems to memory, Sites to Systems, Groups to Sites, and TalkGroups to Groups
Thanks for the advice in advance
MoLaw
Memory 'memory holds multiple systems and memory properties
System' System holds multiple Sites and System properties
Sites ' Sites hold multiple groups and Site prperties
Groups' Hold multiple talkgroups and Group properties
Talkgroup ' Hold TalkGroup properties
Now should each one be a separate class or should I use just memory class? If just one memory class the how would I implement it. I would need to add Systems to memory, Sites to Systems, Groups to Sites, and TalkGroups to Groups
Thanks for the advice in advance
MoLaw