Double-weight optical code division multiple access (OCDMA) systems are proposed for studying differentiated quality-of-service transmission. Based on quadratic congruence code (QCC), we construct a one-dimensional double-weight code family, which ca