public String UnitsName(int chan, int rec, ADIDataFlags scalingType) { IAutoADIString adiStr = mADIData.GetUnitsName(scalingType, new ADIChannelId(chan), rec); return(adiStr != null?adiStr.GetBStr() : ""); }
public String PrefixedUnitsName(int chan, int rec) { IAutoADIString adiStr = mADIData.GetUnitsName(ADIDataFlags.kADIDataScaleToPrefixedUnits, new ADIChannelId(chan), rec); return(adiStr != null?adiStr.GetBStr() : ""); }
public String ChannelName(int chan) { IAutoADIString adiStr = mADIData.GetChannelName(new ADIChannelId(chan)); return(adiStr != null?adiStr.GetBStr() : ""); }