mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-11 19:44:52 +00:00
fix: Update IP handling in MobileControlTouchpanelController
Updates logic to handle setting the URL sent to the CH5 wrapper app to use the CS LAN IP based on the actual IpInformationChange event on the panel itself. - Added `._PepperDash.Essentials.4Series.sln` to .gitignore. - Introduced new using directives for Regex and Crestron libraries. - Added `csIpAddress` and `csSubnetMask` fields to store device IP info. - Modified constructor to retrieve and assign current IP and subnet mask. - Updated `Panel.IpInformationChange` event handler for logging and URL setting. - Created `GetUrlWithCorrectIp` method to determine the correct URL based on IP. - Refactored `SetAppUrl` to utilize the new URL method. - Commented out old IP determination logic in `MobileControlWebsocketServer.cs` as it was moved to the touchpanel controller.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -395,3 +395,4 @@ essentials-framework/Essentials Interfaces/PepperDash_Essentials_Interfaces/Pepp
|
||||
_site/
|
||||
api/
|
||||
*.DS_Store
|
||||
/._PepperDash.Essentials.4Series.sln
|
||||
|
||||
Reference in New Issue
Block a user