| | |
| | | fs.getDCVolHighLimit(),fs.getChargeCurrSet(),fs.getMonomerTmp_High(),fs.getDev_id()});
|
| | | return bl;
|
| | | }
|
| | | //批量设置放电参数
|
| | | public boolean updatePro(Object obj) {
|
| | | Fbs9100_setparam fs=(Fbs9100_setparam) obj;
|
| | | String sql="update db_ram_db.tb_Fbs9100_setparam set testCmd=?,HourRate=?," +
|
| | | "DisCurr=?,DisCap=?,DisTime=?,groupVol_Low=?,monomerVol_Low=?,monomerLowCount=?,battGroupNum=?," +
|
| | | "onlineVolLowAction=?,dCVolHighLimit=?,chargeCurrSet=?,MonomerTmp_High=? where dev_id=?";
|
| | | Boolean bl=DAOHelper.executeUpdate(DBUtil.getConn(), sql, new Object[]{
|
| | | fs.getTestCmd(),fs.getHourRate(),fs.getDisCurr(),fs.getDisCap(),fs.getDisTime(),
|
| | | fs.getGroupVol_Low(),fs.getMonomerVol_Low(),fs.getMonomerLowCount(),fs.getBattGroupNum(),fs.getOnlineLowAction(),
|
| | | fs.getDCVolHighLimit(),fs.getChargeCurrSet(),fs.getMonomerTmp_High(),fs.getDev_id()});
|
| | | return bl;
|
| | | }
|
| | | //修改放电参数表中ld6
|
| | | public boolean updateld6Param(Object obj) {
|
| | | Fbs9100_setparam fs=(Fbs9100_setparam) obj;
|
| | |
| | | case FBS9100_ComBase.CMd_SetIp_Tem: m_cmd_ack = FBS9100_ComBase.CMd_SetIpAck; break;
|
| | | case FBS9100_ComBase.CMd_SetIp_Per: m_cmd_ack = FBS9100_ComBase.CMd_SetIpAck; break;
|
| | | case FBS9100_ComBase.CMD_ResetSystem: m_cmd_ack = FBS9100_ComBase.CMD_ResetSystemAck; break;
|
| | | case FBS9100_ComBase.CMD_READGPRS_BTS_TASK_INF: m_cmd_ack = FBS9100_ComBase.CMD_READGPRS_BTS_TASK_INFACK; break;
|
| | | default: return false;
|
| | | }
|
| | | String sql_end = "";
|