/// <summary> /// 加载xml /// 子端结构体赋值为空 /// 实例化Net类 /// </summary> public Special() { this.Data = new UserData(); loadxml(); for (int i = 0; i < 20; i++) { iplist[i].ID = null; iplist[i].IP = null; } cloud = this; this.cloudnet = new UserNet(ref Data, ref cloud); this.changeTODO = new DataChangeTODO(ref Data, ref cloud); }
/// <summary> /// 构造函数 /// </summary> public Special() { Data = new Device("Device", "PointCloud-EVCS"); loadxml(); loadcardata(); cloud = this; process = new Process(); process.StartInfo.FileName = "体积计算 " + Volumev + ".exe"; cloudnet = new DeviceNet(Data, "PointCloud-EVCS"); changeTODO = new DataChangeTODO(Data, cloud); }