At the moment, in MainForm.cs, when we run the Telescope, it creates a simulation microcontroller. We do not want to do this, but instead create a SensorNetworkServer.
This will entail:
Remove the AbstractMicrocontroller and AbstractEncoderReader references from the RadioTelescope class
Add a public SensorNetworkServer in place of these, in the same way that they were present
Remove any references to the microcontroller/encoder reader in MainForm.cs and replace them with the SensorNetworkServer (if applicable)
Be sure to set the SensorNetworkServer parameters to the correct ones on the IP/Ports on the UI!!!
Don't forget to start the server with StartSensorMonitoringRoutine()! (do this in place of ctrler.BringUp();)
At the moment, in
MainForm.cs
, when we run the Telescope, it creates a simulation microcontroller. We do not want to do this, but instead create aSensorNetworkServer
.This will entail:
AbstractMicrocontroller
andAbstractEncoderReader
references from theRadioTelescope
classSensorNetworkServer
in place of these, in the same way that they were presentMainForm.cs
and replace them with theSensorNetworkServer
(if applicable)SensorNetworkServer
parameters to the correct ones on the IP/Ports on the UI!!!StartSensorMonitoringRoutine()
! (do this in place ofctrler.BringUp();
)