KP Theory of Egorov Nets