Automatic system of weighing