Hi Jim, let me suggest to look also at ft857 driver where I override some of the properties and methods of its base class ft817.
73 de IZ3GME Marco Il 06/mag/2015 03:34, "Jim Unroe" rock.unroe@gmail.com ha scritto:
Do you get what is going on with subclasses overriding things from the base class?
Not 100%
If things are mostly the same but in different places, you might be able to have a single get_memory() on the base class, and just have the subclasses use different MEM_FORMAT strings to describe where things are.
I think I get this.
For anything that needs to be different, just break that out into a helper method so that you can override that piece of behavior in a subclass.
This is where I think I have trouble. Although I have seen it discussed, the concept of "helper method" is not clear to me yet.
I am studying what David just submitted for the TYT TH9000 radios. I think I can learn from that. And looking at kenwood_live.py in addition to the wouxun.py might also help with my understanding.
Jim _______________________________________________ chirp_devel mailing list chirp_devel@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_devel Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers