Re: [CODE-GENERATION] Make all Pojos have a "toPlcValue" method?

2020-01-23 Thread Christofer Dutz
: matthias.strl...@isw.uni-stuttgart.de Web: http://www.isw.uni-stuttgart.de -Ursprüngliche Nachricht- Von: Julian Feinauer Gesendet: Wednesday, January 22, 2020 11:23 AM An: dev@plc4x.apache.org Betreff: Re: [CODE-GENERATION] Make all Pojos have a &quo

AW: [CODE-GENERATION] Make all Pojos have a "toPlcValue" method?

2020-01-23 Thread Strljic, Matthias Milan
: matthias.strl...@isw.uni-stuttgart.de Web: http://www.isw.uni-stuttgart.de -Ursprüngliche Nachricht- Von: Julian Feinauer Gesendet: Wednesday, January 22, 2020 11:23 AM An: dev@plc4x.apache.org Betreff: Re: [CODE-GENERATION] Make all Pojos have a "toPlcValue" method? Sounds

Re: [CODE-GENERATION] Make all Pojos have a "toPlcValue" method?

2020-01-22 Thread Julian Feinauer
Sounds good to me. And probably also sublass them from an interface "FromFactory" that we can automatically get the factory class from a POJO (and need less reflection + String voodoo). Julian Am 22.01.20, 10:57 schrieb "Christofer Dutz" : Hi all, I have recently worked a lot on

[CODE-GENERATION] Make all Pojos have a "toPlcValue" method?

2020-01-22 Thread Christofer Dutz
Hi all, I have recently worked a lot on drivers that have internal structures which are defined by the protocol: * BACnet/IP * KNCnet/IP * That other protocol I worked on as a paid gig In all of these there I had to manually build lengthy “PlcStruct” constructs and pass them on. No