Пример #1
0
        public int Print(string jsonStr)
        {
            var json = new SendJsonArgs(jsonStr);
            int code = _terminal.SendJson(json);

            Debug.WriteLine("SendJson return content {0}:", json.JsonData);
            Debug.WriteLine("SendJson reject code: {0}", _terminal.MethodRejectCode);
            return(_terminal.MethodRejectCode);
        }