コード例 #1
0
        internal void CompleteWork(int untn, Resource resource)
        {
            var principal = new Principal(connection, untn);
            var smen      = Smen.Current(connection);

            NewWork(principal, resource, 1, smen);
        }
コード例 #2
0
        private void NewWork(Principal principal, Resource resource, double ken, Smen smen)
        {
            //if (resource.GlobalId == null) throw new NotImplementedException();

            WorkPkg.InsertWork(connection, Id, null, null, principal.Untn, null, ken, resource.SprOborId, resource.GlobalId, smen.Date, smen.Num, principal.BrigadaId, null);
        }