| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024 |
- // <auto-generated>
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: ImageDTO.proto
- // </auto-generated>
- #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 {
- /// <summary>Holder for reflection information generated from ImageDTO.proto</summary>
- public static partial class ImageDTOReflection {
- #region Descriptor
- /// <summary>File descriptor for ImageDTO.proto</summary>
- 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<ImageDTO>
- #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
- , pb::IBufferMessage
- #endif
- {
- private static readonly pb::MessageParser<ImageDTO> _parser = new pb::MessageParser<ImageDTO>(() => new ImageDTO());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public static pb::MessageParser<ImageDTO> 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);
- }
- /// <summary>Field number for the "tlSn" field.</summary>
- public const int TlSnFieldNumber = 1;
- private string tlSn_ = "";
- /// <summary>
- ///*
- /// tl设备编号
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public string TlSn {
- get { return tlSn_; }
- set {
- tlSn_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
- /// <summary>Field number for the "houseSn" field.</summary>
- public const int HouseSnFieldNumber = 2;
- private int houseSn_;
- /// <summary>
- ///*
- /// 仓室编号:1-10
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int HouseSn {
- get { return houseSn_; }
- set {
- houseSn_ = value;
- }
- }
- /// <summary>Field number for the "wellSn" field.</summary>
- public const int WellSnFieldNumber = 3;
- private int wellSn_;
- /// <summary>
- ///*
- /// well编号 1-16
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int WellSn {
- get { return wellSn_; }
- set {
- wellSn_ = value;
- }
- }
- /// <summary>Field number for the "ccdSn" field.</summary>
- public const int CcdSnFieldNumber = 4;
- private string ccdSn_ = "";
- /// <summary>
- ///*
- /// ccd编号
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public string CcdSn {
- get { return ccdSn_; }
- set {
- ccdSn_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
- /// <summary>Field number for the "sourceImageName" field.</summary>
- public const int SourceImageNameFieldNumber = 5;
- private string sourceImageName_ = "";
- /// <summary>
- ///*
- /// 原图名字
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public string SourceImageName {
- get { return sourceImageName_; }
- set {
- sourceImageName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
- /// <summary>Field number for the "sourceImagePath" field.</summary>
- public const int SourceImagePathFieldNumber = 6;
- private string sourceImagePath_ = "";
- /// <summary>
- ///*
- /// 原图的本地路径(不是上传后的保存路径)
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public string SourceImagePath {
- get { return sourceImagePath_; }
- set {
- sourceImagePath_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
- /// <summary>Field number for the "sourceImageWidth" field.</summary>
- public const int SourceImageWidthFieldNumber = 7;
- private int sourceImageWidth_;
- /// <summary>
- ///*
- /// 原图宽
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int SourceImageWidth {
- get { return sourceImageWidth_; }
- set {
- sourceImageWidth_ = value;
- }
- }
- /// <summary>Field number for the "sourceImageHeight" field.</summary>
- public const int SourceImageHeightFieldNumber = 8;
- private int sourceImageHeight_;
- /// <summary>
- ///*
- /// 原图高
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int SourceImageHeight {
- get { return sourceImageHeight_; }
- set {
- sourceImageHeight_ = value;
- }
- }
- /// <summary>Field number for the "imageTime" field.</summary>
- public const int ImageTimeFieldNumber = 9;
- private string imageTime_ = "";
- /// <summary>
- ///*
- /// 设备拍摄时间 格式2020-10-10 00:00:00 如果是自动对焦 该时间为这一轮自动对焦时间
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public string ImageTime {
- get { return imageTime_; }
- set {
- imageTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
- /// <summary>Field number for the "fertilizationTime" field.</summary>
- public const int FertilizationTimeFieldNumber = 10;
- private string fertilizationTime_ = "";
- /// <summary>
- ///*
- /// 受精时间 格式2020-10-10 00:00:00
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public string FertilizationTime {
- get { return fertilizationTime_; }
- set {
- fertilizationTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
- /// <summary>Field number for the "photographType" field.</summary>
- public const int PhotographTypeFieldNumber = 11;
- private int photographType_;
- /// <summary>
- ///*
- /// 对焦还是ccd拍照 1 自动对焦 0 CCD拍照
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int PhotographType {
- get { return photographType_; }
- set {
- photographType_ = value;
- }
- }
- /// <summary>Field number for the "totalLayer" field.</summary>
- public const int TotalLayerFieldNumber = 12;
- private int totalLayer_;
- /// <summary>
- ///*
- /// 拍照总层数
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int TotalLayer {
- get { return totalLayer_; }
- set {
- totalLayer_ = value;
- }
- }
- /// <summary>Field number for the "pictureLayer" field.</summary>
- public const int PictureLayerFieldNumber = 13;
- private int pictureLayer_;
- /// <summary>
- ///*
- /// 图片层
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int PictureLayer {
- get { return pictureLayer_; }
- set {
- pictureLayer_ = value;
- }
- }
- /// <summary>Field number for the "shootingPosition" field.</summary>
- public const int ShootingPositionFieldNumber = 14;
- private int shootingPosition_;
- /// <summary>
- ///*
- /// 垂直电机位置
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int ShootingPosition {
- get { return shootingPosition_; }
- set {
- shootingPosition_ = value;
- }
- }
- /// <summary>Field number for the "clearest" field.</summary>
- public const int ClearestFieldNumber = 15;
- private int clearest_;
- /// <summary>
- ///*
- /// 是否是最清晰的(CCD拍照才有)0不是 1最清晰
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int Clearest {
- get { return clearest_; }
- set {
- clearest_ = value;
- }
- }
- /// <summary>Field number for the "end" field.</summary>
- public const int EndFieldNumber = 16;
- private int end_;
- /// <summary>
- ///*
- /// 拍照结束标记 1 结束 0 未结束 (结束后开始更新对焦起点,ccd拍照结束开始合成视频)
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public int End {
- get { return end_; }
- set {
- end_ = value;
- }
- }
- /// <summary>Field number for the "embryoCultureRecordId" field.</summary>
- public const int EmbryoCultureRecordIdFieldNumber = 17;
- private ulong embryoCultureRecordId_;
- /// <summary>
- ///*
- /// 培养记录id
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public ulong EmbryoCultureRecordId {
- get { return embryoCultureRecordId_; }
- set {
- embryoCultureRecordId_ = value;
- }
- }
- /// <summary>Field number for the "embryoId" field.</summary>
- public const int EmbryoIdFieldNumber = 18;
- private ulong embryoId_;
- /// <summary>
- ///*
- /// 胚胎id
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
- public ulong EmbryoId {
- get { return embryoId_; }
- set {
- embryoId_ = value;
- }
- }
- /// <summary>Field number for the "imageData" field.</summary>
- public const int ImageDataFieldNumber = 19;
- private pb::ByteString imageData_ = pb::ByteString.Empty;
- /// <summary>
- ///*
- /// 图片数据
- /// </summary>
- [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");
- }
- }
- /// <summary>Field number for the "horizontalPosition" field.</summary>
- public const int HorizontalPositionFieldNumber = 20;
- private int horizontalPosition_;
- /// <summary>
- ///*
- /// 水平电机位置
- /// </summary>
- [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
|