示例#1
0
        public IServerCommand RestoreHAFromPartner()
        {
            var command = new ServerCommand("restoreCurrentHANode");

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

            command.AppendParam("deviceID", DeviceId);
            command.AppendParam("partnetTargetName", partner.TargetName);
            return(command);
        }