Structural-Color-AE-NCSA / DevicesManager

Apache License 2.0
0 stars 0 forks source link

Add to show List of devices in frontend #14

Closed EdwinKuo1337 closed 6 months ago

EdwinKuo1337 commented 7 months ago

Add rabbitMQ to get device connection list from adaptor Add rabbitMQ command line function to send dummy commands to adaptor

bingzhang commented 7 months ago

Can you delete the commented out code, please?

And rename the rpc_server.py to adaptor.py and move it to the script folder.

@EdwinKuo1337 can you also rename the rpc_client.py to receiver.py or another better name?

bingzhang commented 7 months ago

can you also delete pycache, maybe add it to gitignore?

bingzhang commented 7 months ago

@EdwinKuo1337 I fixed some bugs in this pr. Can you pull down the develop and merge to it, please?

After merging the latest code from develop branch, You can continue to work on this branch. You can try to rename user_events.py to devices.py or a better name. When we developing the code, we will gradually remove unnessary code and do some renaming work.

another thing you can do in this branch, is to make the adaptor.py to be a class and with main to run it. and to log the timestamp of device commands it receives.