use of com.tencent.wstt.gt.OutPara in project GT by Tencent.
the class Client method setOutPara.
public void setOutPara(String paraName, long time, short value) {
OutPara outPara = getOutPara(paraName);
if (null != outPara && OutPara.DISPLAY_DISABLE != outPara.getDisplayProperty()) {
outPara.setValue(time, String.valueOf(value));
// add on 20130923 为了出参支持历史曲线
OpPerfBridge.addHistory(outPara, outPara.getValue(), time, value);
}
}
use of com.tencent.wstt.gt.OutPara in project GT by Tencent.
the class OpPerfManager method getAllEnable.
/**
* 获取所有非disable态出参对应的性能对象数组
* @return
*/
public synchronized TagTimeEntry[] getAllEnable() {
List<TagTimeEntry> entryList = new ArrayList<TagTimeEntry>();
for (TagTimeEntry tte : getAll()) {
Client client = ClientManager.getInstance().getClient(tte.getExkey());
OutPara op = client.getOutPara(tte.getName());
if (null != op && op.getDisplayProperty() < OutPara.DISPLAY_DISABLE && op.isMonitor()) {
entryList.add(tte);
}
}
return entryList.toArray(EMPTY);
}
use of com.tencent.wstt.gt.OutPara in project GT by Tencent.
the class OpUIManager method refreshOutputParam.
public static void refreshOutputParam() {
for (OutPara op : list_op) {
if (op.getDisplayProperty() < AidlEntry.DISPLAY_DISABLE) {
String value = op.getValue();
op.setFreezValue(value);
op.setValue(value);
}
}
}
use of com.tencent.wstt.gt.OutPara in project GT by Tencent.
the class Client method setOutPara.
public void setOutPara(String paraName, long time, int value) {
OutPara outPara = getOutPara(paraName);
if (null != outPara && OutPara.DISPLAY_DISABLE != outPara.getDisplayProperty()) {
outPara.setValue(time, String.valueOf(value));
// add on 20130923 为了出参支持历史曲线
OpPerfBridge.addHistory(outPara, outPara.getValue(), time, value);
}
}
use of com.tencent.wstt.gt.OutPara in project GT by Tencent.
the class IOutParaManager method removeOutPara.
public void removeOutPara(String paraName) {
OutPara para = outParaMap.remove(paraName);
OpPerfManager.getInstance().remove(paraName);
OpUIManager.list_op.remove(para);
}
Aggregations