Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/m/a/marine-integrations-HEAD/mi/idk/da_server.py   marine-integrations(Download)
        retval = self.instrument_agent_client.execute_agent(cmd)
        log.debug("retval: %s", retval)
        cmd = AgentCommand(command=ResourceAgentEvent.GET_RESOURCE_STATE)
        retval = self.instrument_agent_client.execute_agent(cmd)
        log.debug("retval: %s", retval)
 
        cmd = AgentCommand(command=ResourceAgentEvent.GO_ACTIVE)
        retval = self.instrument_agent_client.execute_agent(cmd)
        log.debug("retval: %s", retval)
        cmd = AgentCommand(command=ResourceAgentEvent.GET_RESOURCE_STATE)
        retval = self.instrument_agent_client.execute_agent(cmd)
        log.debug("retval: %s", retval)
        cmd = AgentCommand(command=ResourceAgentEvent.GET_RESOURCE_STATE)
        retval = self.instrument_agent_client.execute_agent(cmd)
        log.debug("retval: %s", retval)
        token= retval.result['token']
 
        cmd = AgentCommand(command=ResourceAgentEvent.GET_RESOURCE_STATE)
        retval = self.instrument_agent_client.execute_agent(cmd)
        log.debug("retval: %s", retval)
 
            while ia_state == DriverProtocolState.DIRECT_ACCESS:
                cmd = AgentCommand(command=ResourceAgentEvent.GET_RESOURCE_STATE)
                retval = self.instrument_agent_client.execute_agent(cmd)