On two affine-like dynamical systems in a local field