public IServerCommand RestoreHAFromPartner() { var command = new ServerCommand("restoreCurrentHANode"); command.AppendParam("deviceID", Device.DeviceId); command.AppendParam("partnetTargetName", TargetName); return(command); }
public IServerCommand RestoreFromPartnerNode(IHAPartnerExt partner) { var command = new ServerCommand("restoreCurrentHANode"); command.AppendParam("deviceID", DeviceId); command.AppendParam("partnetTargetName", partner.TargetName); return(command); }