static RjcpSerialPort() { if (Utils.Runtime.OS != Utils.OperatingSystem.Windows) { EmbeddedResources.ExtractAll(); } }
static RelayPlate() { try { EmbeddedResources.ExtractAll(); } catch (Exception ex) { Console.WriteLine($"Error extracting required resources. Error: {ex.Message}"); } }