Inheritance of Behavior in Object-Oriented Designs for industrial control systems