This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /***************************************************** | |
| * Marstek Dual‑Regler (1‑Sekunden Zyklus) | |
| * Ziel: Netz = -5 Watt (leichte Einspeisung) | |
| * Zwei Speicher werden dynamisch geregelt. | |
| * | |
| * Features: | |
| * - PI‑Regler für Gesamtleistung | |
| * - SOC‑Balancing | |
| * - Anti‑Flattern: schneller Anstieg / langsamer Abfall | |
| * - Glättung der Stellgrößen |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Net; | |
| using System.Net.Sockets; | |
| using System.Net.NetworkInformation; | |
| using System.Text; | |
| using System.Collections.Concurrent; | |
| using System.Runtime.InteropServices; | |
| // ----------------- MAIN ----------------- | |
| Console.OutputEncoding = Encoding.UTF8; | |
| Console.WriteLine("Starting network scan..."); |