public void Update()//Because of the 4 different senarios, the update function has some overloading { _PV = Filter.FilterValue((Read.Value - 1) * 50 / 4); UpdateAlarms(); OPC_PV.Write(_PV); }