Integrating Orders and Hardware monitor with Database