123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Flyinsono.DBCopy.Tool.Entities
- {
- internal class TerminalAIDatas
- {
- public string Id { get; private set; }
- public DateTime CreateTime { get; private set; }
- public DateTime UpdateTime { get; set; }
-
-
-
- public string TerminalDataId { get; set; }
-
-
-
- public IList<AIDiagResult> DiagResults { get; set; }
-
-
-
- public EnumAiDiagnosisStatus AIDiagnosisStatus { get; set; }
- }
- internal class AIDiagResult
- {
-
-
-
- public int Index { get; set; }
-
-
-
- public AIDiagResultPerImgForDB ImageDiagResult { get; set; }
- }
- internal class AIDiagResultPerImgForDB
- {
-
-
-
- public float PriorityScore { get; set; }
-
-
-
- public IList<AIDiagResultPerOrganForDB> DiagResultsForEachOrgan { get; set; }
- }
- public enum EnumOrgans
- {
- Null = 0,
- NotSpecified = 1,
- Breast = 2,
- Abdomen = 3,
- Liver = 4,
- Cholecyst = 5,
-
-
-
- Thyroid = 9,
- }
- public class AIDiagResultPerOrganForDB
- {
-
-
-
- public EnumOrgans Organ { get; set; }
-
-
-
- public IList<DetectedObjectForDB> DetectedObjects { get; set; }
-
-
-
- public VcloudRectangle OrganBoundBox { get; set; }
-
-
-
- public IList<VcloudPoint> OrganContour { get; set; }
- }
- public class VcloudPoint
- {
-
-
-
- public int X { get; set; }
-
-
-
- public int Y { get; set; }
- }
- public class VcloudRectangle
- {
-
-
-
- public int Left { get; set; }
-
-
-
- public int Top { get; set; }
-
-
-
- public int Right { get; set; }
-
-
-
- public int Bottom { get; set; }
-
-
-
- public int Width { get; set; }
-
-
-
- public int Height { get; set; }
- }
- public class DetectedObjectForDB
- {
-
-
-
- public int Label { get; set; }
-
-
-
- public float Confidence { get; set; }
-
-
-
- public VcloudRectangle BoundingBox { get; set; }
-
-
-
- public List<VcloudPoint> Contour { get; set; }
-
-
-
- public List<Description> Descriptions { get; set; }
- }
- public class Description
- {
-
-
-
- public EnumDescriptionType DescriptionType { get; set; }
-
-
-
- public string DescriptionValue { get; set; }
- }
- public enum EnumDescriptionType
- {
- Shape,
- Orientation,
- EchoPattern,
- LesionBoundary,
- Margin,
- Calcification,
- LesionSize,
- }
- }
|