示例#1
0
 public void submitMachine(string machineName)
 {
     var machineDetail=new MachineDetail();
        machineDetail.name = machineName;
        machineDetail.Id = (++machineId).ToString();
        MachineDetails.Add(machineDetail);
 }
示例#2
0
        public void submitMachine(string machineName)
        {
            var machineDetail = new MachineDetail();

            machineDetail.name = machineName;
            machineDetail.Id   = (++machineId).ToString();
            MachineDetails.Add(machineDetail);
        }