/// <summary> /// .ctor /// </summary> /// <param name="parent"></param> public ColumnBase(DrawingGrid parent) { this.ParentGrid = parent; Cells = new List <DrawingGridColumnCell>(); this._visible = true; this.TopOffsetUnit = this.ParentGrid.Caption.HeightUnit; }
public DrawingDataColumn(DrawingGrid parent, ThreeItemsColumnData val) : base(parent) { string regId = parent.PatInfo.RegID; this.m_mthSetVisible(regId, parent.PageIndex, true); this.TempuPoint = new List <ValuePoint>(); this.PulsePoints = new List <ValuePoint>(); this.HeartRatePoints = new List <ValuePoint>(); this.BreathPoint = new List <ValuePoint>(); this.BloodPressurePoint = new List <ValuePoint>(); this.TotalLiqPoint = null; this.ExcrementPoint = null; this.UrinePoint = null; this.Other1Point = new List <ValuePoint>(); this.PeauTestPoint = new List <ValuePoint>(); this.Other2Point = new List <ValuePoint>(); this.EventPoints = new List <EventPoint>(); this.Value = val; this.OperationCount = 0; this.HasOperation = false; if (val != null) { this.Date = this.Value.RecDate; } }
/// <summary> /// 加载数据并生成图像 /// </summary> /// <param name="data"></param> public void LoadData(EntityEmrTemperaturePatInfo pInfo, List <EntityEmrTemperatureMonitorData> listValues, List <EntityEmrTemperatureChartEvent> listEvent) { this.ColumnsData = GetColumnsData(listValues, listEvent); grid = new DrawingGrid(this.SizePerUnit, this.ColumnsPerPage); grid.evtTextChanged += new DrawingGrid.dgtTextChanged(grid_evtTextChanged); grid.PageIndex = this.PageIndex; grid.LoadData(pInfo, ColumnsData); Draw(false); }
public GridCaption(DrawingGrid parent) { ParentGrid = parent; this.HeightUnit = ThreeItemConstValue.CaptionHeightUnit; }
public RowHeaderColumn(DrawingGrid parent) : base(parent) { }