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)); }
public string Encode(MatrixCodeModel model) { return(CodingHelper.SystemFormCheckMatrix(model.M, model.N, model.ConvertToDecMatrix())); }