예제 #1
0
        public String UnitsName(int chan, int rec, ADIDataFlags scalingType)
        {
            IAutoADIString adiStr = mADIData.GetUnitsName(scalingType, new ADIChannelId(chan), rec);

            return(adiStr != null?adiStr.GetBStr() : "");
        }
예제 #2
0
        public String PrefixedUnitsName(int chan, int rec)
        {
            IAutoADIString adiStr = mADIData.GetUnitsName(ADIDataFlags.kADIDataScaleToPrefixedUnits, new ADIChannelId(chan), rec);

            return(adiStr != null?adiStr.GetBStr() : "");
        }
예제 #3
0
        public String ChannelName(int chan)
        {
            IAutoADIString adiStr = mADIData.GetChannelName(new ADIChannelId(chan));

            return(adiStr != null?adiStr.GetBStr() : "");
        }