示例#1
0
 internal override T getWriter <T>()
 {
     if (signalWriter == null)
     {
         signalWriter = SignalIoFactory.createSignalWriter(this);
     }
     return((T)(object)signalWriter);
 }
        Writer[] ICreateWriters.create(int numOfWriters, int msgLen, int msgNum)
        {
            Writer[] w = new Writer[numOfWriters];
            for (char i = 'A'; i < 'A' + numOfWriters; i++)
            {
                w[i - 'A'] = new SignalWriter("".PadLeft(msgLen, i), msgNum);
            }

            return(w);
        }