A nozzle apparatus for an agricultural crop sprayer, the apparatus having a control element adjustable using ah external power source for controlling the flow of a spray liquid from a spray line through at least one channel of the nozzle apparatus. The electronic cigarette comprises a power supply, a liquid storage member storing liquid smoke, an atomizing unit connected to the power supply for atomizing the liquid smoke, and a controller connected with the power supply and the atomizing unit for controlling the atomizing unit to start or stop heating. The destination location may be entered into the remote computer or wireless device, or may be automatically generated by the device. A program code is generated by confirming existence of an event under each state by referring to the event table when an event has occurred, and by executing an action of an event that has occurred in the current state by referring to the action table and the transition table.