Exemplo n.º 1
0
        //METHODS
        public void SetFields(ref SERVER_ID _ServerId)
        {
            FieldDescription = DataConverter.ToString(MvxSock.GetField(ref _ServerId, "FLDS"));

            FieldName = DataConverter.ToString(MvxSock.GetField(ref _ServerId, "FLNM"));

            FieldType = DataConverter.ToString(MvxSock.GetField(ref _ServerId, "TYPE"));

            InputOutput = DataConverter.ToString(MvxSock.GetField(ref _ServerId, "TRTP"));

            Length = DataConverter.ToString(MvxSock.GetField(ref _ServerId, "LENG"));

            ProgramName = DataConverter.ToString(MvxSock.GetField(ref _ServerId, "MINM"));

            TransactionName = DataConverter.ToString(MvxSock.GetField(ref _ServerId, "TRNM"));
        }
Exemplo n.º 2
0
 protected virtual String GetValueFromField(String fieldName)
 {
     return(MvxSock.GetField(ref serverId, fieldName));
 }