예제 #1
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);
        }
예제 #2
0
        internal void CompleteWork(Resource resource)
        {
            var ctx = new SessionContext(connection);

            CompleteWork((int)ctx.Untn, resource);
        }