예제 #1
0
        public override async Task <KanbanModel> GetNewDataAsync()
        {
            MachineModel machine = await machineDataUtil.GetTestData();

            KanbanModel model = new KanbanModel
            {
                Instruction = new KanbanInstructionModel
                {
                    Steps = new List <KanbanStepModel>
                    {
                        new KanbanStepModel
                        {
                            Machine = new MachineModel
                            {
                                Id = machine.Id
                            },
                            MachineId      = machine.Id,
                            StepIndicators = new List <KanbanStepIndicatorModel>
                            {
                                new KanbanStepIndicatorModel()
                            }
                        }
                    }
                }
            };

            return(model);
        }
        public override async Task <KanbanModel> GetNewDataAsync()
        {
            MachineModel machine = await machineDataUtil.GetTestData();

            KanbanModel model = new KanbanModel
            {
                CartCartNumber = "11",
                Instruction    = new KanbanInstructionModel
                {
                    Steps = new List <KanbanStepModel>
                    {
                        new KanbanStepModel
                        {
                            Machine = new MachineModel
                            {
                                Id = machine.Id
                            },
                            MachineId      = machine.Id,
                            StepIndicators = new List <KanbanStepIndicatorModel>
                            {
                                new KanbanStepIndicatorModel()
                            },
                            ProcessArea = "area pre treatment"
                        },
                        new KanbanStepModel
                        {
                            Machine = new MachineModel
                            {
                                Id = machine.Id
                            },
                            MachineId      = machine.Id,
                            StepIndicators = new List <KanbanStepIndicatorModel>
                            {
                                new KanbanStepIndicatorModel()
                            },
                            ProcessArea = "area dyeing"
                        },
                        new KanbanStepModel
                        {
                            Machine = new MachineModel
                            {
                                Id = machine.Id
                            },
                            MachineId      = machine.Id,
                            StepIndicators = new List <KanbanStepIndicatorModel>
                            {
                                new KanbanStepIndicatorModel()
                            },
                            ProcessArea = "area printing"
                        },
                        new KanbanStepModel
                        {
                            Machine = new MachineModel
                            {
                                Id = machine.Id
                            },
                            MachineId      = machine.Id,
                            StepIndicators = new List <KanbanStepIndicatorModel>
                            {
                                new KanbanStepIndicatorModel()
                            },
                            ProcessArea = "area finishing"
                        },
                        new KanbanStepModel
                        {
                            Machine = new MachineModel
                            {
                                Id = machine.Id
                            },
                            MachineId      = machine.Id,
                            StepIndicators = new List <KanbanStepIndicatorModel>
                            {
                                new KanbanStepIndicatorModel()
                            },
                            ProcessArea = "area qc"
                        },
                    }
                }
            };

            return(model);
        }