fixed some decimal to int, but still need to fix

The dictionary really should be <string, decimal>
Need to fix the other commands to type int.
Need to make sendCmd and sendCmdWithResponse to open/close the port
independently