pauly
Member
We have an application where we need to indicate a piece of machinery needs maintenance. I have created a routine which resets a value of "days left" when maintenance has been performed and starts counting down the days until the next is due. The maintenance interval, days left etc are part of a UDT, which is passed as a parameter to the subroutine. There is a separate UDT for each bit of machinery.
The problem is, the customer has specified 600 ish pieces of machinery with separate maintenance intervals. This would mean 600 ish subroutine calls which is a bit(?) overwhelming.
Can anybody think of a cleaner way of accomplishing this? The customer didn't want to use AOI's
The problem is, the customer has specified 600 ish pieces of machinery with separate maintenance intervals. This would mean 600 ish subroutine calls which is a bit(?) overwhelming.
Can anybody think of a cleaner way of accomplishing this? The customer didn't want to use AOI's