Странно, судя по логам коммуникатора, команда проходит.
Приведу на всякий случай листинг, вдруг я что-то упускаю важное:
public override void OnCommandReceived(int ctrlCnlNum, Command cmd, int userID, ref bool passToClients)
{
var cmdNumsList = new List<int>() { 5, 6, 7, 8 };
const int MyKpNum = 7001;
const int MyCmdNum = 7001;
const double MyCmdVal = 1.0;
this.WriteToLog("Cmd recieved = " + cmd.CmdNum, Log.ActTypes.Information);
if (cmdNumsList.Contains(cmd.CmdNum))
{
WriteToLog("Send command by the module " + Name, Log.ActTypes.Action);
var newCmd = new Command(BaseValues.CmdTypes.Standard);
newCmd.KPNum = MyKpNum;
newCmd.CmdNum = MyCmdNum;
newCmd.CmdVal = MyCmdVal;
ServerCommands.PassCommand(newCmd);
this.WriteToLog("Cmd passed = " + newCmd.CmdNum, Log.ActTypes.Information);
}
base.OnCommandReceived(ctrlCnlNum, cmd, userID, ref passToClients);
}