Currently, we are forced to instanciate the right panel type, and then a check is performed in RiscoComm#VerifyPanelType.
I've got the feeling we could detect the panel type using PNLCNF command, then instanciate the right Panel class automatically.
That would be a lot easier for third party libraries integration.
What do you think about it ? Do you see any potential issues ? If it seems ok to you I can try to implement it and make a PR.
Hi,
Currently, we are forced to instanciate the right panel type, and then a check is performed in
RiscoComm#VerifyPanelType
.I've got the feeling we could detect the panel type using
PNLCNF
command, then instanciate the right Panel class automatically. That would be a lot easier for third party libraries integration.What do you think about it ? Do you see any potential issues ? If it seems ok to you I can try to implement it and make a PR.