public void SetDeadband(float deadband)
{
TraceState("SetDeadband", deadband);
ThrowIfDisposed();
lock (m_lock)
{
this.Deadband = deadband;
// need the EU Info if the deadband is specified.
m_manager.UpdateItemEuInfo(this, m_items);
// update filters for all items.
UpdateDeadbandFilters(m_items);
// update the items on the server.
try
{
m_subscription.ApplyChanges();
}
catch (Exception e)
{
throw ComUtils.CreateComException(e, ResultIds.E_FAIL);
}
}
}