Пример #1
0
 public double GetDataField(MssMsgDataField field)
 {
     if (field == MssMsgDataField.Data1)
     {
         return(this.Data1);
     }
     else if (field == MssMsgDataField.Data2)
     {
         return(this.Data2);
     }
     else if (field == MssMsgDataField.Data3)
     {
         return(this.Data3);
     }
     else
     {
         //unknown MssMsgDataField
         Debug.Assert(false);
         return(-1);
     }
 }
Пример #2
0
 public string GetDataFieldName(MssMsgDataField field)
 {
     if (field == MssMsgDataField.Data1)
     {
         return(this.Data1Name);
     }
     else if (field == MssMsgDataField.Data2)
     {
         return(this.Data2Name);
     }
     else if (field == MssMsgDataField.Data3)
     {
         return(this.Data3Name);
     }
     else
     {
         //unknown MssMsgDataField
         Debug.Assert(false);
         return("");
     }
 }
Пример #3
0
 public double GetDataField(MssMsgDataField field)
 {
     if (field == MssMsgDataField.Data1)
     {
         return this.Data1;
     }
     else if (field == MssMsgDataField.Data2)
     {
         return this.Data2;
     }
     else if (field == MssMsgDataField.Data3)
     {
         return this.Data3;
     }
     else
     {
         //unknown MssMsgDataField
         Debug.Assert(false);
         return -1;
     }
 }
Пример #4
0
 public string GetDataFieldName(MssMsgDataField field)
 {
     return staticInfo.GetDataFieldName(field);
 }
Пример #5
0
 public string GetDataFieldName(MssMsgDataField field)
 {
     return(staticInfo.GetDataFieldName(field));
 }
 public string GetDataFieldName(MssMsgDataField field)
 {
     if (field == MssMsgDataField.Data1)
     {
         return this.Data1Name;
     }
     else if (field == MssMsgDataField.Data2)
     {
         return this.Data2Name;
     }
     else if (field == MssMsgDataField.Data3)
     {
         return this.Data3Name;
     }
     else
     {
         //unknown MssMsgDataField
         Debug.Assert(false);
         return "";
     }
 }
Пример #7
0
        public MappingEntry()
        {
            this.PrimaryInputSource = DEFAULT_INPUT_TYPE;

            this.ActiveTransformPresetName = TransformPresetMgr.DEFAULT_TRANSFORM_PRESET_NAME;
        }