Any person who shall violate a provision of this article, 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 demolisheda building, structure, electrical, gas, mechanical or plumbing system, inviolation of adetailed statement or drawing submittedand permitted under this article shall be guilty of a misdemeanor. 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 article is committed or continued, and upon conviction of any such violation such person shall be punished within the limits andas provided by state laws.