public PSSeries(DbDataReader reader) : base(reader) { IntSerID = (uint)reader["IntSerID"]; IntStuID = (uint)reader["IntStuID"]; SerSizeKB = (uint)reader["SerSizeKB"]; LastUsedTime = PSDatabase.GetDateTimeFromDbDatetime(reader["LastUsedTime"]); }
public PSImage(DbDataReader reader) { ImaInstID = (string)reader["ImaInstID"]; IntSerID = Convert.ToUInt32(reader["IntSerID"]); SOPClassID = (string)reader["SOPClassID"]; TransferSyntaxID = (string)reader["TransferSyntaxID"]; ImaNum = Convert.ToUInt32(reader["ImaNum"]); FileSizeKB = Convert.ToUInt32(reader["FileSizeKB"]); Path = (string)reader["Path"]; SendingAE = (string)reader["SendingAE"]; LastUsedTime = PSDatabase.GetDateTimeFromDbDatetime(reader["LastUsedTime"]); }
public PSPatient(DbDataReader reader) { IntPatID = Convert.ToInt32(reader["IntPatID"]); PatID = (string)reader["PatID"]; PatName = (string)reader["PatName"]; PatBirthDate = PSDatabase.GetDateTimeFromDbDateAndTimeStrings(reader["PatBirthDate"].ToString()); PatSex = (string)reader["PatSex"]; NumStudies = Convert.ToInt32(reader["NumStudies"]); NumSeries = Convert.ToInt32(reader["PatientsNumSeries"]); NumImages = Convert.ToInt32(reader["PatientsNumImages"]); PatSizeKB = Convert.ToSingle(reader["PatSizeKB"]); LastUsedTime = PSDatabase.GetDateTimeFromDbDatetime(reader["LastUsedTime"]); }
public PSStudy(DbDataReader reader) : base(reader) { IntStuID = Convert.ToInt32(reader["IntStuID"]); IntPatID = Convert.ToInt32(reader["IntPatID"]); PatID = (string)reader["PatID"]; NumSeries = Convert.ToInt32(reader["StudiesNumSeries"]); NumImages = Convert.ToInt32(reader["StudiesNumImages"]); StuSizeKB = Convert.ToInt32(reader["StuSizeKB"]); StuID = (string)reader["StuID"]; RefPhysician = (string)reader["RefPhysician"]; DeptName = (string)reader["DeptName"]; LastUsedTime = PSDatabase.GetDateTimeFromDbDatetime(reader["LastUsedTime"]); }