| | |
| | | this.chartTitle = config.MainChartTitle; |
| | | DataContext = this; |
| | | InitializeComponent(); |
| | | mainGrid.Columns = config.PositionColumn; |
| | | this.chart = new Chart(this.chartTitle, false, config.MaxSize, config.RefreshInterval); |
| | | this.multiChart = new Chart(config.DetailChartTitle, true, config.MaxSize, config.RefreshInterval) |
| | | { |
| | |
| | | |
| | | for (int i = 0; i < this.cellCount; i++) |
| | | { |
| | | var cell = new SingleCell(title, i, config.CellListMaxSize); |
| | | var cell = new SingleCell(title, i, config.CellListMaxSize, countIniPath); |
| | | mainGrid.Children.Add(cell); |
| | | cells[i] = cell; |
| | | } |
| | |
| | | string LookupStr = e.name == "Zone1" ? $"StationState.SN[{dutNo}]" : $"StationState.SN[{(dutNo + 54)}]"; |
| | | |
| | | parent.engine.Globals.SetValString(LookupStr, 0, snrCode); |
| | | parent.engine.CommitGlobalsToDisk(promptOnSaveConflicts: false); |
| | | string code = parent.engine.Globals.GetValString(LookupStr, 0); |
| | | parent.nameTables[cellInfo.OvenName].GetSingleCell(cellInfo.Index).SetStatus("hadCode"); |
| | | } |
| | |
| | | parent.SetOvenProduct(index, ""); |
| | | } |
| | | } |
| | | |
| | | public void ClearElectricData() |
| | | { |
| | | foreach (var cell in cells) |
| | | { |
| | | cell.ClearElectricData(); |
| | | } |
| | | } |
| | | } |
| | | } |