private void InitForm() { //取车牌号列表 weighingLogic.GetTruckNoItem(ref CBTruckNo); //取设备信息 weighingLogic.GetEquipmentItem(ref CBSB); //启运地 止运地 weighingLogic.GetSite(ref CBSite1); weighingLogic.GetSite(ref CBSite2); //时间 dateTimePicker1.Text = DateTime.Now.ToString(); //工程项目 weighingLogic.GetProjectName(ref CBProjectName); //仓库信息 weighingLogic.GetWarehouseInfo(ref CBWarehouseInfo); OtherWeighingLogic logic = new OtherWeighingLogic(); logic.SetPersonnelInfo(ref CBPersonnelInfo); //取得合同 RadioChanged(); // 未换卡前的初始化串口; //------------------------------------------------------------------------------------------- //icdev = CardClass.dc_init(0, 9600); //------------------------------------------------------------------------------------------- // 换卡后的初始化串口; icdev = iCardHelper.Init_Port(0, 9600); }
private void InitForm() { //取车牌号列表 weighingLogic.GetTruckNoItem(ref CBTruckNo); //取设备信息 weighingLogic.GetEquipmentItem(ref CBSB); //取运输合同 //weighingLogic.GetTransportContract(ref CBTransportContract); //启运地 止运地 weighingLogic.GetSite(ref CBSite1); weighingLogic.GetSite(ref CBSite2); //时间 dateTimePicker1.Text = DateTime.Now.ToString(); //工程项目 weighingLogic.GetProjectName(ref CBProjectName); //仓库信息 weighingLogic.GetWarehouseInfo(ref CBWarehouseInfo); OtherWeighingLogic logic = new OtherWeighingLogic(); logic.SetPersonnelInfo(ref CBPersonnelInfo); //取得合同 RadioChanged(); }
private void InitForm() { logic.SetPersonnelInfo(ref CBWeighMan); dtpDate.Text = DateTime.Now.ToString(); }