コード例 #1
0
        public string Encode(MatrixCodeModel model)
        {
            int[] matrix = model.ConvertToDecMatrix();

            //var m = 3;
            //var n = 7;
            //var arrays = new int[] { 15, 51, 85 };

            return(CodingHelper.SpectreLinearCode(model.M, model.N, matrix));
        }
コード例 #2
0
 public string Encode(MatrixCodeModel model)
 {
     return(CodingHelper.SystemFormCheckMatrix(model.M, model.N, model.ConvertToDecMatrix()));
 }