design and construction of a heat detector