//EC Data
 /// <summary>
 /// Updates the system parameter.
 /// </summary>
 /// <param name="ecid">The ecid.</param>
 /// <param name="val">The value.</param>
 /// <param name="refreshSecsAgent">The refresh secs agent.</param>
 public void updateSystemParameter(string ecid, string val, Boolean refreshSecsAgent)
 {
     try
     {
         if (BCFUtility.isMatche(ecid, SCAppConstants.ECID_CONVERSATION_TIMEOUT))
         {
             SystemParameter.setSECSConversactionTimeout(Convert.ToInt16(val));
         }
         else if (BCFUtility.isMatche(ecid, SCAppConstants.ECID_GEM_INITIAL_CONTROL_STATE))
         {
             SystemParameter.setInitialHostMode(val);
         }
         else if (BCFUtility.isMatche(ecid, SCAppConstants.ECID_MAX_ALLOW_ACTION_TIME_SECOND))
         {
             SystemParameter.setMaxAllowActionTime(Convert.ToInt16(val));
         }
         else if (BCFUtility.isMatche(ecid, SCAppConstants.ECID_HEARTBEAT))
         {
             SystemParameter.setHeartBeatSec(Convert.ToInt32(val));
             //Restart Timer
             ITimerAction timer = scApp.getBCFApplication().getTimerAction("SECSHeartBeat");
             if (timer != null)
             {
                 timer.start();
             }
         }
         else if (BCFUtility.isMatche(ecid, SCAppConstants.ECID_DEVICE_ID))
         {
             scApp.setSECSAgentDeviceID(Convert.ToInt32(val), refreshSecsAgent);
         }
         else if (BCFUtility.isMatche(ecid, SCAppConstants.ECID_T3))
         {
             scApp.setSECSAgentT3Timeout(Convert.ToInt32(val), refreshSecsAgent);
         }
         else if (BCFUtility.isMatche(ecid, SCAppConstants.ECID_T5))
         {
             scApp.setSECSAgentT5Timeout(Convert.ToInt32(val), refreshSecsAgent);
         }
         else if (BCFUtility.isMatche(ecid, SCAppConstants.ECID_T6))
         {
             scApp.setSECSAgentT6Timeout(Convert.ToInt32(val), refreshSecsAgent);
         }
         else if (BCFUtility.isMatche(ecid, SCAppConstants.ECID_T7))
         {
             scApp.setSECSAgentT7Timeout(Convert.ToInt32(val), refreshSecsAgent);
         }
         else if (BCFUtility.isMatche(ecid, SCAppConstants.ECID_T8))
         {
             scApp.setSECSAgentT8Timeout(Convert.ToInt32(val), refreshSecsAgent);
         }
     }
     catch (Exception ex)
     {
         logger.Error(ex, "Exception:");
     }
 }