Ejemplo n.º 1
0
        public string LineOut()
        {
            string ret = "";

            ret  = utils.LEVEL3 + utils.STFLD + Sequence4.TABLEeffect;
            ret += utils.FIELDtype + utils.FIELDEQ + SeqEnums.EffectTypeName(this.EffectType).ToLower() + utils.ENDQT;
            ret += utils.FIELDstartCentisecond + utils.FIELDEQ + startCentisecond.ToString() + utils.ENDQT;
            ret += utils.FIELDendCentisecond + utils.FIELDEQ + myEndCentisecond.ToString() + utils.ENDQT;
            if (Intensity > utils.UNDEFINED)
            {
                ret += FIELDintensity + utils.FIELDEQ + Intensity.ToString() + utils.ENDQT;
            }
            if (startIntensity > utils.UNDEFINED)
            {
                ret += FIELDstartIntensity + utils.FIELDEQ + startIntensity.ToString() + utils.ENDQT;
                ret += FIELDendIntensity + utils.FIELDEQ + endIntensity.ToString() + utils.ENDQT;
            }
            ret += utils.ENDFLD;
            return(ret);
        }
Ejemplo n.º 2
0
        public override string ToString()
        {
            StringBuilder ret = new StringBuilder();

            ret.Append(SeqEnums.EffectTypeName(this.EffectTypeEX));
            ret.Append(" From ");
            ret.Append(startCentisecond);
            ret.Append(" to ");
            ret.Append(myEndCentisecond);
            if (Intensity > utils.UNDEFINED)
            {
                ret.Append(" at ");
                ret.Append(Intensity);
            }
            if (startIntensity > utils.UNDEFINED)
            {
                ret.Append(" at ");
                ret.Append(startIntensity);
            }
            return(ret.ToString());
        }
Ejemplo n.º 3
0
        public string LineOut()
        {
            StringBuilder ret = new StringBuilder();

            ret.Append(utils.StartTable(Sequence4.TABLEeffect, 3));

            ret.Append(utils.SetKey(utils.FIELDtype, SeqEnums.EffectTypeName(this.EffectType).ToLower()));
            ret.Append(utils.SetKey(utils.FIELDstartCentisecond, startCentisecond));
            ret.Append(utils.SetKey(utils.FIELDendCentisecond, myEndCentisecond));
            if (Intensity > utils.UNDEFINED)
            {
                ret.Append(utils.SetKey(FIELDintensity, Intensity));
            }
            if (startIntensity > utils.UNDEFINED)
            {
                ret.Append(utils.SetKey(FIELDstartIntensity, startIntensity));
                ret.Append(utils.SetKey(FIELDendIntensity, endIntensity));
            }
            ret.Append(utils.ENDFLD);
            return(ret.ToString());
        }