Modbus.Net
Modbus.Net copied to clipboard
Replacement of hard-coded string in MachineReader.cs
Replacement of hard-coded string "Production" to utilizing the constant Environments.Production provided by the ASP.NET Core framework. The change enhances the code quality by leveraging framework-provided constants, thereby making the solutions using the example code more maintainable, robust, and aligned with best practices.
Got it. I will not merge this pull request because there are more places uses this code. I will take this suggestion in next push.
Sorry, I don't think your code is correct. Please double check your code.