Skip to content

Virtualize operation in ModbusMaster;Refactor MessageFrame implementation#183

Open
Haale wants to merge 1 commit intoNModbus:masterfrom
Haale:hxb_refactor
Open

Virtualize operation in ModbusMaster;Refactor MessageFrame implementation#183
Haale wants to merge 1 commit intoNModbus:masterfrom
Haale:hxb_refactor

Conversation

@Haale
Copy link
Copy Markdown

@Haale Haale commented Mar 28, 2024

1.one can inherit from the ModbusMaster and override some operation funciton easily.

2.If a new Message sub-class inherit from exsiting class (like ReadHoldingInputRegistersRequest) and override the ProtocalUnit building procedure,the MessageFrame doesn't change over beacause its building is implemented by ModbusMessageImpl (which is fixed)

3.ignore all the csproj file change due to its adapting to my local SDK installed and environment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant