Exemple #1
0
 /// <summary>
 /// Calls the BindDeviceTags method of the device.
 /// </summary>
 public void BindDeviceTags(BaseDataSet baseDataSet)
 {
     try
     {
         if (DeviceLogic.IsBound && baseDataSet != null)
         {
             DeviceLogic.BindDeviceTags(baseDataSet);
         }
     }
     catch (Exception ex)
     {
         log.WriteException(ex, CommPhrases.ErrorInDevice, nameof(BindDeviceTags), DeviceLogic.Title);
     }
 }
Exemple #2
0
 /// <summary>
 /// Calls the BindDeviceTags method of the device.
 /// </summary>
 public void BindDeviceTags(ConfigDataset configDataset)
 {
     try
     {
         if (DeviceLogic.IsBound && configDataset != null)
         {
             DeviceLogic.BindDeviceTags(configDataset);
         }
     }
     catch (Exception ex)
     {
         log.WriteError(ex, CommPhrases.ErrorInDevice, nameof(BindDeviceTags), DeviceLogic.Title);
     }
 }