[dsdp-dd-dev] RE: register event generation
This would be incorrect. I assume you are
adding the groupDmc so as to be able to find the
group the register is in.
The regDmc should have as its parent a dmc
which is of type IRegisterGroupDMContext.
This is done when you construct the
If you follow your flow then you would
have to add a group context and a register context to
So here are the relationships as I create
them in my commercial
For Group DMC
GroupDMC <-- ExecutionDMC <-- SymbolDmc
For Register DMC
<-- GroupDMC <-- ExecutionDMC <-- SymbolDmc
BitFieldDMC <-- RegDMC <-- GroupDMC <-- ExecutionDMC <--
So in the case you mentioned in that
routine I get the Group DMC from the Register DMC by doing
MIRegisterGroupDMC groupDmc =
where MIRegisterGroupDMC is a class which implements
public static class MIRegisterGroupDMC extends
AbstractDMContext<IRegisterGroupDMData> implements IRegisterGroupDMContext
If you want please call me and I will be glad to go
over this with you 781-364-2226.
for the code. It's working with the event.
writing register I had to make a small change in IRegisters interface for
writeRegister(IRegisterGroupDMContext groupDmc, IDMContext<?> regCtx,
String regValue, String formatId, RequestMonitor rm);
have any comments on this ? I plan to check in the changes
Attached is the code in out commercial
register service for generating events.