Stability Analysis for A Class of Linear Hyperbolic System of Balance Laws with Sampled-data Control