ISlaveManagementService.cs 326 B

1234567891011121314
  1. using ModbusSimulationProtocol.Services;
  2. namespace Mini8SlaveSim.Services
  3. {
  4. public interface ISlaveManagementService
  5. {
  6. byte WaitingForCreating { get; }
  7. void AddSlave(byte slaveId);
  8. Dictionary<byte, ModbusSlaveService> Slaves { get; }
  9. event EventHandler<byte>? SlaveAdded;
  10. }
  11. }