|
我本地已经运行起来了,其中 ip和端口,帐号,密码 我要具体要输入什么?
public static void main(String[] args){
int result;
BVCU_GlobalParam.ByReference globalParam=new BVCU_GlobalParam.ByReference();
result=BVCUDll.BVCU_OnInit(globalParam);
PointerByReference pHSession=new PointerByReference();
result=BVCUDll.BVCU_LogIn(pHSession,"localhost",9009,"admin","123456");
Pointer hSession=pHSession.getValue();
result=BVCUDll.BVCU_GetDevices(hSession);
PointerByReference pHDialog=new PointerByReference();
AfterDecodeObj1 ado=new AfterDecodeObj1();
result=BVCUDll.BVCU_OpenGPS(hSession,"PU_7666",pHDialog,ado);
while(true);
}
|
|