//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ImageDTO.proto
//
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace IvfTl.Control.Entity.DTO {
/// Holder for reflection information generated from ImageDTO.proto
public static partial class ImageDTOReflection {
#region Descriptor
/// File descriptor for ImageDTO.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ImageDTOReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Cg5JbWFnZURUTy5wcm90bxIRaXZmX3RsX0VudGl0eS5EVE8iuAMKCEltYWdl",
"RFRPEgwKBHRsU24YASABKAkSDwoHaG91c2VTbhgCIAEoBRIOCgZ3ZWxsU24Y",
"AyABKAUSDQoFY2NkU24YBCABKAkSFwoPc291cmNlSW1hZ2VOYW1lGAUgASgJ",
"EhcKD3NvdXJjZUltYWdlUGF0aBgGIAEoCRIYChBzb3VyY2VJbWFnZVdpZHRo",
"GAcgASgFEhkKEXNvdXJjZUltYWdlSGVpZ2h0GAggASgFEhEKCWltYWdlVGlt",
"ZRgJIAEoCRIZChFmZXJ0aWxpemF0aW9uVGltZRgKIAEoCRIWCg5waG90b2dy",
"YXBoVHlwZRgLIAEoBRISCgp0b3RhbExheWVyGAwgASgFEhQKDHBpY3R1cmVM",
"YXllchgNIAEoBRIYChBzaG9vdGluZ1Bvc2l0aW9uGA4gASgFEhAKCGNsZWFy",
"ZXN0GA8gASgFEgsKA2VuZBgQIAEoBRIdChVlbWJyeW9DdWx0dXJlUmVjb3Jk",
"SWQYESABKAQSEAoIZW1icnlvSWQYEiABKAQSEQoJaW1hZ2VEYXRhGBMgASgM",
"EhoKEmhvcml6b250YWxQb3NpdGlvbhgUIAEoBWIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::IvfTl.Control.Entity.DTO.ImageDTO), global::IvfTl.Control.Entity.DTO.ImageDTO.Parser, new[]{ "TlSn", "HouseSn", "WellSn", "CcdSn", "SourceImageName", "SourceImagePath", "SourceImageWidth", "SourceImageHeight", "ImageTime", "FertilizationTime", "PhotographType", "TotalLayer", "PictureLayer", "ShootingPosition", "Clearest", "End", "EmbryoCultureRecordId", "EmbryoId", "ImageData", "HorizontalPosition" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class ImageDTO : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ImageDTO());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::IvfTl.Control.Entity.DTO.ImageDTOReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ImageDTO() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ImageDTO(ImageDTO other) : this() {
tlSn_ = other.tlSn_;
houseSn_ = other.houseSn_;
wellSn_ = other.wellSn_;
ccdSn_ = other.ccdSn_;
sourceImageName_ = other.sourceImageName_;
sourceImagePath_ = other.sourceImagePath_;
sourceImageWidth_ = other.sourceImageWidth_;
sourceImageHeight_ = other.sourceImageHeight_;
imageTime_ = other.imageTime_;
fertilizationTime_ = other.fertilizationTime_;
photographType_ = other.photographType_;
totalLayer_ = other.totalLayer_;
pictureLayer_ = other.pictureLayer_;
shootingPosition_ = other.shootingPosition_;
clearest_ = other.clearest_;
end_ = other.end_;
embryoCultureRecordId_ = other.embryoCultureRecordId_;
embryoId_ = other.embryoId_;
imageData_ = other.imageData_;
horizontalPosition_ = other.horizontalPosition_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ImageDTO Clone() {
return new ImageDTO(this);
}
/// Field number for the "tlSn" field.
public const int TlSnFieldNumber = 1;
private string tlSn_ = "";
///
///*
/// tl设备编号
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string TlSn {
get { return tlSn_; }
set {
tlSn_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "houseSn" field.
public const int HouseSnFieldNumber = 2;
private int houseSn_;
///
///*
/// 仓室编号:1-10
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int HouseSn {
get { return houseSn_; }
set {
houseSn_ = value;
}
}
/// Field number for the "wellSn" field.
public const int WellSnFieldNumber = 3;
private int wellSn_;
///
///*
/// well编号 1-16
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int WellSn {
get { return wellSn_; }
set {
wellSn_ = value;
}
}
/// Field number for the "ccdSn" field.
public const int CcdSnFieldNumber = 4;
private string ccdSn_ = "";
///
///*
/// ccd编号
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string CcdSn {
get { return ccdSn_; }
set {
ccdSn_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "sourceImageName" field.
public const int SourceImageNameFieldNumber = 5;
private string sourceImageName_ = "";
///
///*
/// 原图名字
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string SourceImageName {
get { return sourceImageName_; }
set {
sourceImageName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "sourceImagePath" field.
public const int SourceImagePathFieldNumber = 6;
private string sourceImagePath_ = "";
///
///*
/// 原图的本地路径(不是上传后的保存路径)
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string SourceImagePath {
get { return sourceImagePath_; }
set {
sourceImagePath_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "sourceImageWidth" field.
public const int SourceImageWidthFieldNumber = 7;
private int sourceImageWidth_;
///
///*
/// 原图宽
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int SourceImageWidth {
get { return sourceImageWidth_; }
set {
sourceImageWidth_ = value;
}
}
/// Field number for the "sourceImageHeight" field.
public const int SourceImageHeightFieldNumber = 8;
private int sourceImageHeight_;
///
///*
/// 原图高
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int SourceImageHeight {
get { return sourceImageHeight_; }
set {
sourceImageHeight_ = value;
}
}
/// Field number for the "imageTime" field.
public const int ImageTimeFieldNumber = 9;
private string imageTime_ = "";
///
///*
/// 设备拍摄时间 格式2020-10-10 00:00:00 如果是自动对焦 该时间为这一轮自动对焦时间
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ImageTime {
get { return imageTime_; }
set {
imageTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "fertilizationTime" field.
public const int FertilizationTimeFieldNumber = 10;
private string fertilizationTime_ = "";
///
///*
/// 受精时间 格式2020-10-10 00:00:00
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string FertilizationTime {
get { return fertilizationTime_; }
set {
fertilizationTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "photographType" field.
public const int PhotographTypeFieldNumber = 11;
private int photographType_;
///
///*
/// 对焦还是ccd拍照 1 自动对焦 0 CCD拍照
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int PhotographType {
get { return photographType_; }
set {
photographType_ = value;
}
}
/// Field number for the "totalLayer" field.
public const int TotalLayerFieldNumber = 12;
private int totalLayer_;
///
///*
/// 拍照总层数
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int TotalLayer {
get { return totalLayer_; }
set {
totalLayer_ = value;
}
}
/// Field number for the "pictureLayer" field.
public const int PictureLayerFieldNumber = 13;
private int pictureLayer_;
///
///*
/// 图片层
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int PictureLayer {
get { return pictureLayer_; }
set {
pictureLayer_ = value;
}
}
/// Field number for the "shootingPosition" field.
public const int ShootingPositionFieldNumber = 14;
private int shootingPosition_;
///
///*
/// 垂直电机位置
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ShootingPosition {
get { return shootingPosition_; }
set {
shootingPosition_ = value;
}
}
/// Field number for the "clearest" field.
public const int ClearestFieldNumber = 15;
private int clearest_;
///
///*
/// 是否是最清晰的(CCD拍照才有)0不是 1最清晰
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Clearest {
get { return clearest_; }
set {
clearest_ = value;
}
}
/// Field number for the "end" field.
public const int EndFieldNumber = 16;
private int end_;
///
///*
/// 拍照结束标记 1 结束 0 未结束 (结束后开始更新对焦起点,ccd拍照结束开始合成视频)
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int End {
get { return end_; }
set {
end_ = value;
}
}
/// Field number for the "embryoCultureRecordId" field.
public const int EmbryoCultureRecordIdFieldNumber = 17;
private ulong embryoCultureRecordId_;
///
///*
/// 培养记录id
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ulong EmbryoCultureRecordId {
get { return embryoCultureRecordId_; }
set {
embryoCultureRecordId_ = value;
}
}
/// Field number for the "embryoId" field.
public const int EmbryoIdFieldNumber = 18;
private ulong embryoId_;
///
///*
/// 胚胎id
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ulong EmbryoId {
get { return embryoId_; }
set {
embryoId_ = value;
}
}
/// Field number for the "imageData" field.
public const int ImageDataFieldNumber = 19;
private pb::ByteString imageData_ = pb::ByteString.Empty;
///
///*
/// 图片数据
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pb::ByteString ImageData {
get { return imageData_; }
set {
imageData_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "horizontalPosition" field.
public const int HorizontalPositionFieldNumber = 20;
private int horizontalPosition_;
///
///*
/// 水平电机位置
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int HorizontalPosition {
get { return horizontalPosition_; }
set {
horizontalPosition_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as ImageDTO);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ImageDTO other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (TlSn != other.TlSn) return false;
if (HouseSn != other.HouseSn) return false;
if (WellSn != other.WellSn) return false;
if (CcdSn != other.CcdSn) return false;
if (SourceImageName != other.SourceImageName) return false;
if (SourceImagePath != other.SourceImagePath) return false;
if (SourceImageWidth != other.SourceImageWidth) return false;
if (SourceImageHeight != other.SourceImageHeight) return false;
if (ImageTime != other.ImageTime) return false;
if (FertilizationTime != other.FertilizationTime) return false;
if (PhotographType != other.PhotographType) return false;
if (TotalLayer != other.TotalLayer) return false;
if (PictureLayer != other.PictureLayer) return false;
if (ShootingPosition != other.ShootingPosition) return false;
if (Clearest != other.Clearest) return false;
if (End != other.End) return false;
if (EmbryoCultureRecordId != other.EmbryoCultureRecordId) return false;
if (EmbryoId != other.EmbryoId) return false;
if (ImageData != other.ImageData) return false;
if (HorizontalPosition != other.HorizontalPosition) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (TlSn.Length != 0) hash ^= TlSn.GetHashCode();
if (HouseSn != 0) hash ^= HouseSn.GetHashCode();
if (WellSn != 0) hash ^= WellSn.GetHashCode();
if (CcdSn.Length != 0) hash ^= CcdSn.GetHashCode();
if (SourceImageName.Length != 0) hash ^= SourceImageName.GetHashCode();
if (SourceImagePath.Length != 0) hash ^= SourceImagePath.GetHashCode();
if (SourceImageWidth != 0) hash ^= SourceImageWidth.GetHashCode();
if (SourceImageHeight != 0) hash ^= SourceImageHeight.GetHashCode();
if (ImageTime.Length != 0) hash ^= ImageTime.GetHashCode();
if (FertilizationTime.Length != 0) hash ^= FertilizationTime.GetHashCode();
if (PhotographType != 0) hash ^= PhotographType.GetHashCode();
if (TotalLayer != 0) hash ^= TotalLayer.GetHashCode();
if (PictureLayer != 0) hash ^= PictureLayer.GetHashCode();
if (ShootingPosition != 0) hash ^= ShootingPosition.GetHashCode();
if (Clearest != 0) hash ^= Clearest.GetHashCode();
if (End != 0) hash ^= End.GetHashCode();
if (EmbryoCultureRecordId != 0UL) hash ^= EmbryoCultureRecordId.GetHashCode();
if (EmbryoId != 0UL) hash ^= EmbryoId.GetHashCode();
if (ImageData.Length != 0) hash ^= ImageData.GetHashCode();
if (HorizontalPosition != 0) hash ^= HorizontalPosition.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (TlSn.Length != 0) {
output.WriteRawTag(10);
output.WriteString(TlSn);
}
if (HouseSn != 0) {
output.WriteRawTag(16);
output.WriteInt32(HouseSn);
}
if (WellSn != 0) {
output.WriteRawTag(24);
output.WriteInt32(WellSn);
}
if (CcdSn.Length != 0) {
output.WriteRawTag(34);
output.WriteString(CcdSn);
}
if (SourceImageName.Length != 0) {
output.WriteRawTag(42);
output.WriteString(SourceImageName);
}
if (SourceImagePath.Length != 0) {
output.WriteRawTag(50);
output.WriteString(SourceImagePath);
}
if (SourceImageWidth != 0) {
output.WriteRawTag(56);
output.WriteInt32(SourceImageWidth);
}
if (SourceImageHeight != 0) {
output.WriteRawTag(64);
output.WriteInt32(SourceImageHeight);
}
if (ImageTime.Length != 0) {
output.WriteRawTag(74);
output.WriteString(ImageTime);
}
if (FertilizationTime.Length != 0) {
output.WriteRawTag(82);
output.WriteString(FertilizationTime);
}
if (PhotographType != 0) {
output.WriteRawTag(88);
output.WriteInt32(PhotographType);
}
if (TotalLayer != 0) {
output.WriteRawTag(96);
output.WriteInt32(TotalLayer);
}
if (PictureLayer != 0) {
output.WriteRawTag(104);
output.WriteInt32(PictureLayer);
}
if (ShootingPosition != 0) {
output.WriteRawTag(112);
output.WriteInt32(ShootingPosition);
}
if (Clearest != 0) {
output.WriteRawTag(120);
output.WriteInt32(Clearest);
}
if (End != 0) {
output.WriteRawTag(128, 1);
output.WriteInt32(End);
}
if (EmbryoCultureRecordId != 0UL) {
output.WriteRawTag(136, 1);
output.WriteUInt64(EmbryoCultureRecordId);
}
if (EmbryoId != 0UL) {
output.WriteRawTag(144, 1);
output.WriteUInt64(EmbryoId);
}
if (ImageData.Length != 0) {
output.WriteRawTag(154, 1);
output.WriteBytes(ImageData);
}
if (HorizontalPosition != 0) {
output.WriteRawTag(160, 1);
output.WriteInt32(HorizontalPosition);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (TlSn.Length != 0) {
output.WriteRawTag(10);
output.WriteString(TlSn);
}
if (HouseSn != 0) {
output.WriteRawTag(16);
output.WriteInt32(HouseSn);
}
if (WellSn != 0) {
output.WriteRawTag(24);
output.WriteInt32(WellSn);
}
if (CcdSn.Length != 0) {
output.WriteRawTag(34);
output.WriteString(CcdSn);
}
if (SourceImageName.Length != 0) {
output.WriteRawTag(42);
output.WriteString(SourceImageName);
}
if (SourceImagePath.Length != 0) {
output.WriteRawTag(50);
output.WriteString(SourceImagePath);
}
if (SourceImageWidth != 0) {
output.WriteRawTag(56);
output.WriteInt32(SourceImageWidth);
}
if (SourceImageHeight != 0) {
output.WriteRawTag(64);
output.WriteInt32(SourceImageHeight);
}
if (ImageTime.Length != 0) {
output.WriteRawTag(74);
output.WriteString(ImageTime);
}
if (FertilizationTime.Length != 0) {
output.WriteRawTag(82);
output.WriteString(FertilizationTime);
}
if (PhotographType != 0) {
output.WriteRawTag(88);
output.WriteInt32(PhotographType);
}
if (TotalLayer != 0) {
output.WriteRawTag(96);
output.WriteInt32(TotalLayer);
}
if (PictureLayer != 0) {
output.WriteRawTag(104);
output.WriteInt32(PictureLayer);
}
if (ShootingPosition != 0) {
output.WriteRawTag(112);
output.WriteInt32(ShootingPosition);
}
if (Clearest != 0) {
output.WriteRawTag(120);
output.WriteInt32(Clearest);
}
if (End != 0) {
output.WriteRawTag(128, 1);
output.WriteInt32(End);
}
if (EmbryoCultureRecordId != 0UL) {
output.WriteRawTag(136, 1);
output.WriteUInt64(EmbryoCultureRecordId);
}
if (EmbryoId != 0UL) {
output.WriteRawTag(144, 1);
output.WriteUInt64(EmbryoId);
}
if (ImageData.Length != 0) {
output.WriteRawTag(154, 1);
output.WriteBytes(ImageData);
}
if (HorizontalPosition != 0) {
output.WriteRawTag(160, 1);
output.WriteInt32(HorizontalPosition);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (TlSn.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(TlSn);
}
if (HouseSn != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(HouseSn);
}
if (WellSn != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(WellSn);
}
if (CcdSn.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(CcdSn);
}
if (SourceImageName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(SourceImageName);
}
if (SourceImagePath.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(SourceImagePath);
}
if (SourceImageWidth != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(SourceImageWidth);
}
if (SourceImageHeight != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(SourceImageHeight);
}
if (ImageTime.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ImageTime);
}
if (FertilizationTime.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(FertilizationTime);
}
if (PhotographType != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(PhotographType);
}
if (TotalLayer != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(TotalLayer);
}
if (PictureLayer != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(PictureLayer);
}
if (ShootingPosition != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ShootingPosition);
}
if (Clearest != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Clearest);
}
if (End != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(End);
}
if (EmbryoCultureRecordId != 0UL) {
size += 2 + pb::CodedOutputStream.ComputeUInt64Size(EmbryoCultureRecordId);
}
if (EmbryoId != 0UL) {
size += 2 + pb::CodedOutputStream.ComputeUInt64Size(EmbryoId);
}
if (ImageData.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeBytesSize(ImageData);
}
if (HorizontalPosition != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(HorizontalPosition);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ImageDTO other) {
if (other == null) {
return;
}
if (other.TlSn.Length != 0) {
TlSn = other.TlSn;
}
if (other.HouseSn != 0) {
HouseSn = other.HouseSn;
}
if (other.WellSn != 0) {
WellSn = other.WellSn;
}
if (other.CcdSn.Length != 0) {
CcdSn = other.CcdSn;
}
if (other.SourceImageName.Length != 0) {
SourceImageName = other.SourceImageName;
}
if (other.SourceImagePath.Length != 0) {
SourceImagePath = other.SourceImagePath;
}
if (other.SourceImageWidth != 0) {
SourceImageWidth = other.SourceImageWidth;
}
if (other.SourceImageHeight != 0) {
SourceImageHeight = other.SourceImageHeight;
}
if (other.ImageTime.Length != 0) {
ImageTime = other.ImageTime;
}
if (other.FertilizationTime.Length != 0) {
FertilizationTime = other.FertilizationTime;
}
if (other.PhotographType != 0) {
PhotographType = other.PhotographType;
}
if (other.TotalLayer != 0) {
TotalLayer = other.TotalLayer;
}
if (other.PictureLayer != 0) {
PictureLayer = other.PictureLayer;
}
if (other.ShootingPosition != 0) {
ShootingPosition = other.ShootingPosition;
}
if (other.Clearest != 0) {
Clearest = other.Clearest;
}
if (other.End != 0) {
End = other.End;
}
if (other.EmbryoCultureRecordId != 0UL) {
EmbryoCultureRecordId = other.EmbryoCultureRecordId;
}
if (other.EmbryoId != 0UL) {
EmbryoId = other.EmbryoId;
}
if (other.ImageData.Length != 0) {
ImageData = other.ImageData;
}
if (other.HorizontalPosition != 0) {
HorizontalPosition = other.HorizontalPosition;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
TlSn = input.ReadString();
break;
}
case 16: {
HouseSn = input.ReadInt32();
break;
}
case 24: {
WellSn = input.ReadInt32();
break;
}
case 34: {
CcdSn = input.ReadString();
break;
}
case 42: {
SourceImageName = input.ReadString();
break;
}
case 50: {
SourceImagePath = input.ReadString();
break;
}
case 56: {
SourceImageWidth = input.ReadInt32();
break;
}
case 64: {
SourceImageHeight = input.ReadInt32();
break;
}
case 74: {
ImageTime = input.ReadString();
break;
}
case 82: {
FertilizationTime = input.ReadString();
break;
}
case 88: {
PhotographType = input.ReadInt32();
break;
}
case 96: {
TotalLayer = input.ReadInt32();
break;
}
case 104: {
PictureLayer = input.ReadInt32();
break;
}
case 112: {
ShootingPosition = input.ReadInt32();
break;
}
case 120: {
Clearest = input.ReadInt32();
break;
}
case 128: {
End = input.ReadInt32();
break;
}
case 136: {
EmbryoCultureRecordId = input.ReadUInt64();
break;
}
case 144: {
EmbryoId = input.ReadUInt64();
break;
}
case 154: {
ImageData = input.ReadBytes();
break;
}
case 160: {
HorizontalPosition = input.ReadInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
TlSn = input.ReadString();
break;
}
case 16: {
HouseSn = input.ReadInt32();
break;
}
case 24: {
WellSn = input.ReadInt32();
break;
}
case 34: {
CcdSn = input.ReadString();
break;
}
case 42: {
SourceImageName = input.ReadString();
break;
}
case 50: {
SourceImagePath = input.ReadString();
break;
}
case 56: {
SourceImageWidth = input.ReadInt32();
break;
}
case 64: {
SourceImageHeight = input.ReadInt32();
break;
}
case 74: {
ImageTime = input.ReadString();
break;
}
case 82: {
FertilizationTime = input.ReadString();
break;
}
case 88: {
PhotographType = input.ReadInt32();
break;
}
case 96: {
TotalLayer = input.ReadInt32();
break;
}
case 104: {
PictureLayer = input.ReadInt32();
break;
}
case 112: {
ShootingPosition = input.ReadInt32();
break;
}
case 120: {
Clearest = input.ReadInt32();
break;
}
case 128: {
End = input.ReadInt32();
break;
}
case 136: {
EmbryoCultureRecordId = input.ReadUInt64();
break;
}
case 144: {
EmbryoId = input.ReadUInt64();
break;
}
case 154: {
ImageData = input.ReadBytes();
break;
}
case 160: {
HorizontalPosition = input.ReadInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code