How Can We Help?

← Wszystkie tematy
Jesteś tu:

Norma w procesach technologicznych – cecha skryptowa

Cecha pobiera pierwszą normę z procesu technologicznego.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Worm;
using Unicore.Manufacture.Business;
namespace FeatureScript {
	public class Script17272640348179631440  {
		public Decimal GetValue(object obj) {

			var Process = obj as Process;

			var norm = Process.Norms != null && Process.Norms.Any() ? Process.Norms.FirstOrDefault() : new Norm();
			return norm.ProcessHours;
		}
	}
}

 

Spis treści

© 2021 Unicore