public synchronized void SetAllAIPoints(int value)
{
Collection<DataPoint> dpList = dsTable_.getAllAIPoints();
Iterator<DataPoint> it = dpList.iterator();
DataPoint dp = null;
while(it.hasNext())
{
dp = it.next();
if (dp == null) continue;
try
{
dp.setIntValue(value);
}
catch (Exception ex)
{
//ignore
}
}
//DDI is considered as AI
dpList = dsTable_.getAllDDIPoints();
it = dpList.iterator();
while(it.hasNext())
{
dp = it.next();
if (dp == null) continue;
try
{
dp.setIntValue(value);
}
catch (Exception ex)
{
//ignore
}
}
//TDI is considered as AI
dpList = dsTable_.getAllTDIPoints();
it = dpList.iterator();
while(it.hasNext())
{
dp = it.next();
if (dp == null) continue;
try
{
dp.setIntValue(value);
}
catch (Exception ex)
{
//ignore
}