Encoding and controlling of two droplet trains in a microfluidic network with the loop-like structure