Esempio n. 1
0
        public IServerCommand RestoreHAFromPartner()
        {
            var command = new ServerCommand("restoreCurrentHANode");

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

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