示例#1
0
 public function deleteDevice()
 {
     $request = OCISchemaGroup::GroupAccessDeviceDeleteRequest($this->migrator->getOrigEnterprise(), $this->migrator->getOrigGroup(), $this->deviceName);
     $this->migrator->send($request);
     return $this->migrator->getResponse();
 }
示例#2
0
 private function deleteGroupDevice($device = [])
 {
     $sp_id = $device['device']->accessDeviceTable['row']['col'][0];
     $group_id = $device['device']->accessDeviceTable['row']['col'][2];
     $device_name = $this->flipped_map ? $device['device']->accessDeviceTable['row']['col'][6] : $device['device']->accessDeviceTable['row']['col'][3];
     $request = OCISchemaGroup::GroupAccessDeviceDeleteRequest($sp_id, $group_id, $device_name);
     return ['schema' => 'OCISchemaGroup', 'command' => $request];
 }