Debian Codegraph @

javactn/DICOM/Module/WaveformChannel.java

raw
1 /* Waveform Channel Interface */
2
3 package DICOM.Module;
4 import DICOM.Misc.CodedValue;
5
6 public class WaveformChannel {
7
8 private int ChannelNumber;
9 private String ChannelLabel;
10 private String ChannelStatus;
11 private float ChannelSensitivity;
12 private float ChannelSensitivityCorrectionFactor;
13 private float ChannelBaseline;
14 private int BitsPerSample;
15 private DICOM.Misc.CodedValue ChannelSource;
16 private DICOM.Misc.CodedValue ChannelSensitivityUnits;
17
18 public WaveformChannel() {
19 ChannelSource = new DICOM.Misc.CodedValue();
20 ChannelSensitivityUnits = new DICOM.Misc.CodedValue();
21 }
22
23 public int getChannelNumber() {
24 return ChannelNumber;
25 }
26 public String getChannelLabel() {
27 return ChannelLabel;
28 }
29 public String getChannelStatus() {
30 return ChannelStatus;
31 }
32 public float getChannelSensitivity() {
33 return ChannelSensitivity;
34 }
35 public float getChannelSensitivityCorrectionFactor() {
36 return ChannelSensitivityCorrectionFactor;
37 }
38 public float getChannelBaseline() {
39 return ChannelBaseline;
40 }
41 public int getBitsPerSample() {
42 return BitsPerSample;
43 }
44 public DICOM.Misc.CodedValue getChannelSource() {
45 return ChannelSource;
46 }
47 public DICOM.Misc.CodedValue getChannelSensitivityUnits() {
48 return ChannelSensitivityUnits;
49 }
50
51 public void dumpState() {
52 System.out.println(" Channel Number: " + ChannelNumber);
53 System.out.println(" Channel Label: " + ChannelLabel);
54 System.out.println(" Channel Status: " + ChannelStatus);
55 System.out.println(" Channel Sensitivity: " + ChannelSensitivity);
56 System.out.println(" Sens Correction: " + ChannelSensitivityCorrectionFactor);
57 System.out.println(" Channel Baseline: " + ChannelBaseline);
58 System.out.println(" Bits Per Sample: " + BitsPerSample);
59 System.out.println(" Channel Source:");
60 ChannelSource.dumpState();
61 System.out.println(" Sensitivity Units:");
62 ChannelSensitivityUnits.dumpState();
63 }
64 }