当前位置: 首页>>代码示例>>C#>>正文


C# ST类代码示例

本文整理汇总了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");
 }
开发者ID:snosrap,项目名称:nhapi,代码行数:11,代码来源:VR.cs

示例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");
 }
开发者ID:snosrap,项目名称:nhapi,代码行数:11,代码来源:QIP.cs

示例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");
 }
开发者ID:oneminot,项目名称:everest,代码行数:28,代码来源:frmString.cs

示例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");
 }
开发者ID:snosrap,项目名称:nhapi,代码行数:11,代码来源:WVI.cs

示例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");
 }
开发者ID:snosrap,项目名称:nhapi,代码行数:11,代码来源:TS.cs

示例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");
 }
开发者ID:snosrap,项目名称:nhapi,代码行数:11,代码来源:SCV.cs

示例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");
 }
开发者ID:snosrap,项目名称:nhapi,代码行数:11,代码来源:WVS.cs

示例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");
 }
开发者ID:snosrap,项目名称:nhapi,代码行数:11,代码来源:SRT.cs

示例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");
 }
开发者ID:snosrap,项目名称:nhapi,代码行数:11,代码来源:RI.cs

示例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");
 }
开发者ID:snosrap,项目名称:nhapi,代码行数:12,代码来源:PI.cs

示例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");
 }
开发者ID:snosrap,项目名称:nhapi,代码行数:12,代码来源:RCD.cs

示例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");
 }
开发者ID:snosrap,项目名称:nhapi,代码行数:12,代码来源:SAD.cs

示例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");
 }
开发者ID:snosrap,项目名称:nhapi,代码行数:12,代码来源:DLN.cs

示例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");
 }
开发者ID:snosrap,项目名称:nhapi,代码行数:12,代码来源:AUI.cs

示例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");
 }
开发者ID:snosrap,项目名称:nhapi,代码行数:12,代码来源:HD.cs


注:本文中的ST类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。