Adaptive control of a class of linear stochastic systems with continuous and discrete unknown parameters