using Godot; using System; using System.Collections.Generic; using System.IO.Ports; namespace EGFramework.Examples.ModbusDebugTool{ public partial class ViewEdit : Control,IEGFramework { public DataModbusItem DataModbusItem { set; get; } public ModbusRegisterType ModbusRegisterType { set; get; } public Label Title { set; get; } public LineEdit EditDeviceAddress { set; get; } public LineEdit EditRegisterAddress { set; get; } public OptionButton SerialPortSelect { set; get; } public ViewMenu ViewMenu { set; get; } public Dictionary SerialPortMapping { set; get; } = new Dictionary(); public override void _Ready() { Title = this.GetNode