epics-containers/pvi

Handle NDFile Inheritance

GDYendell opened this issue · 1 comments

Currently in ADCore the parameters for NDFile are in asynNDArrayDriver, but the records are in NDFile.template. This is so that the parameters can be used in file plugins and ADPilatus. We don't want to mirror this because it then includes these signals on the generated UIs for all areaDectector plugins and drivers.

Instead, we should implement multiple inheritance in Device. Then we an make an NDFile.pvi.device.yaml with the parameters and then update NDFilePlugin and ADPilatus to include both their parent driver and NDFile.

The parent field should be replaced with includes to better match the way templates work.