|
|
@ -3,7 +3,7 @@ package com.shxy.xymanager_service.interaction;
|
|
|
|
public class Cma {
|
|
|
|
public class Cma {
|
|
|
|
|
|
|
|
|
|
|
|
static {
|
|
|
|
static {
|
|
|
|
System.setProperty("java.library.path", "./libs")
|
|
|
|
System.setProperty("java.library.path", "./libs");
|
|
|
|
System.loadLibrary("xympj");
|
|
|
|
System.loadLibrary("xympj");
|
|
|
|
initCmaEnv();
|
|
|
|
initCmaEnv();
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -46,7 +46,7 @@ public class Cma {
|
|
|
|
public native boolean updateCma(String cmdid, String cmaIp, int cmaPort, String domain);
|
|
|
|
public native boolean updateCma(String cmdid, String cmaIp, int cmaPort, String domain);
|
|
|
|
|
|
|
|
|
|
|
|
// act=termid [0xAC] --cmdid=[CMD_ID] --newcmdid=[New CMD ID] --compid=[Component Id] --orgid=[Original Id]
|
|
|
|
// act=termid [0xAC] --cmdid=[CMD_ID] --newcmdid=[New CMD ID] --compid=[Component Id] --orgid=[Original Id]
|
|
|
|
public native boolean updateTermId(String cmdid, String componentId, int originalId);
|
|
|
|
public native boolean updateTermId(String cmdid, String newCmdid, String componentId, int originalId);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// act=reset [0xAD] --cmdid=[CMD_ID] --mode=[Reset Mode: 0/1/2/3 Refer to SPEC doc]
|
|
|
|
// act=reset [0xAD] --cmdid=[CMD_ID] --mode=[Reset Mode: 0/1/2/3 Refer to SPEC doc]
|
|
|
|