(a) Penalty for violation. Any person, firm, corporation or agent who shall violate a provision of this chapter, or fail to comply therewith, or with any of the requirements thereof, or who shall erect, construct, alter, install, demolish or move any structure, electrical, gas, mechanical or plumbing system, or has erected, constructed, altered, repaired, moved or demolished a building, electrical, gas, mechanical or plumbing system, in violation of a detailed statement or drawing submitted and permitted hereunder, shall be subject to penalties as set forth in section 1-7. (b) Continuing violation. Each such person shall be considered guilty of a separate offense for each and every day or portion thereof during which any violation of any of the provisions of this chapter is committed or continued.