public Resource CopyFrom(Resource r) // 兼容:支持从98维拷贝到1470维 { Cpu.CopyFrom(r.Cpu); Mem.CopyFrom(r.Mem); Disk = r.Disk; P = r.P; M = r.M; Pm = r.Pm; _length = r._length; return(this); }