35 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			C#
		
	
	
	
		
		
			
		
	
	
			35 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			C#
		
	
	
	
| 
								 | 
							
								using System;
							 | 
						|||
| 
								 | 
							
								using System.Collections.Generic;
							 | 
						|||
| 
								 | 
							
								using System.Linq;
							 | 
						|||
| 
								 | 
							
								using System.Text;
							 | 
						|||
| 
								 | 
							
								using System.Threading.Tasks;
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								namespace MasaBlazorApp3.Pojo.Config
							 | 
						|||
| 
								 | 
							
								{
							 | 
						|||
| 
								 | 
							
								    public class PortConfig
							 | 
						|||
| 
								 | 
							
								    {
							 | 
						|||
| 
								 | 
							
								        public string drawerPortPath { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        public int drawerProtocol { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        public string scanCodePortPath { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        public string canBusPortPath { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        public bool canBusExsit { get; set; }
							 | 
						|||
| 
								 | 
							
								        //抽屉总数量:8个抽屉与16个抽屉对应发单支指令不同,开抽屉指令也不同
							 | 
						|||
| 
								 | 
							
								        public int totalDrawerCount { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        public bool canBusTwoExsit { get; set; }
							 | 
						|||
| 
								 | 
							
								        public string canBusPortPathTwo { get; set; }
							 | 
						|||
| 
								 | 
							
								        public int doorAddr { get; set; }
							 | 
						|||
| 
								 | 
							
								        public int storageBoxAddr { get; set; }
							 | 
						|||
| 
								 | 
							
								        //存在冰箱串口
							 | 
						|||
| 
								 | 
							
								        public bool fridgePortExist { get; set; }
							 | 
						|||
| 
								 | 
							
								        //冰箱串口号
							 | 
						|||
| 
								 | 
							
								        public string fridgePortPath { get; set; }
							 | 
						|||
| 
								 | 
							
								        //储物箱串口
							 | 
						|||
| 
								 | 
							
								        public int StorageCan { get; set; }
							 | 
						|||
| 
								 | 
							
								    }
							 | 
						|||
| 
								 | 
							
								}
							 |