refactor the value parsing code of sets and setp into a single function
refactor the value parsing code of sets and setp into a single function

ArcEye/MK-Qt5,unseenlaser/machinekit,EqAfrica/machinekit,RunningLight/machinekit,cdsteinkuehler/linuxcnc,unseenlaser/machinekit,unseenlaser/linuxcnc,RunningLight/machinekit,unseenlaser/machinekit,Cid427/machinekit,RunningLight/machinekit,mhaberler/machinekit,cdsteinkuehler/MachineKit,kinsamanka/machinekit,unseenlaser/machinekit,mhaberler/machinekit,cdsteinkuehler/MachineKit,kinsamanka/machinekit,RunningLight/machinekit,unseenlaser/machinekit,strahlex/machinekit,bmwiedemann/linuxcnc-mirror,strahlex/machinekit,jaguarcat79/ILC-with-LinuxCNC,jaguarcat79/ILC-with-LinuxCNC,ianmcmahon/linuxcnc-mirror,bmwiedemann/linuxcnc-mirror,ianmcmahon/linuxcnc-mirror,unseenlaser/machinekit,bobvanderlinden/machinekit,ArcEye/machinekit-testing,araisrobo/linuxcnc,kinsamanka/machinekit,unseenlaser/machinekit,ikcalB/linuxcnc-mirror,strahlex/machinekit,strahlex/machinekit,araisrobo/machinekit,ikcalB/linuxcnc-mirror,ianmcmahon/linuxcnc-mirror,kinsamanka/machinekit,narogon/linuxcnc,strahlex/machinekit,narogon/linuxcnc,araisrobo/linuxcnc,ArcEye/MK-Qt5,mhaberler/machinekit,cnc-club/linuxcnc,ianmcmahon/linuxcnc-mirror,ArcEye/MK-Qt5,bobvanderlinden/machinekit,ArcEye/MK-Qt5,ArcEye/machinekit-testing,mhaberler/machinekit,cdsteinkuehler/linuxcnc,cnc-club/linuxcnc,mhaberler/machinekit,cdsteinkuehler/linuxcnc,cnc-club/linuxcnc,araisrobo/machinekit,yishinli/emc2,mhaberler/machinekit,ArcEye/MK-Qt5,strahlex/machinekit,cdsteinkuehler/linuxcnc,ArcEye/machinekit-testing,ikcalB/linuxcnc-mirror,bmwiedemann/linuxcnc-mirror,unseenlaser/linuxcnc,jaguarcat79/ILC-with-LinuxCNC,aschiffler/linuxcnc,EqAfrica/machinekit,ianmcmahon/linuxcnc-mirror,araisrobo/linuxcnc,ArcEye/machinekit-testing,ArcEye/MK-Qt5,cdsteinkuehler/linuxcnc,aschiffler/linuxcnc,araisrobo/machinekit,ArcEye/MK-Qt5,cdsteinkuehler/MachineKit,araisrobo/linuxcnc,jaguarcat79/ILC-with-LinuxCNC,unseenlaser/linuxcnc,unseenlaser/machinekit,EqAfrica/machinekit,RunningLight/machinekit,Cid427/machinekit,bobvanderlinden/machinekit,unseenlaser/linuxcnc,yishinli/emc2,mhaberler/machinekit,ikcalB/linuxcnc-mirror,Cid427/machinekit,mhaberler/machinekit,bmwiedemann/linuxcnc-mirror,ikcalB/linuxcnc-mirror,ikcalB/linuxcnc-mirror,Cid427/machinekit,cdsteinkuehler/MachineKit,ianmcmahon/linuxcnc-mirror,ArcEye/MK-Qt5,cnc-club/linuxcnc,EqAfrica/machinekit,cdsteinkuehler/MachineKit,EqAfrica/machinekit,cnc-club/linuxcnc,EqAfrica/machinekit,araisrobo/machinekit,jaguarcat79/ILC-with-LinuxCNC,Cid427/machinekit,araisrobo/machinekit,ianmcmahon/linuxcnc-mirror,aschiffler/linuxcnc,aschiffler/linuxcnc,cnc-club/linuxcnc,ArcEye/machinekit-testing,bmwiedemann/linuxcnc-mirror,narogon/linuxcnc,ArcEye/machinekit-testing,Cid427/machinekit,cdsteinkuehler/linuxcnc,ikcalB/linuxcnc-mirror,bobvanderlinden/machinekit,bmwiedemann/linuxcnc-mirror,kinsamanka/machinekit,ArcEye/machinekit-testing,araisrobo/machinekit,araisrobo/machinekit,EqAfrica/machinekit,strahlex/machinekit,EqAfrica/machinekit,cnc-club/linuxcnc,bobvanderlinden/machinekit,aschiffler/linuxcnc,araisrobo/machinekit,kinsamanka/machinekit,araisrobo/linuxcnc,RunningLight/machinekit,cdsteinkuehler/MachineKit,narogon/linuxcnc,bobvanderlinden/machinekit,araisrobo/machinekit,ArcEye/machinekit-testing,Cid427/machinekit,bmwiedemann/linuxcnc-mirror,unseenlaser/linuxcnc,bobvanderlinden/machinekit,RunningLight/machinekit,yishinli/emc2,narogon/linuxcnc,bobvanderlinden/machinekit,yishinli/emc2,kinsamanka/machinekit,RunningLight/machinekit,Cid427/machinekit,kinsamanka/machinekit