public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { UnitName = input.ReadString(); break; } case 18: { DevHost = input.ReadString(); break; } case 26: { ConnectTime = input.ReadString(); break; } case 32: { devStatus_ = (global::Suresecureivs.SvrDevice.Types.Status)input.ReadEnum(); break; } } } }
public void MergeFrom(SvrDevice other) { if (other == null) { return; } if (other.UnitName.Length != 0) { UnitName = other.UnitName; } if (other.DevHost.Length != 0) { DevHost = other.DevHost; } if (other.ConnectTime.Length != 0) { ConnectTime = other.ConnectTime; } if (other.DevStatus != 0) { DevStatus = other.DevStatus; } }