Beispiel #1
0
        public static SFCS GetSFCS(LogManager Logger)
        {
            string name = CyBLE_MTK_Application.Properties.Settings.Default.SFCSInterface.ToLower();

            if (_SFCS != null && name == _SFCSName)
            {
                return(_SFCS);
            }

            _SFCSName = name;

            switch (_SFCSName)
            {
            case "":
                _SFCS = new SFCS(Logger);
                break;

            case "fittec":
                _SFCS = new SFCS_FITTEC(Logger);
                break;

            case "sigma":
                _SFCS = new SFCS_SIGMA(Logger);
                break;

            default:
                _SFCS = new SFCS_LOCAL(Logger, "SFCS_" + name + ".csv");
                break;
            }

            return(_SFCS);
        }
Beispiel #2
0
        public static SFCS GetSFCS(string SFCSInterfaceName)
        {
            string name = SFCSInterfaceName;

            if (_SFCS != null && name == _SFCSName)
            {
                return(_SFCS);
            }

            _SFCSName = name;

            switch (_SFCSName)
            {
            case "":
                _SFCS = new SFCS();
                break;

            case "fittec":
                _SFCS = new SFCS_FITTEC();
                break;

            case "sigma":
                _SFCS = new SFCS_SIGMA();
                break;

            default:
                _SFCS = new SFCS_LOCAL("SFCS_" + name + ".csv");
                break;
            }

            return(_SFCS);
        }
Beispiel #3
0
 public CyBLEMTKRobotServer(LogManager Logger) : base(Logger)
 {
     SFCSImp = new SFCS(Logger);
     SFCSImp = SFCS.GetSFCS(Logger);
 }