public static LaneAttendance ToLocal(this SCWJob value)
        {
            if (null == value)
            {
                return(null);
            }

            var inst = new LaneAttendance();
            //value.networkId;
            Plaza plaza = null;

            if (value.plazaId.HasValue)
            {
                plaza = Plaza.GetPlazaBySCWPlazaId(value.plazaId.Value).Value();
            }
            if (null == plaza)
            {
                return(null);
            }

            inst.PlazaId = plaza.PlazaId;
            if (value.laneId.HasValue)
            {
                inst.LaneNo = value.laneId.Value;
            }
            inst.UserId = value.staffId;
            inst.JobId  = (value.jobNo.HasValue) ?
                          value.jobNo.Value.ToString() : string.Empty;
            inst.Begin = value.bojDateTime.Value();
            inst.End   = value.eojDateTime.Value();

            return(inst);
        }