public void GetCalBoxData() { CalBoxData = new CalBoxData(); if (_calBoxToMatrix.Connected & _calBoxToVertex.Connected) { _calBoxToMatrix.GetCalBoxData(); _calBoxToVertex.GetCalBoxData(); } else if (_calBoxWhole.Connected) { _calBoxWhole.GetCalBoxData(); CalBoxData = _calBoxWhole.CalBoxData; } else { throw new Exception("Switch connect error."); } }
public CalBox(DeviceData deviceData) : base(deviceData) { CalBoxData = new CalBoxData(); }
public SignalPath(Matrix matrix, CalBoxData calBoxData) { _calBoxData = calBoxData; _matrix = matrix; }