public ZPLPrint(string filePath, string comName, bool isAutoHeight, string dataSource) { this.FilePath = filePath; this.ComName = comName; this.IsAutoHeight = isAutoHeight; JsonDataSource convert = new JsonDataSource(); this.DataSource = convert.To(dataSource); }
public DocumentPrint(string filePath, string printName, bool isAutoHeigth, string dataSource) { this.FilePath = FilePath; this.PrintName = printName; this.IsAutoHeight = isAutoHeigth; JsonDataSource convert = new JsonDataSource(); this.DataSource = convert.To(dataSource); }