The blowing of any train whistle or steam whistle attached to any stationary boiler except to give notice of the time to begin or stop work or as a warning of fire or danger or upon request of proper county authorities shall be a violation of this article.