protected virtual void OnReceiveSensorValue(int numberofsensor, int sensorvalue) { ReceiveSensorValue?.Invoke(this, numberofsensor, sensorvalue); }
protected virtual void OnReceiveSensorValue(object sender, int sensorId, int sensorValue) { ReceiveSensorValue?.Invoke(sender, sensorId, sensorValue); }