DiamondLightSource / tickit

Event-based hardware simulation framework
Apache License 2.0
7 stars 0 forks source link

Split EpicsAdapter #62

Closed DominicOram closed 2 years ago

DominicOram commented 2 years ago

There are two usecases for an EpicsAdapter:

  1. Create an IOC that strictly conforms to the PVs of an existing db file so as to directly simulate it. In this case when creating the adapter we should provide the db file and only be able to override records to link them to Python code. We should not be able to create new PVs.
  2. Create an IOC that allows arbitrary PVs to be created and linked to Python code. It should not require a db to be passed into it to function

We should split these into separate adapters

DominicOram commented 2 years ago

Github weirdly made two issues here, closing in favour of #61