本文整理汇总了C#中ST类的典型用法代码示例。如果您正苦于以下问题:C# ST类的具体用法?C# ST怎么用?C# ST使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ST类属于命名空间,在下文中一共展示了ST类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: VR
///<summary>
/// Creates a VR.
/// <param name="message">The Message to which this Type belongs</param>
///</summary>
public VR(Message message, string description)
: base(message, description)
{
data = new Type[2];
data[0] = new ST(message,"First data code value");
data[1] = new ST(message,"Last data code calue");
}
示例2: QIP
///<summary>
/// Creates a QIP.
/// <param name="message">The Message to which this Type belongs</param>
///</summary>
public QIP(Message message, string description)
: base(message, description)
{
data = new Type[2];
data[0] = new ST(message,"Segment field name");
data[1] = new ST(message,"Value1&value2&value3");
}
示例3: btnRender_Click
private void btnRender_Click(object sender, EventArgs e)
{
ST st = new ST();
// Determine if null flavor should be attached to the object
if (cbxNullFlavor.SelectedItem != null)
switch (cbxNullFlavor.SelectedItem.ToString())
{
case "NAV":
st.NullFlavor = NullFlavor.Unavailable;
break;
case "OTH":
st.NullFlavor = NullFlavor.Other;
break;
case "NI":
st.NullFlavor = NullFlavor.NoInformation;
break;
default:
st.NullFlavor = null;
break;
}
// Set the language
if (txtLanguage.Text != String.Empty)
st.Language = txtLanguage.Text;
// Set the text
st.Value = txtText.Text;
// Represent in txtXml
txtXml.Text = FormatterHelper.FormatDataType(st, "ST");
}
示例4: WVI
///<summary>
/// Creates a WVI.
/// <param name="message">The Message to which this Type belongs</param>
///</summary>
public WVI(Message message, string description)
: base(message, description)
{
data = new Type[2];
data[0] = new NM(message,"Channel Number");
data[1] = new ST(message,"Channel Name");
}
示例5: TS
///<summary>
/// Creates a TS.
/// <param name="message">The Message to which this Type belongs</param>
///</summary>
public TS(Message message, string description)
: base(message, description)
{
data = new Type[2];
data[0] = new TSComponentOne(message,"Time of an event");
data[1] = new ST(message,"Degree of precision");
}
示例6: SCV
///<summary>
/// Creates a SCV.
/// <param name="message">The Message to which this Type belongs</param>
///</summary>
public SCV(Message message, string description)
: base(message, description)
{
data = new Type[2];
data[0] = new IS(message, 0,"Parameter class");
data[1] = new ST(message,"Parameter value");
}
示例7: WVS
///<summary>
/// Creates a WVS.
/// <param name="message">The Message to which this Type belongs</param>
///</summary>
public WVS(Message message, string description)
: base(message, description)
{
data = new Type[2];
data[0] = new ST(message,"Source name 1");
data[1] = new ST(message,"Source name 2");
}
示例8: SRT
///<summary>
/// Creates a SRT.
/// <param name="message">The Message to which this Type belongs</param>
///</summary>
public SRT(Message message, string description)
: base(message, description)
{
data = new Type[2];
data[0] = new ST(message,"Sort-by field");
data[1] = new ID(message, 0,"Sequencing");
}
示例9: RI
///<summary>
/// Creates a RI.
/// <param name="message">The Message to which this Type belongs</param>
///</summary>
public RI(Message message, string description)
: base(message, description)
{
data = new Type[2];
data[0] = new IS(message, 0,"Repeat pattern");
data[1] = new ST(message,"Explicit time interval");
}
示例10: PI
///<summary>
/// Creates a PI.
/// <param name="message">The Message to which this Type belongs</param>
///</summary>
public PI(Message message, string description)
: base(message, description)
{
data = new Type[3];
data[0] = new ST(message,"ID number (ST)");
data[1] = new IS(message, 0,"Type of ID number (IS)");
data[2] = new ST(message,"Other qualifying info");
}
示例11: RCD
///<summary>
/// Creates a RCD.
/// <param name="message">The Message to which this Type belongs</param>
///</summary>
public RCD(Message message, string description)
: base(message, description)
{
data = new Type[3];
data[0] = new ST(message,"Segment field name");
data[1] = new ST(message,"HL7 date type");
data[2] = new NM(message,"Maximum column width");
}
示例12: SAD
///<summary>
/// Creates a SAD.
/// <param name="message">The Message to which this Type belongs</param>
///</summary>
public SAD(Message message, string description)
: base(message, description)
{
data = new Type[3];
data[0] = new ST(message,"Street or mailing address");
data[1] = new ST(message,"Street name");
data[2] = new ST(message,"Dwelling number");
}
示例13: DLN
///<summary>
/// Creates a DLN.
/// <param name="message">The Message to which this Type belongs</param>
///</summary>
public DLN(Message message, string description)
: base(message, description)
{
data = new Type[3];
data[0] = new ST(message,"Driver´s License Number");
data[1] = new IS(message, 0,"Issuing State, province, country");
data[2] = new DT(message,"Expiration date");
}
示例14: AUI
///<summary>
/// Creates a AUI.
/// <param name="message">The Message to which this Type belongs</param>
///</summary>
public AUI(Message message, string description)
: base(message, description)
{
data = new Type[3];
data[0] = new ST(message,"Authorization number");
data[1] = new DT(message,"Date");
data[2] = new ST(message,"Source");
}
示例15: HD
///<summary>
/// Creates a HD.
/// <param name="message">The Message to which this Type belongs</param>
///</summary>
public HD(Message message, string description)
: base(message, description)
{
data = new Type[3];
data[0] = new IS(message, 300,"Namespace ID");
data[1] = new ST(message,"Universal ID");
data[2] = new ID(message, 301,"Universal ID type");
}